Re: [Dev-C++] new comer to the world of Dev-C++
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: P.T. W. M. <pt...@ea...> - 2003-12-02 05:12:49
|
Hi,
Use:
#include <iostream>
The ".h" stuff is out of date.
Patrick
At 20:05 01-12-03, hmbayati wrote:
>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
|