Thx guys ! i appreciate :D
Type: Posts; User: TheDarKinG
Thx guys ! i appreciate :D
no sorry , i mean the user enter his age , then press enter , then nothing happen and the user needs to press enter again , the answer come up and the prog qui . but i want that the answer come up...
#include <iostream.h>
#include <conio.h>
void main()
{
int age;
cout << "Please enter your age here -> ";
cin >> age;
if (age > 100)
{
ok so only iostream got that special fct.
thx m8
#include <iostream>
#include <conio.h>
int main()
{
int number;
std::cout << "Please enter a number:";
std::cin >> number;
std::cout << "You entered: " << number << endl;
...
Ok thx to all of u :D
OMG Dev-C++ really !!! ( note : REALLLY ) suck i tested EACH codes and they all point me to the same error !! ill try another compiler for sure ..
file://localhost/C:/Documents and Settings/TheDarKinG/Desktop/Teachc/htm/ch02.htm#Heading12
:D
second day HELP.CPP and FUNC.CPP
but i think its DEV-C++ the prob
I ALWAYS got that stupid error .. :mad:
c:\docume~1\thedar~1\desktop\c__~1\hellow~1\hellow~1.cpp: In function `int main()':
c:\docume~1\thedar~1\desktop\c__~1\hellow~1\hellow~1.cpp:7: implicit...
Than its probably Dev-C++ that sux , :eek:
cause once again with that code i have the same error !!
what compiler would u suggest except borland and MS stuff ?
How about this ..
#include <iostream.h>
#include <conio.h>
void main()
{
clrscr();
ok heres what i wrote ( Dev-C++ )
#include <iostream.h>
#include <conio.h>
int main()
{
cout << "Hello World!\n";
return 0;
getch();
Hello ppl im new here , the subject say it all
im beginning learning C++ and i just dont understand why does all the books and tuts dont mention the Pause thingy cause when u compile a prog it...