Re: [Dev-C++] Missing something in my first attempt to use a header
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Axel B. <axe...@ya...> - 2007-12-04 17:07:24
|
In the hpp the line:=0A void Meow () {std::cout << "Meow.\n"; // inli=
ne=0Aneeds '};' on the end of line=0A void Meow () {std::cout << "Meo=
w.\n";}; // inline=0A=0AAdditional Dev-C++ give me errors on those lines:=
=0A cout << "Frisky is a cat who is ";=0A cout << Frisky.GetAge() << =
" years old.\n";=0A cout << "Now Frisky is "=0A=0Ayou need to put std::c=
out not cout (i just resolve the error this way ^_^ )=0A std::cout << "F=
risky is a cat who is ";=0A=0A std::cout << Frisky.GetAge() << " years o=
ld.\n";=0A=0A std::cout << "Now Frisky is "=0A=0ABest regards with C++.=
=0ABye.=0A=0A=0A=0A=0A Los referentes m=C3=A1s importantes en compra/ =
venta de autos se juntaron:=0ADemotores y Yahoo!=0AAhora comprar o vender t=
u auto es m=C3=A1s f=C3=A1cil. Vist=C3=A1 ar.autos.yahoo.com/ |