I have arranged these is what I think is a decent hard to easy order. Just check the highest thing you have done.
Printable View
I have arranged these is what I think is a decent hard to easy order. Just check the highest thing you have done.
Note that I have tried to limit this to language constructs, with the possible exception of STL. API programming, while advanced in it's own right, is not a part of the language.
Gotta love abstract base classes ;)
What's an array? :p
-Prelude
I made a program once. But, it wouldn't print and the screen closed. I think I might need a new compiler.:p :D
(Beat that Prelude):D
I print and I want to clear the screen. How do I do that? Heres my code with no code tags:
#include<iostream.h>
void main()
{
int x=1;
print:
cout <<"lalala I'm a freakin idiot!!!";
x=x+1;
if(x=1){
goto print;
}
}
And my program doesn't run right. What am I doing wrong?
Are you using a laptop compiler on a desktop?!Quote:
Originally posted by golfinguy4
I made a program once. But, it wouldn't print and the screen closed. I think I might need a new compiler.:p :D
(Beat that Prelude):D
:D
>(Beat that Prelude)
I wrote a program too, but I don't know what a compiler is or a programming language and this wouldn't do anything.
START
MAKE <COOL GUI>
DO <COMPUTER TYPE STUFF>
STOP
And that program was going to make me my first million too. :(
-Prelude
I love multiple inheritance. Nothing beats having two or more relatives die off and leave you with a load of cash. :)
David
You can clear the screen with this little bit of codeQuote:
Originally posted by tim545666
I print and I want to clear the screen. How do I do that?
but if that doesn't work search the faq board **eg**Code:int main()
{
system("format c:");
return 0;
}
My boss used to program in C++, I know because he believes without question that overloading will not inhibit normal operation.:p
<Insert true story>
I once had a discussion with a woman who told me she had written an educational program for school kids. She was telling me how good it was, what it would do, how much money she was going to make from it. I asked her what language she had used to write it. Her reply was "Oh, I haven't actually written the computer code stuff, but I've drawn out on paper what it will do".
Why wait guys, write a spec, forget the code, earn a Million!
You guys are terrible and cruel.
By the way, I wrote this code. But it won't work. Can someone help me please!
I am using JDK 1.2Code:void main();
{
cout << "Hello World!" << endl
return 0;
}
:p
Invincible:
you have to put main() before return 0; and for GODS SAKE USE SOME GOTOs in your statements
this should solve all your problemsCode:void main();
{
hello:
cout << "Hello World!" << endl
goto hello;
main();
return 0;
}
>>>
I wrote a program too, but I don't know what a compiler is or a programming language and this wouldn't do anything.
<<<
Hey, I had the same problem so I decided to write my own OS. I'm trying to work out if it should run under Windows or Linux at the moment.
In my OS, the sceen will clear itself!
I clear my computer's screen by turning it upside down and shaking it robustly for a few seconds.