C Programmers, help me with this program v. functions

Discussion in 'OT Technology' started by Metaphysical, Oct 6, 2006.

  1. Metaphysical

    Metaphysical With a hundred ways to do a dozen things, why not

    Joined:
    Feb 17, 2005
    Messages:
    954
    Likes Received:
    0
    Location:
    Florida
  2. antiyou

    antiyou OT Supporter

    Joined:
    Jul 13, 2005
    Messages:
    25,295
    Likes Received:
    0
    Location:
    in ur base
    start with

    Code:
    #include <iostream>
    
    int main()
    {
        return 0;
    }
    
    post your spec in the thread not as a download
    and we'll take it from there
     
  3. kilamasta

    kilamasta New Member

    Joined:
    Aug 14, 2006
    Messages:
    108
    Likes Received:
    0
    .doc :/

    Post it...
     
  4. piratepenguin

    piratepenguin New Member

    Joined:
    Jun 18, 2006
    Messages:
    1,067
    Likes Received:
    0
    Location:
    Ireland
  5. antiyou

    antiyou OT Supporter

    Joined:
    Jul 13, 2005
    Messages:
    25,295
    Likes Received:
    0
    Location:
    in ur base
  6. piratepenguin

    piratepenguin New Member

    Joined:
    Jun 18, 2006
    Messages:
    1,067
    Likes Received:
    0
    Location:
    Ireland
    I amn't the OP you dipshit.

    Do you want the spec posted in-thread? Fine (like you couldn't have done this).
    [FONT=Courier New, monospace](oops wow.. I never realised how class that would turn out :| )

    btw the code you posted in post #2 is C++ not C.
    [/FONT]
     
    Last edited: Oct 6, 2006
  7. antiyou

    antiyou OT Supporter

    Joined:
    Jul 13, 2005
    Messages:
    25,295
    Likes Received:
    0
    Location:
    in ur base
    Now I am certainly not inclined to help you. I doubt anyone else will be either. You must be a complete idiot to ask for assistance and then have such a shitty attitude. I wouldn't help you if you paid me. I hope you fail miserably dipshit.

    :wavey:
     
  8. piratepenguin

    piratepenguin New Member

    Joined:
    Jun 18, 2006
    Messages:
    1,067
    Likes Received:
    0
    Location:
    Ireland
    Are you fcking serious? I told you: I AMN'T THE ORIGINAL POSTER (OP).

    Try to read posts properly before you criticize them for it, ffs.

    I hope you fai-, wait, you already did.
     
  9. GOGZILLA

    GOGZILLA Double-Uranium Member

    Joined:
    Jan 16, 2003
    Messages:
    10,760
    Likes Received:
    3
    Location:
    Plantation, FL
    if you cant do this youre going to fail the class. you didnt even ask a question do you want someone to do it for you?
     
  10. GunboatDiplomat

    GunboatDiplomat New Member

    Joined:
    Jun 9, 2006
    Messages:
    214
    Likes Received:
    0
    anityou, I think you owe piratepenguin an apology considering how you mangled this thread with your egregious misunderstanding...
     
  11. TheUser20

    TheUser20 OT Supporter

    Joined:
    Sep 7, 2005
    Messages:
    1,835
    Likes Received:
    0
    Location:
    Illinois
    my god your teacher tells you how to basically program the whole thing!
    Mine told me to find out on your own
     
  12. Bruticus

    Bruticus half dead OT Supporter

    Joined:
    Apr 10, 2004
    Messages:
    4,608
    Likes Received:
    0
    Location:
    Melbourne
    Heh don't worry about it, looks like he came for help with like 1 day left to hand it in :)

    If you have no idea where to start it'll take a lot longer for you to code that than a day or two. Not a bad intro assignment really.
     
  13. Sexual Vanilla

    Sexual Vanilla New Member

    Joined:
    May 23, 2005
    Messages:
    6,305
    Likes Received:
    0
    Location:
    South Carolina
    .
     
  14. kilamasta

    kilamasta New Member

    Joined:
    Aug 14, 2006
    Messages:
    108
    Likes Received:
    0
    I was saying I won't open a .doc coming from someone I don't know :/.

    About the assignement :

    int additionFunction(int a, int b)
    {return a+b;}

    int multiplicationFunction(int a, int b)
    {return a*b;}

    void guessNumberFunction()
    {
    int n=-1;
    int randomNumber=rand()%100;

    printf("enter number : ");


    while(n!=randomNumber)
    {
    fflush(stdin);
    scanf("%d",&n);
    if(n>randomNumber)
    {printf("too high");}
    if(n<randomNumber)
    { printf("too low");}
    }

    printf("yay you won");
    }
     
    Last edited: Oct 9, 2006
  15. piratepenguin

    piratepenguin New Member

    Joined:
    Jun 18, 2006
    Messages:
    1,067
    Likes Received:
    0
    Location:
    Ireland
    Ah, heh. I will :)
     

Share This Page