ohhhh....
to make a short story even shorter, i think that you can't do an output or input statement without one of their header files unless you defined every aspect of the output and input statement in your program.
and i know I'm not advanced enough to do that, it'd take about 3-4 pages of...
now, don't quote me on theis because i'm new to c++ as well, and my system seems to be different than everyone else's (as in i hae a header <lvp\string.h> and it seems no one else does) but i'll take a stab at it...
as far as i can tell, you need to have a header file for the program that you...
what you do is...
if (something is true || something else is true){
do something else;
if you do it this way;
you can have lots of lines of code in here;
}
the || is the "or"
the && is "and"
of course, your < and > are standard, but then you have the
!= as...
the library #include<conio.h> has the function clrscr() which is supposed to clear the screen.
also helpful, in the same library, is the clreol() function, which clears the line, starting at the current cursor position.
i don't have acess to the <conio.h> library, and when my compiler deems me...
heyyy...
i thought that system("CLS") took a header file...
#include<stdlib.h>
may just be my compiler that deems it necessary, but hey, thought that i'd jump in
~Thani
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.