Computer Science Canada

is anyone else having problems with vc++ 2008 express?

Author:  wallc++ [ Thu Apr 09, 2009 8:16 am ]
Post subject:  is anyone else having problems with vc++ 2008 express?

im very new to c++ and im completly confused with vc++ 2008 express. im using a beggeners guide that is provided by microsoft as an e-book. every time i go to do one of the programs it doesnt compile i make sure the code is perfect but it still doesnt work. the only time i havent had a problem is when i use the game templates for dark GDK but i cant really get into that if i dont know c++ and well i cant learn it as well as i would like to without vc++ 2008 express.

im new at this so im open to just about anything as long as it helps me learn c++!

thanks for the help

Author:  DemonWasp [ Thu Apr 09, 2009 9:50 am ]
Post subject:  RE:is anyone else having problems with vc++ 2008 express?

First, you should probably be learning the language itself before diving into an IDE. IDEs can simplify a lot of complexity, but they can also add complexity to simple tasks. Instead, you should be editing the file with gvim or Notepad++, then compiling at the command-line with g++ or any other compiler.

Failing that, try this simplest-possible program to see if you can get it to compile. This is a simple C file; you can compile it as C or C++ and it should work fine. It won't do anything, but should compile and run easily.

code:

int main ( int argc, char ** argv ) {
    return 0;
}


: