Creating a C++ Program

Status
Not open for further replies.

Deathshead

New Member
hey guys im new to using microsoft visual c++ and i am about to create my first c++ program but i need help using the software. Im just creating a simple text program that reads " hello, my name is ....". My question is what options should i choose when creating a new document. When i go to file > new , a window with 4 tabs pops up (files, programs, workspaces, and other documents) since im new , im not quite sure as to what the different file options do.

thnx in advance
 
visual c++

what you'll have to do is first create a project, then create a .cpp file, add that file to the project you just created. write your program in the .cpp file, then build and compile. hope this helps.
 
If you want to create a dos program, goto "win32 console application"

You can create a "hello world app" or a "simple app"

if you want some code try this:

---main.cpp---
#include <stdio.h>
#include <conio.h>

void main() {
printf("Yo mama sez press da spacebar...");
getch();
return;
}
 
VC++ new

hi,
Emm u should go to file menu->new
then from list of programm select mfc program(or it was something like that)
and choos a name for it.
then u should choose doilog base programm and accept the other arrangment.
now u have a diolog box with 2 botton and a static box.
u can go on by creating a botton and writte ur codes on it.
i'll so happy to help u more if u need more help.
 

Another way to do it in C++

Code:
#include <iostream>

using namespace std;

int main ()
{

           cout <<"Hey, what's this?";
          return 0;
}
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…