Advice for begginer
  #1 (permalink)  
Old 10-30-2008, 05:58 PM
unix7777 unix7777 is offline
Junior Member
 
Join Date: Oct 2008
Location: Bulgaria
Posts: 1
Default Advice for begginer

Hello,

I started studying C++ a month ago in the university.
As you can imagine we do only console apps.
I tried to port some simple C++ programs to GUI program, but unsuccessful.
I saw some video in youtube where a man shows how to make s simple beep button.
Could you somebody explain, how to make for example GUI for this:

# include <iostream>
using namespace std;

int main ()
{

int current_year=2008;
int b;
int c;

cout << "*********DAYS COUNTER********" << endl;
cout << "Vavedete godinata na rajdane:" << endl;
cin >> b;

if (b<1900)
cout <<"Vavedete godina sled 1900" << endl;

else
cout << "Vavedete sumata:" << endl;
cin >> c;
cout << "Resultata e:" << endl;
cout << (current_year-b )*c << "$"<< endl;
system("pause");
return 0;
}
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump



All times are GMT. The time now is 08:16 PM.


vBulletin skin developed by: eXtremepixels
Powered by vBulletin® Version 3.8.0 Beta 1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27