How to make win32 app on visual c++?

Hi.
I am not programmer, but i've learned something at university lessons.. we used Visual C++ express edition. so i can write simple programms..
Here is an example of such program style:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <conio.h>
#include <iostream>
#include <math.h>
using namespace std;
void main ()
{
float x;
cout <<"\n x=";
cin >>x;
if (x<-2)
cout << "\n z="<< 1/x;
else
if (-2<=x&&x<=2)
cout <<"\n z="<< cos(x);
else
cout <<"\n z="<< (2*x+4);
getch();
}


and how i do that: i chose new project , then something liek win 32 console app or CLR empty project and then i make right click on project and chose new item.. and then i type code and if i want to watch how it works, i press F5 or make debug.. thats all what i know.
now i want to make such programm like win 32 console as it seems if u run CMD command in windows.. i want such programm, which could run from another computers. i need to compile or what?

can u please describe for absolute beginner step by step, how from such working programm (using simple F5) to make a real programm that i can open without installations etc as a dos cmd window?
Ok, man, thanks. All is working fine.
I did the same way before, just didnt know to push build solution and then to look into project folder where .exe with that programm is placed. =)

Another question. How to make users-seen text to be in another language, not english? (still win32 console app)

Btw i have read many topics in google and seems its very hard to make working another languages in console based programm.. so i wanna know, is it possible / hard to make simple programm not like win32 console app, but just standart programm (without installation), that i could use my knowledges of console type lang?
Last edited on
no suggestion?
Topic archived. No new replies allowed.