Something is wrong with it.....
It gives me the following error:
c:\c__~1\island.cpp: In function `int main()':
c:\c__~1\island.cpp:31: `yes' undeclared (first use this function)...
Type: Posts; User: Moron Slayer
Something is wrong with it.....
It gives me the following error:
c:\c__~1\island.cpp: In function `int main()':
c:\c__~1\island.cpp:31: `yes' undeclared (first use this function)...
thanks...it helped...
1) I changed my compiler to Dev C++ 4 from 4.something
2) I fixed the
cout<<"1. "slot1 <<endl;
cout<<"2. "slot2 <<endl;
cout<<"3. "slot3 <<endl;
cout<<"4. "slot4...
WinXP Pro, Dev-C++
none of them work :(
\n or <endl doesn't work......here's 2 test programs in which it doesn't work, but for others, it does....why?
#include <iostream.h>
int main()
{
int slot1
int slot2
int slot3
int...
I just started C++ today.....but what I wanted to know is how to make new lines after cout<<. The only time it makes new lines is after 'cin>>'.
In other words.....what is the code for making new...