d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > [C++] Pong Project > Ascii Art Game
Prev1789
Add Reply New Topic New Poll
Member
Posts: 6,953
Joined: Sep 27 2003
Gold: 518.50
Oct 5 2009 02:53pm
Quote (Muted @ Mon, Oct 5 2009, 03:41pm)
You made me feel as if I wrote the entire program wrong...
All I really did was not organize it, which I've always had a problem catageorizing stuff.

My bad. But there are a million little things that you can do to speed up the build, like removing header references to windows.h. By moving this huge header to .cpp files, it will only have to be included when necessary, which will speed up building. Or you could move the include to stdafx.h and turn on precompiled headers, but this is Windows-centric.
Member
Posts: 31,680
Joined: Nov 10 2007
Gold: 1.00
Oct 5 2009 03:08pm
stdafx.h is apart of MSVC, which I don't use.

I don't really care about the compiliation speed: 4 seconds is 4 seconds.
When it's a 40 second wait, that's when it bothers me.
Member
Posts: 2,621
Joined: Apr 28 2008
Gold: 453.00
Oct 6 2009 06:55am
yap
Go Back To Programming & Development Topic List
Prev1789
Add Reply New Topic New Poll