Sign in to follow this  
Jitterz_J17

Beginner question. Please HELP

Recommended Posts

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

Share this post


Link to post
Share on other sites
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!

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this