Thread: newbie problem... help!!

  1. #1
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,490

    newbie problem... help!!

    i need help with a piece of code that's supposed to loop ten times and print each "iteration". i've figured out this much:

    void main()
    {
    int x;
    int y;
    double z

    for (int i = 0 , i = 10, i + 1)
    gets (char e);

    for i = 1 to 3
    loop thrice;
    next x;
    (terpri)
    print e;

    PLEASE!! I NEED HELP with the program. i'm new to programming, so i need all the help i can get to make me able to be a 1337 h4x0r ,
    i need my program by 10 am tomorrow to be able to continue with my solely indepentdenat studies

    also, some 1337 h4x0r told me i should enter my code in the ioccc does this mean my code r0x0r?

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Everything about your code is wrong, from the very first word.

    Quzah.
    Hope is the first step on the road to disappointment.

  3. #3
    Registered User
    Join Date
    Mar 2002
    Posts
    95
    quzah, so true. there seems to be only 2 lines of code that are actually valid C, which is
    Code:
    int x; 
    int y;
    the rest is horrible horrible code thrown from god knows where, try reading up on for statements, the first parameter specifies initial values, the second specifies when it should loop ie, i=10, actually never mind thats even wrong, your assigning i the value 10, try putting for(i=0,i<=10;i++)
    or alternatevly you could actually learn how to program.

  4. #4
    Unregistered
    Guest
    Hi ygfperson,
    I'm surprised that you've made over 300 posts. Maybe buy a book on C.

  5. #5
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,490
    forgot to say this, but...

    this is satire. i'm not really that stupid. i'm making fun of newbies


    btw, it's a mixture of basic, lisp, and C
    but put together so it doesn't make any sense

  6. #6
    Registered User stautze's Avatar
    Join Date
    Apr 2002
    Posts
    195
    >for i = 1 to 3

    that is amazing

  7. #7
    Unregistered
    Guest
    Could one of the moderators block ygfperson, so he doesn't waste people's time?

  8. #8
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,490
    i'm sorry about that. maybe i should've posted this in the general forum.

  9. #9
    Microsoft. Who? MethodMan's Avatar
    Join Date
    Mar 2002
    Posts
    1,198
    I think you should have, but the at least the code is a good laugh!

  10. #10
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >Could one of the moderators block ygfperson, so he doesn't waste people's time?
    Perhaps you could chill out a bit.

    1) ygfperson is well known enough around here to try and make a joke, Mr. Unregistered.
    2) With some of the moronic questions we see it's a relief to see someone who actually isn't serious.
    3) Please don't hide behind the Unregistered tag when you try to flame.
    4) There are enough double posts and cross posts to waste our time anyway, so have a hearty laugh and shut up.

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

  11. #11
    Unregistered
    Guest
    Bull took the time to try to answer ygfperson's question, while ygfperson was making fun of him. I'm not a member (the user names and passwords are a pain, and you don't gain much).

  12. #12
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,490
    i wasn't making fun of bull.
    thanks for the support prelude

    isn't there a way to post with a name without registering it?

  13. #13
    Unregistered
    Guest
    ygfperson, I think you got the point when you said you were sorry. Sorry for making a big deal out of it.

  14. #14
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,138
    I thought it was quite obvious what he was doing. Seeing his code previously, I knew it had to be a joke.


    [HINT]
    BTW, don't take life too seriously, you only live once. COUGH*bull, unregistered*COUGH
    [/HINT]

  15. #15
    Registered User
    Join Date
    Oct 2001
    Posts
    2,934
    Actually, knowing who posted it made it all the more funny. If it had been posted by unregistered, I don't think I would have found it as humorous. Especially the stuff at the bottom. If that didn't clue you in, well ...
    Last edited by swoopy; 04-23-2002 at 05:05 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. validation problem in a loop (newbie question)
    By Aisthesis in forum C++ Programming
    Replies: 11
    Last Post: 05-10-2009, 10:47 PM
  2. Newbie problem with scanf function...
    By Mithal in forum C Programming
    Replies: 1
    Last Post: 11-13-2005, 10:28 PM
  3. Newbie ... looping problem
    By StupidIntel in forum C++ Programming
    Replies: 12
    Last Post: 05-13-2004, 06:45 PM
  4. Problem with code (newbie question)
    By Unregistered in forum C++ Programming
    Replies: 5
    Last Post: 07-31-2002, 01:39 AM
  5. newbie coding problem
    By rippascal in forum C++ Programming
    Replies: 10
    Last Post: 01-08-2002, 11:45 PM