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;
} |