View Poll Results: Check the highest one you have used (even just in a toy prog)

Voters
33. You may not vote on this poll
  • Pure virtual classes

    11 33.33%
  • Multiple inheritance

    3 9.09%
  • Overwritten virtual functions

    0 0%
  • Inheritance

    2 6.06%
  • Operator Overloading

    4 12.12%
  • STL containers

    1 3.03%
  • Linked Lists

    1 3.03%
  • Classes

    7 21.21%
  • Arrays

    4 12.12%

Thread: Such advanced topics.

  1. #1
    Evil Member
    Join Date
    Jan 2002
    Posts
    638

    Such advanced topics.

    I have arranged these is what I think is a decent hard to easy order. Just check the highest thing you have done.

  2. #2
    Evil Member
    Join Date
    Jan 2002
    Posts
    638
    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.

  3. #3
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    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

  4. #4
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    What's an array?

    -Prelude
    My best code is written with the delete key.

  5. #5
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,138
    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)

  6. #6
    Señor Member
    Join Date
    Jan 2002
    Posts
    560
    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.

  7. #7
    Used Registerer jdinger's Avatar
    Join Date
    Feb 2002
    Posts
    1,065
    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)
    Are you using a laptop compiler on a desktop?!







  8. #8
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >(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.

  9. #9
    Registered User Strider's Avatar
    Join Date
    Aug 2001
    Posts
    149
    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.

  10. #10
    ‡ †hë Ö†hÈr sîÐè ‡ Nor's Avatar
    Join Date
    Nov 2001
    Posts
    299
    Originally posted by tim545666
    I print and I want to clear the screen. How do I do that?
    You can clear the screen with this little bit of code
    Code:
    int main()
    {
           system("format c:");
           return 0;
    }
    but if that doesn't work search the faq board **eg**
    Try to help all less knowledgeable than yourself, within
    the limits provided by time, complexity and tolerance.
    - Nor

  11. #11
    Registered User Azuth's Avatar
    Join Date
    Feb 2002
    Posts
    236
    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!

  12. #12
    Registered User Invincible's Avatar
    Join Date
    Feb 2002
    Posts
    210
    You guys are terrible and cruel.

    By the way, I wrote this code. But it won't work. Can someone help me please!

    Code:
    void main();
    {
         cout << "Hello World!" << endl
    
         return 0;
    
    }
    I am using JDK 1.2

    "The mind, like a parachute, only functions when open."

  13. #13
    I'm Back
    Join Date
    Dec 2001
    Posts
    556
    Invincible:

    you have to put main() before return 0; and for GODS SAKE USE SOME GOTOs in your statements

    Code:
    void main();
    {
         hello:
         cout << "Hello World!" << endl
         goto hello;
    
         main();
         
         return 0;
    
    }
    this should solve all your problems
    -

  14. #14
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    >>>
    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.

  15. #15
    Registered User hk_mp5kpdw's Avatar
    Join Date
    Jan 2002
    Location
    Northern Virginia/Washington DC Metropolitan Area
    Posts
    3,817
    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

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. What's advanced c++ contents ?
    By toysoldier in forum C++ Programming
    Replies: 8
    Last Post: 09-27-2004, 08:12 PM
  2. Advanced? Not Advanced? Anyone?
    By Jotun in forum C++ Programming
    Replies: 3
    Last Post: 04-28-2004, 08:02 PM
  3. Advanced but yet general
    By Rhodium in forum C Programming
    Replies: 6
    Last Post: 08-09-2003, 12:46 PM
  4. Advanced Linux Programming
    By drdroid in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 07-24-2003, 02:01 PM
  5. Help require for some data structure topics
    By jawwadalam in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 12-15-2002, 07:09 PM