need someone that knows how to make simple programs on Microsoft Visual Studio 2005

Posts 15 of 5 · Page 1 of 1
need someone that knows how to make simple programs on Microsoft Visual Studio 2005
This is with C++, every time I try to run my program everything seems to work fine but then I get a build error. I'm just trying to make a program that when I run it, it opens up console and says "Hello" or something like that, simple stuff but I don't know what I could be doing wrong. My build is below. Quick reminder: I use Microsoft Visual Studio 2005 and my whole build is colored right, everything is spaced accordingly even though it doesn't look like it here.

/*MPGH Member
September 2nd*/

#include<iostream>
#include<con.oh>

using namespace std;

int main ()

{

cout<<"Hello World" //single line comment
_getch();
return 0;

}
The best source for this would probably be youtube.
no google. Youtube is full of bs

btw [php]<con.oh>[/php] doesn't exist.

did you mean [php]<conio.h>[/php]?
[php]
#include <iostream>
using namespace std;

int main()
{
cout << "Hello world\n";
cin.get();
return 0;
}[/php]
Yeah I found out my conio.h was wrong. But that was a long time ago, I just made a program where it shows a guy firing an arrow across the console screen and in the process of making a Monopoly game program with beast animations.
Posts 15 of 5 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?