Thread: Error with my text rpg

  1. #1
    Registered User
    Join Date
    Jan 2002
    Posts
    69

    Error with my text rpg

    Most annoying thing about programming is a bug i can't debug. maybe its just my computer. Well i've added my zip file with my files hopefully you'll be able to understand it.

    Well i started my text rpg trying to do input. i was hoping to added aliases. my idea is prolly the way other peeps already do this way but here goes anywayz

    I have an easy idea for aliases but my problem i made my own input function .. And well i haven't completed the function but i debugged it tons but i couldn't find the problem. whenever i added strcpy( var, "") to clear the string it wouldn't so the string would get longer and longer can u plz help me tell me why i can't clear the string after the function fixInput...... plz don't flame me for the code i deleted a fair bit just to see if there was anything wrong with it.

  2. #2
    Registered User
    Join Date
    Jan 2002
    Posts
    69

    btw

    i'm talking about the string to input stuff which is stra[80] or the pointer szInpute, i added e because i tried szInput as another variable but i deleted it and well i'm too lazy to delete the e for everyone one

  3. #3
    I am he who is the man! Stan100's Avatar
    Join Date
    Sep 2002
    Posts
    361
    I'm not even looking at that code. Post the file which has the problem. If you'd like me to rephrase, post the file that contains the variable. Or at least, that's what I think the problem is.

    I tried de-crypting this, so that might be the problem.

    i'm talking about the string to input stuff which is stra[80] or the pointer szInpute, i added e because i tried szInput as another variable but i deleted it and well i'm too lazy to delete the e for everyone one
    What the heck are you saying? I'm sorry if your not natively English, which in that case I've gone out of line. If I'm not mistaken, that is not only a run-on sentence (like anyone cares, I don't, I'm only pointing it out), but Its incoherrent.

    Don't tell us you're too lazy to do something when you're the one
    asking for help. Maybe we're too lazy to fix your problem.
    Stan The Man. Beatles fan

    When I was a child,
    I spoke as a child,
    I thought as a child,
    I reasoned as a child.
    When I became a man,
    I put childish ways behind me"
    (the holy bible, Paul, in his first letter to the Cor. 13:11)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. text rpg help
    By xxwerdxx in forum Game Programming
    Replies: 1
    Last Post: 11-26-2005, 08:16 PM
  2. Replies: 3
    Last Post: 05-25-2005, 01:50 PM
  3. struct question
    By caduardo21 in forum Windows Programming
    Replies: 5
    Last Post: 01-31-2005, 04:49 PM
  4. mygets
    By Dave_Sinkula in forum C Programming
    Replies: 6
    Last Post: 03-23-2003, 07:23 PM
  5. Check out My Text Rpg Game
    By knight543 in forum C++ Programming
    Replies: 3
    Last Post: 05-17-2002, 10:40 PM