cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
New here!
New here!
Nov 22, 2012 at 6:43pm UTC
Joalyimo
(3)
I am new in this forum and I would beg your help and cooperation in general. I'm happy knowing that I'm going to share the knowledge I'm having in this field.
Wow!
#include<iostream.h>
void main()
{
clrscr();
cout<<"mwaaaaaaaaaaaaaaaaaaah!!";
getch();
}
Nov 22, 2012 at 8:05pm UTC
Ramses12
(120)
It's iostream not iostream.h and you need to either add a using namespace std; line or use std::cout for that to compile. :]
Welcome!
Nov 22, 2012 at 8:17pm UTC
Moschops
(7244)
clrscr();
and
getch();
aren't standard and won't work on many systems.
void
main()
In C++,
main
returns an int.
Topic archived. No new replies allowed.