Search:

Type: Posts; User: deadherorising

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    2,776

    Thanks...it was simple...switched the 1-x to x-1...

    Thanks...it was simple...switched the 1-x to x-1 ohh ya failed at the fundimentals of mathamatics.
    i use one since it makes more sence to me...i always for get to count the zero, this way i dont...
  2. Replies
    2
    Views
    2,776

    Simple program...simple problem?

    Don't know why but it dosent print out the right numbers, and prints out numbers that dont make any sence at all



    #include <stdio.h>
    # define MAX 21
    int main(void){
    double...
  3. halla luula

    it works i got nothing to say exsept thanks. and are there any problems with it.



    #include <stdio.h>
    #include <stdlib.h>
  4. i am not sure what this means, dose it mean there...

    i am not sure what this means, dose it mean there should be loops in my functions?

    thanks matsp i think i did most of what you said, i think?

    but this is how i have it now and it comes with an...
  5. nice it worked thanks, now if i put it all...

    nice it worked thanks, now if i put it all together



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

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


    char menu(void){
    char x;
    printf("\nyou want to do this y, n:");
    scanf("%c",&x);
    return x;
    }
  7. char menu(void){ char x; printf("\nyou want to...

    char menu(void){
    char x;
    printf("\nyou want to do this y, n:");
    scanf("%c",&x);
    return x;
    }

    int main (void)
    {
    char play;
  8. err its still doing the same thing. just with...

    err its still doing the same thing. just with more spaces.

    ------
    [Session started at 2007-11-05 21:23:45 -0500.]

    you want to do this y, n:y

    you want to do this y, n:
    you want to do this...
  9. death by coding.

    it still acting strange and i cant put the zero in for while it just ends.

    heres what happens
    ------
    [Session started at 2007-11-05 20:02:45 -0500.]
    you want to do this y, n:y
    you want to do...
  10. agh!

    what did i do wrong it wont end.



    char menu(void){
    char x;
    printf("you want to do this yes, no:");
    scanf("%c",&x);
    return x;
    }
  11. ug

    i now can make it go from room0 to an adjacent room. i do have a problem with it but its not any error it actually works. now to make it continue and end were i want it. i have tried a while loop...
  12. the next_room function is taking in 2 numbers and...

    the next_room function is taking in 2 numbers and giving back the one number from the array. sorry Adak but i don't understand. but here i tryed again

    like this?


    int next_room(int a, int...
  13. Replies
    160
    Views
    1,230,936

    Sticky: cry...wine

    is this a good book "Programming in C: a complete introduction to the C programming language" Stephen G. Kochan 3rd edition
  14. confusing is my middle name

    I cant figure this out, i am not quit sure i understand what your saying about my next_room function, maby an example would help, i am a very visual learner, oh and yes the map is unchanging.

    i...
  15. dont think me as rude i am not ignoring you advise i just incapable to use it.

    heres what i got, i am having a rough time trying to figure out how to make a multidimensional array function. so could you tell me how i am screwing up or give me an example of a correct one. the...
  16. gakkitwias

    ok i have started completely over now i am using functions, i know its code just bear with my incompetence and help me.

    here is my room description code, i cant seem to get it to work keeps on...
  17. I talked to some people and i understand the code...

    I talked to some people and i understand the code now, but i am not quite at that sort of lvl, and i prefer to work with numbers, i tend to get easily confused with words.
  18. i hate you, i hate all of you.

    this is as close to "not code" that i can get i think, i dont know, your program dosent even look like it works. i was show to make a program that works then add on from there with more programs that...
  19. Kick Ass

    ok heres what i got :

    right now the user types a letter and it prints out the index number then it prints out one of the numbers in the array. but i am getting more than what i wanted. this is...
  20. okay this is my very simple map it consist of one...

    okay this is my very simple map it consist of one room and 4 directions you can use but you cant go any were. right now the directions are in number form. so how do i make it so when you type the...
  21. ok ok ready for another big step.

    ok heres what i got you have 4 directions for the index if you try to type in something higher than whats inside the array my message will pop up and the program will end,

    Q:what do i type to get...
  22. so i should get all the numbers to work first and...

    so i should get all the numbers to work first and add all the data first than worry about adding the north south east weast, and other descriptions later. ok thanks
  23. humm interesting i see some things but i deont...

    humm interesting i see some things but i deont see others like
    were dose the north south east west become initilized, is he even using them, or is he just using the hall ,kitchen and stairs as...
  24. yes it dose work if you put the #0-3 in but i...

    yes it dose work if you put the #0-3 in but i want to put the letters in and get the same print as i would by putting the numbers. wich dose not seem to be working.




    ya like that, but for...
  25. int room0[4]={1,2,-1,-1}; int i; int n=0;...

    int room0[4]={1,2,-1,-1};
    int i;

    int n=0;
    int s=1;
    int e=2;
    int w=4;

    printf("number...err whatever:");
    scanf("&#37;i\n",&i);
Results 1 to 25 of 29
Page 1 of 2 1 2