Hello, first I would like to say hello and I am glad I found this community of programmers. I am pretty new to programming and have decided to get started in C and go to other languages from there. I currently have Visual Studio Team 2008 installed on my computer and have decided to use that as my IDE (I think that is what you call it). Im having a little trouble though.
Here is what I have done:
1. I changed my programming environment to Visual C++
2. I then started a new project/ General/ then empty project
3. Then it brings me up to a blank page where on the left side I see Header files, resource files and source files.
4. Then I right clicked the source folder and added a new item which was a C++ file.
5. Then I entered this sample code from the text book I am studding.
Now after saving the file as a .c extension I then run the program but I am getting errors:Code:#include <studio.h> main() { printf("This C stuff is easy!"); return 0; }
1>the best.c
1>c:\users\kyle\desktop\test\test 2\work\work\the best.c(1) : fatal error C1083: Cannot open include file: 'studio.h': No such file or directory
1>Build log was saved at "file://c:\Users\Kyle\Desktop\test\test 2\work\work\Debug\BuildLog.htm"
1>work - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Then if I say run the program even with the errors I get this error message:
Unable to start program 'C:\Users\Kyle\Desktop\test\test2\work\Debug\work. exe'. The system cannot find the file specified.
--------
Does anyone know what I am doing wrong here? Did I start up the process of making a C program wrong? Also, does anyone know where I can get a lot of information that talks about how to run Microsoft Visual Studio 2008 in general?
Thanks for the help,
Kyle