Beginner question. Please HELP

Started by
3 comments, last by Jitterz_J17 15 years, 6 months ago
Hi, im very new to programming so please have patience. im using visual c++ express and i want to create a simple "hello world" application. What should i do to create this project? NOT the coding itself, but what kind of project to open? Because when i hit the play button it asks me to debug and its out of date. and when i tell it to it cant find it. so essentially i cant run my simple noob program. Please Help!!! thanx
Advertisement
my code is as follows in a class library project:

#include <iostream>
int main()
{
using namespace std;
cout << "Blah";
cout << endl;
cout <<"shush" << endl;
return 0;
}



//please help quickly i cant run it It says project out of date and regsvr32.exe has problem!
Visual C++ Tutorial

Is this what you're looking for?

You want a C++ Console Application from the Win32 group. Class Libary is in the CLR group.

You want to go all the way through the wizard, pressing Next, and make sure "Empty Project" is selected, then when you start, add a main.cpp or whatever to the Source folder in your project explorer.

If you don't want to work with UNICODE, you want to turn off UNICODE in the project settings, or you may still get lots of weird errors. Project->Properties->General->Character Set, change to Not Set.

HTH

[EDIT] Stelimar - that tutorial is for VC6. Express is 2005 or higher.
ok guys, thanx very much!!

This topic is closed to new replies.

Advertisement