I am trying to teach myself C Programming. I need to know how to execute an application in Visual Studio 2008. I can't find a way to do this!!! It is only the first example aswell which is to simply print out hello
I am trying to teach myself C Programming. I need to know how to execute an application in Visual Studio 2008. I can't find a way to do this!!! It is only the first example aswell which is to simply print out hello
Well in VS2005 you press F5 to run with debug, or CTRL + F5 to run without it.
The option is greyed out in the menu. Don't know if it's down to the type of file i opened, i opened up a text file in the C++ development IDE and then saved it as a .c file.
Last edited by rory-uk; 02-04-2008 at 01:51 PM.
Getting build errors with attempting to do the above. In fact I'm not sure if this version of Visual Studio will allow me to create a C Program. Can anyone give me a link to an IDE for C Programming which I can download for free that works on 64 Bit Home Premium Vista?
1>------ Build started: Project: Test3, Configuration: Debug Win32 ------
1>Compiling manifest to resources...
1>Project : error PRJ0003 : Error spawning 'rc.exe'.
1>Build log was saved at "file://c:\Users\Rory\Documents\Visual Studio 2008\Projects\Test3\Test3\Debug\BuildLog.htm"
1>Test3 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
The original file that gets created is a .cpp file, which is a C++ extension and the other file I created is a .c Isn't this not going to work
Does Visual Studio Express come with a recourse compiler (rc.exe)?
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
reverse-compiler??? It's not Visual Studio Express, it's a trial version of Visual Studio 2008 Pro. Like I said earlier could anyone give me a link to a C programming IDE environment that I could download
What's a .rc? I am simply creating a basic hello program. Below is the code:
Code:#include <stdio.h> main() { printf("Hello"); }
Main should return int.
Obviously it's expecting to run the resource compiler... Hmmm. So you've created a new project? You are sure rc.exe exists? You're sure you have sufficient security privileges to run (create data)?
Because it works fine if I create a new project and compile it.
How did you create the project? Was it a Win32 console application?