Compiling C using Visual C++ 2005 Express Edition

Hi folks,

I've just downloaded Visual C++ Express for use with my college work and have a few quick questions.

1) How do I compile C programs using C++ Express

[ I did create a project and compiled it using F5 and the Win32 console flashed up quickly but then dissapeared, all I`m trying to do is ouput a simple hello_world script onto the screen ].

2) Do I have to compile a project, can I not just create a single .C file to output data

Thanks.




Answer this question

Compiling C using Visual C++ 2005 Express Edition

  • telugodu

    TheJCMan wrote:

    Hi folks,

    I've just downloaded Visual C++ Express for use with my college work and have a few quick questions.

    1) How do I compile C programs using C++ Express

    [ I did create a project and compiled it using F5 and the Win32 console flashed up quickly but then dissapeared, all I`m trying to do is ouput a simple hello_world script onto the screen ].

    2) Do I have to compile a project, can I not just create a single .C file to output data

    Thanks.

    1. Try Ctrl-F5

    2. I haven't used the Express editions, but by default, I'd assume that if the file extension is C, it compiles it as a C source file



  • NiklasL

    1. Ctrl+F5 did the trick !

    2. I had to save the .C file as a .CPP file, then rename it but when used in conjunction with Ctrl+F5, it had the same result as my project.

    Cheers !



  • Compiling C using Visual C++ 2005 Express Edition