Re: [Dev-C++] cpp freshman trying to write program
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Per W. <pw...@ia...> - 2004-06-19 23:17:27
|
Sorry, but we need more information about what you are trying to
accomplish. Just adding three numbers ins't so much of a problem :)
#include <iostream>
using std::cout;
int main() {
int a =3D 10;
int b =3D 20;
int c =3D 30;
cout << "The sum is: " << a+b+c << "\n";
return 0;
}
On Sat, 19 Jun 2004, PETER CAMPOS wrote:
> trying to do simple numerical operators....+ - / *
> want to add three numbers
> been at this all day and i can't figure it out..
>
> help me out please
> peter--nyc
>
> _________________________________________________________________
> Get fast, reliable Internet access with MSN 9 Dial-up =96 now 3 months FR=
EE!
> http://join.msn.click-url.com/go/onm00200361ave/direct/01/
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
> Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
> Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
> REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|