BlackZer0

I've never done any programming of any kind before but I've always wanted to get into game developement. I went out to Borders and picked up a couple game programming books but they expect me to have had previous experience with C++. I searched and eventually found Kernighan and Richie's The C Programming Language expecting some help. Well I went ahead andtried doing the "hello world" program by putting the following code into C++ express:

#include <stdio.h>

main()

{

printf("hello, world\n");

}

After putting this in and saving it in a .c file I'm supposed to (according to the book) compile it. I don't how to compile, could anyone please help



Re: Visual C++ Express Edition Please help me get started

Jonathan Caves - MSFT

I am sorry but after what seems like an almost endless stream of posts with a similar content I feel I have to speak up:

This is like someone saying I have never flown an airplane in my life ... I think I'll try to fly across the Pacific tomorrow.

Game programming is in incredibly hard ... for the best games it is always at the very limits of what the hardware and software can support: before you tackle games programming you really need to understand, deeply, the basics of C, C++, GUI, graphics, math, physics, etc., etc., ...

Learn C++ ... then when you think there is nothing left to learn ... you might, just might, be ready to tackle games programming.

As to your specific question above ... you need to create a project (I'd suggest a Win32 Console Application or an Empty Application) you then need to add your source code to this project.






Re: Visual C++ Express Edition Please help me get started

BlackZer0

Thank you for your help. I do realize that game programming takes more than simply a few tutorials, but being only a junior in high school I want to get a leg up before I go off into college or some other computing/programming class my middle-of-nowhere school refuses to offer.



Re: Visual C++ Express Edition Please help me get started

Jonathan Caves - MSFT

This is a great book - Accelerated C++ - maybe not as exciting as writing a game but it will, quickly, get you up to speed on the basics of modern C++.