![]() |
![]() |
![]() |
|
|
|||||||
| General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion? |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
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 |
|
|
|
|
|
|
(permalink) |
|
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.
__________________
Thanks, Shah |
|
|
|
|
|
|
(permalink) |
|
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; } |
|
|
|
|
|
|
(permalink) |
|
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.
__________________
Upper than heaven sina |
|
|
|
|
|
|
(permalink) | |
|
Quote:
Code:
#include <iostream>
using namespace std;
int main ()
{
cout <<"Hey, what's this?";
return 0;
}
|
||
|
|
|