Thread: something wrong,Hmm...........

  1. #1
    Registered User angeljicu's Avatar
    Join Date
    Nov 2002
    Posts
    16

    Unhappy something wrong,Hmm...........


    I often write some programs,those are some smallest games.
    always something wrong in my programs.

    I put out some to you,all the intentness friends.
    maybe you could give me some suggestion.

    the first small game I haven't finished it,I found I got not good
    structure in my program,
    and the result isn't satisfy me,the random num came up often
    can't be controlled.

    envirment:Turbo C 2.0
    there is angel,who love to see u.

  2. #2
    Registered User angeljicu's Avatar
    Join Date
    Nov 2002
    Posts
    16

    Question help, oh,my god.........

    i modified it and found more problem
    first,i can't find a way to solve the array which could make
    the char and num exist at one time.
    second, the randnum sometimes overstep the max i defined
    third,how could i use many if statement to control something?
    there is angel,who love to see u.

  3. #3
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231

    Re: help, oh,my god.........

    >>i can't find a way to solve the array which could make
    the char and num exist at one time.
    Which array? Please can you clarify your question.

    >>the randnum sometimes overstep the max i defined
    Not sure what you mean, but have a read of this, it may help you.

    >>how could i use many if statement to control something?
    It looks to me like you already are.

    Maybe you should post a particular section of code you're having trouble with, rather than posting the whole thing. Be a bit more specific too.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  4. #4
    Registered User angeljicu's Avatar
    Join Date
    Nov 2002
    Posts
    16

    I would do it

    often I couldnot express my idea well.
    I would do my best.
    there is angel,who love to see u.

Popular pages Recent additions subscribe to a feed