[Dev-C++] new comer to the world of Dev-C++
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: hmbayati <hmb...@sb...> - 2003-12-02 04:05:38
|
Hi everyone,
I am a new comer to the world of the Dev-C++ and C++ in general. I am
trying to understand the GUI but I am not successful. I compiled and run
a very simple program like
#include <iostream.h>
void square()
{
cout << "hello, you are now in hadi's program.\n";
int num;
cout << "enter a number and I will give you its square.\n";
cin >> num;
cout << "the square of " <<num<<" is : "<<num * num << endl;
return;
}
I get a warning but when I run it I do not get any results. Could
someone tell me what I am doing wrong?
I am on XP home edition and I set the project for WIN 32 console.
Thanks for your help,
HB
|