Just a quick test of your knowledge

This is a discussion on Just a quick test of your knowledge within the C++ Programming forums, part of the General Programming Boards category; Try this source file and see if you can find the problem. (To decrypt just reverse the file names)...

  1. #1
    Registered User
    Join Date
    Nov 2002
    Posts
    87

    Talking Just a quick test of your knowledge

    Try this source file and see if you can find the problem. (To decrypt just reverse the file names)
    Attached Files Attached Files
    **********************
    *==================*
    * Many Can. One Must... *
    *==================*
    **********************

  2. #2
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    Maybe you should try describing your problem....
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  3. #3
    Registered User
    Join Date
    Nov 2002
    Posts
    87
    I know what's wrong with it. Try compiling it as it is, try and make it run, then work out where the prob is. My teacher is going through it with the rest of the class as I am the only one to understand the error and the program.
    **********************
    *==================*
    * Many Can. One Must... *
    *==================*
    **********************

  4. #4
    RoD
    RoD is offline
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    i thought c++ was developed to produce better working apps???

    :P

  5. #5
    Registered User
    Join Date
    Sep 2002
    Posts
    1,640
    I bassicly suck at reading and using other people's code, ussualy
    because i program different then they, use different functions,
    different layout, etc.

  6. #6
    RoD
    RoD is offline
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    Everyone has a different thought process, and picking up on anothers thought is a pain in the arse.

  7. #7
    Registered User
    Join Date
    Sep 2002
    Posts
    1,640
    What's with the sudden flood of beginners?
    I can barely get out of 'C++ Programming' or a new reply has
    been posted

  8. #8
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    >>I know what's wrong with it.
    Then why don't you tell us what you think the single error is then? (I am presuming from your comments you believe there to be only one problem). Like Salem said, there's more than one.

    If you're not going to post your answers, don't expect other people to. We have no way of knowing if you do actually understand the problems or not, and we wouldn't want to provide you with a full list of answers, now would we
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  9. #9
    mustang benny bennyandthejets's Avatar
    Join Date
    Jul 2002
    Posts
    1,401
    How about you all look at the original subject line?

    Just a quick test of your knowledge
    He knows the error, no one else in his class does, and he just wants to see if we can pick up on it. Give him a break, he's trying to have some fun here.
    benforbes@optusnet.com.au
    Microsoft Visual Studio .NET 2003 Enterprise Architect
    Windows XP Pro

    Code Tags
    Programming FAQ
    Tutorials

  10. #10
    RoD
    RoD is offline
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    Originally posted by bennyandthejets
    How about you all look at the original subject line?



    He knows the error, no one else in his class does, and he just wants to see if we can pick up on it. Give him a break, he's trying to have some fun here.
    or its a class assignment he doesn't get and wants to be the first one done, so tries to trick us into doing it for him. Don't be so gullable.

  11. #11
    Registered User
    Join Date
    Dec 2002
    Posts
    29
    Don't be so gullable.
    Or don't be so suspicious. It could be either way. Seems pretty harsh to judge him before you know. Seems to me it's just as likley the kid is excited he spotted the error before the rest of the class and wants to show off his accomplishment with the board. Either way...the post seems pretty stupid. I have a program and I have an error...spot it! Why...

    To each his own though.
    Last edited by dynamic_cast; 01-20-2003 at 08:34 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. sustring test puzzle
    By WDT in forum C# Programming
    Replies: 3
    Last Post: 06-29-2009, 08:19 AM
  2. Help needed to verify a new on-line C test
    By JanHruska in forum Projects and Job Recruitment
    Replies: 15
    Last Post: 06-20-2009, 07:48 AM
  3. Creating C/C++ Unit Test Cases
    By chiefmonkey in forum C++ Programming
    Replies: 1
    Last Post: 04-28-2009, 09:29 PM
  4. A quick question(s)
    By EvBladeRunnervE in forum C++ Programming
    Replies: 3
    Last Post: 02-17-2003, 09:39 PM
  5. Replies: 0
    Last Post: 04-30-2002, 08:24 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21