Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006


LINUX problems in the C + + Compiler

Brother is a novice, may I ask prawn, in Linux to document how the C + + compiler executable files ah?

Thank you, go up in smoke.

Programming -o temperature temp.cpp
Programming temp.cpp -o temperature

Thank you liuke432
Look at the following advice to help further trouble. How closed following warnings ah.

[root@dataserver /]# Linux -o 3 3.cpp
In file included from /usr/include/c++/3.2.2/backward/iostream.h:31.
From 3.cpp:1 :
This #warning /usr/include/c++/3.2.2/backward/backward_warning.h:32:2 : warning :
File includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C + + standard. Examples
Include substituting the "extraordinary header for the" Xh> header for C + + includes, or "sstream> instead of the deprecated header" strstream.h>. To disable this warning
-Wno-deprecated Use.

This may try yes. H problems
//temp.cpp
#include "Iostream>
Int main ()
{
Using namespace std;
Cout<< "Hello word!";
Return 0
}

Using namespace std; ask is, what does this mean to tell me?

Thank you bath

Using namespace Std room is named
If the sentence removed, the front will increase when applying cout Std : : cout

Was such ah,
This is not like the Windows platform?

Thank you!

Have any platform
Std C + + standard is the result of a unique name space

Understand Thank you bath



 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com