Search:

Type: Posts; User: xxwerdxx

Search: Search took 0.01 seconds.

  1. Replies
    19
    Views
    2,362

    I still havn't figured it out :(

    I still havn't figured it out :(
  2. Replies
    19
    Views
    2,362

    heres what i came up with, still not working ...

    heres what i came up with, still not working

    the structure


    //structure to return values
    struct att fn();
    {
    int hpr;
    int mpr;
  3. Replies
    19
    Views
    2,362

    thanks, that clears up a lot about structures,...

    thanks, that clears up a lot about structures, but i dont know how i would use that to return the values of the attackmenu
  4. Replies
    19
    Views
    2,362

    Heres what i got using pointers, and it still...

    Heres what i got using pointers, and it still dosn't display it in the stats screen after the fight. I looked into structues also, but didn't understand them so i tryed this. Any ideas of what I did...
  5. Replies
    19
    Views
    2,362

    cant believe i didnt think of that,thanks. now im...

    cant believe i didnt think of that,thanks. now im having a problem returning values in the attack function. do I need to use pointers for that or something? trying to return hp,mp,and exp.
  6. Replies
    19
    Views
    2,362

    Alright, ill look into those. Thanks a lot for...

    Alright, ill look into those. Thanks a lot for all the help. I use dev-c++ which did the spacing for me tho :)

    last thing I dont know how to do. Ive tryed it in various games and cant figure it...
  7. Replies
    19
    Views
    2,362

    thanks spy, ill look into that. what you said...

    thanks spy, ill look into that. what you said fixed the menu problem, but now i have one when using the attack menu. after i attack it takes me to the stats menu instead of back to the attack menu so...
  8. Replies
    19
    Views
    2,362

    text rpg problem

    here it is, kind of long

    Code:

    #include<stdio.h>
    #include<stdlib.h>

    //attack function
    int attackm(int,int,int,int,int,int,int,int,int,int);
  9. Replies
    0
    Views
    1,146

    need help with my text rpg

    here it is, kind of long



    #include<stdio.h>
    #include<stdlib.h>

    //attack function
    int attackm(int,int,int,int,int,int,int,int,int,int);
  10. Replies
    3
    Views
    918

    thanks,now to get the range higher I would just...

    thanks,now to get the range higher I would just add more then 1 correct?
  11. Replies
    3
    Views
    918

    help with random number range

    here is my program


    #include<stdio.h>
    #include<time.h>

    main() {

    float i,r;
    srand( time( 0 ) );
  12. Replies
    1
    Views
    786

    need help with string

    how would i get something like

    char something[20]

    to equal a name when something occurs in my program. like if the user typed 1 (just an example), the char something[] would equal the string...
  13. Thread: text rpg help

    by xxwerdxx
    Replies
    1
    Views
    1,846

    text rpg help

    hello all, need help with a text rpg (using c)

    how would i get it so whenever a person enters i at any point in the game, it would display the persons inventory? thanks in advance
  14. Replies
    2
    Views
    1,700

    problem with random numbers

    hi i just made a program to practice random numbers because im new :). i get different numbers each time, but every time i run the program they are the same numbers each time. anyone know the...
  15. Replies
    5
    Views
    1,315

    yes i have cmd.exe in windows. i searched for it...

    yes i have cmd.exe in windows. i searched for it and it came up, tryed to click it and received the same message.

    i think it has something to do with me not being able to run dos files.. i dont...
  16. Replies
    5
    Views
    1,315

    when i try to run cmd.exe it says "windows cannot...

    when i try to run cmd.exe it says "windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access this item. I am on the administrator account, so i...
  17. Replies
    5
    Views
    1,315

    help running batch files

    my computer for some reason cant run batch files. i cant even run the cmd.exe from the start>run. i dont no what my problem is, i have looked at many sites and have found no help, and i need to be...
Results 1 to 17 of 17