I have arranged these is what I think is a decent hard to easy order. Just check the highest thing you have done.
Pure virtual classes
Multiple inheritance
Overwritten virtual functions
Inheritance
Operator Overloading
STL containers
Linked Lists
Classes
Arrays
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
"...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers
What's an array?
-Prelude
My best code is written with the delete key.
I made a program once. But, it wouldn't print and the screen closed. I think I might need a new compiler.
(Beat that Prelude)
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?
Last edited by tim545666; 04-09-2002 at 07:47 PM.
Are you using a laptop compiler on a desktop?!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.
(Beat that Prelude)
>(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
My best code is written with the delete key.
I love multiple inheritance. Nothing beats having two or more relatives die off and leave you with a load of cash.
David
One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them
In the Land of Mordor where the Shadows lie.
You can clear the screen with this little bit of codeOriginally 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; }
Try to help all less knowledgeable than yourself, within
the limits provided by time, complexity and tolerance.
- Nor
My boss used to program in C++, I know because he believes without question that overloading will not inhibit normal operation.
<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; }
"The mind, like a parachute, only functions when open."
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!
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.
I clear my computer's screen by turning it upside down and shaking it robustly for a few seconds.
"Owners of dogs will have noticed that, if you provide them with food and water and shelter and affection, they will think you are god. Whereas owners of cats are compelled to realize that, if you provide them with food and water and shelter and affection, they draw the conclusion that they are gods."
-Christopher Hitchens