Search:

Type: Posts; User: laxkrzy

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,352

    saving to multiple struct in while loop

    fixed
  2. Replies
    4
    Views
    1,112

    but it is a string, or so i think, i have it set...

    but it is a string, or so i think, i have it set as char id [2]
  3. Replies
    4
    Views
    1,112

    It wont display my string

    sorry about all the post but at least on my computer it is looking really weird, third times a charm


    after sending a string to my main struct it wont allow me to print what is in the struct...
  4. Replies
    0
    Views
    591

    It wont print???

    after sending a string to my main struct it wont allow me to print what is in the struct outside of the function in which i assigned it.



    int buildRooms(char filename[], struct Room list[])
    {...
  5. Replies
    0
    Views
    649

    It wont print???

    after sending a string to my main struct it wont allow me to print what is in the struct outside of the function in which i assigned it.



    int buildRooms(char filename[], struct Room list[])
    {...
  6. Replies
    3
    Views
    1,799

    that part was given to us by our instructor so...

    that part was given to us by our instructor so were not allowed to change it is there another way?
  7. Replies
    3
    Views
    1,799

    Help using strcpy

    i am trying to copy a string that i got from a file using fscanf into my struct



    struct Room {
    char south, north, east, west;
    char id;
    char description[MAX_SIZE_DESC];
    char...
  8. Replies
    1
    Views
    1,200

    Help using strcpy

    i am trying to copy a string that i got from a file using fscanf into my struct



    struct Room {
    char south, north, east, west;
    char id;
    char description[MAX_SIZE_DESC];
    char...
  9. Replies
    6
    Views
    6,628

    sounds a little complicated but not aweful, is...

    sounds a little complicated but not aweful, is there no simpler way?
  10. Replies
    6
    Views
    6,628

    im not using scanf, we were told not to i am...

    im not using scanf, we were told not to i am reading them in as arguments
  11. Replies
    6
    Views
    6,628

    how to read in octal

    I am creating a simple calculator to do simple math in dec hex and octal froms , i am having trouble reading in an argument as a octal value, my hex is working fine when I enter 0x before the number...
  12. Replies
    3
    Views
    874

    how to ignore * function

    i am creating a basic calculator program for a class and and stuck on the multiplication. when the third argument is * it goes all funky and give a segmentation fault. my only guess is that this is...
  13. Replies
    7
    Views
    9,162

    Argv and strcmp help

    I am trying to find a way to essentially say if argv[4] is nothing, in other words if there was not argv [4] given, then do so and so. this is what i have so far
    ...
Results 1 to 13 of 13