I'll post the .exe to abse, just to show you what it looks like.
About how big is the source code?
But true Windows apps are still a huge pita; you spend more time on
the interface than on getting things done. I like the old DOS version
of PowerBasic, v 3.5, for engineering apps. The entire "Hello World"
program is...
Print "Hello, world!"
which compiles to a 14k exe. It's a true compiler, runs usefull FOR
loops at 20 MHz on by piece-o-crap Dell.
John
In C, a console program created with the Bloodshed IDE, this is a
Hello world:
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[])
{
printf("Hello, world\n");
system("PAUSE");
return 0;
}
The one printf line is the only part I typed, the rest appeared when I
opened a new project. The exe is 16K.
BTW, I've recently found a good book for people like me who are EEs,
but have to manage or implement smallish high-quality software
projects:
_The Pragmatic Programmer_ by Hunt and Thomas (39.99 US)
Lots of good tips from the trenches on testing and test harness
strategies, modern methods ("methodologies") such as DBC, the use of
CVS systems etc. A good read-- you'll probably find you were already
doing 1/3 of the things they suggest such as source code generation
programs, 1/3 are not applicable, and 1/3 are useful and can be added
to the repertoire at the appropriate time. They go into their
philosophy in the justifications so you can mold their approach to
your language and your situation if you agree with them. It doesn't
try to teach you to program, their aim is more to show you how to
program better.
Best regards,
Spehro Pefhany