New Programmer's Question

Status
Not open for further replies.
I mistakenly posted this in the Software section earlier


Hello everyone. I'm new here. I'm also new at programming. I'm a student majoring in economics but am fascinated with cs. I'm going to take some CS classes in the fall but wanted to get a head start. Anyway, I attended the Microsoft event that gived away VS .Net free and I started reading "Learning C++ in 21 Days" yesterday. Already, I'm stuck cause I have no idea how to compile in VS .NET. The source file is the simple "Hello World" code. Anyone know how to compile this source files? I also have Codewarrior, but when I open the source file, "compile" in the project menu isn't choosable. Can you guys tell me what I'm doing wrong? Thanks
 

Plasdom

Ars Tribunus Angusticlavius
6,704
I went ahead and posted a "meaningful" reply in your original post. But since you posted it here I will just copy and paste the relevant part
Which version of codewarrior are you using? If you create a text file and type in the code, you will not be able to compile. It has to be a part of a "project".

Try this
File->New
A window with various choices comes up. Create/select a folder where you want the files to be using Project name, location which are on the right side of the window. Select "win32++ Stationary" from the menu. click Ok. Another menu/popup window comes up.
Click the '+' sign before "Win32 console app". Select "C++ console app" and click ok. A "Project" named the_name_you_gave_it.mcp is created. Look for "hello.cpp" in the source file. That is where you "hello world" program will be. It is generated for you. You can now compile. Play around with it as you please.

I am really tired right now and too lazy to go through the post. If there are any problems let us know.
 
Status
Not open for further replies.