   Starting Visual Studio C++ 2005
  I just got Visual Studio 2005 and wanted to jump right in. So how do I set up a simple program? Im not totally new to programming im just totally new to Visual C++. I started a new Empty Win32 Console Application and wrote a "Hello World" program but i get an error stating it cant find iostream?   
  How are you including your headers? Try changing it from #include <iostream.h> to simply #include <iostream>, along with adding using namespace std;.   ;  If you're talking about VS2005 Express Edition, you need to download and install the Platform SDK as well.   ;  Ive tried those and I still get these errors:1>------ Build started: Project: Hello, Configuration: Debug Win32 ------1>Compiling...1>Hello.cpp1>c:\documents and settings\the ninja\my documents\visual studio 2005\projects\hello\hello\hello.cpp(1) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory1>hello2.cpp1>c:\documents and settings\the ninja\my documents\visual studio 2005\projects\hello\hello\hello2.cpp(1) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory1>Generating Code...1>Build log was saved at "file://c:\Documents and Settings\The Ninja\My Documents\Visual Studio 2005\Projects\Hello\Hello\Debug\BuildLog.htm"1>Hello - 2 error(s), 0 warning(s)========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========;Quote:Original post by DevLiquidKnightHow are you including your headers? Try changing it from #include <iostream.h> to simply #include <iostream>, along with adding using namespace std;.It came with Microsoft .Net Framework SDK v2.0. Is that what youre talking about? Where am I supposed to write my code? I wrote it in the Header folder and in the source folder but they both come up with the same error. What is supposed to be in each folder? There is "Header Files", "Resource Files", and "Source Files".   ;  You can put them in any folder, just they supply header files, source files, and resource files folders to help you organize your project. What I mean is does your application look like the following:// main.cpp#include <iostream>using namespace std;int main(){ cout << "Hello world!" << endl; return 0;};Quote:Original post by DevLiquidKnightYou can put them in any folder, just they supply header files, source files, and resource files folders to help you organize your project. What I mean is does your application look like the following:*** Source Snippet Removed ***Yup, and it still gives me the error that say there is no such directory for iostream? Im out of ideas?   ;  As Driv3MeFar said, it sounds like you haven't downloaded and installed the Microsoft Platform SDK. If you go back to the page in which you downloaded C++ 2005 Exp, it has a link on that same page along with instructions for downloading and installing it. The .NET Framework isn't the same SDK, and the Platform SDK is definitely required for 2005 Express...*Edit*  My bad, I misread and thought you just got the C++ 2005 Express. In any case, whether the same page you were on, or go to the C++ 2005 Express download page directly, you're sure to find the link and instructions.   