Search:

Type: Posts; User: ShotgunChimp

Search: Search took 0.02 seconds.

  1. Replies
    38
    Views
    10,347

    It's almost all there. Minus some tweeks and...

    It's almost all there. Minus some tweeks and annotations.

    I cannot thank you enough. There is a sense of satisfaction having spent MANY hours glued to a screen and then finaly getting it done. I...
  2. Replies
    38
    Views
    10,347

    I have been trying to research this. We have very...

    I have been trying to research this. We have very littler material given to us to actually find out what new things are and the internet has a habit of confusing the matter. I understand the...
  3. Replies
    38
    Views
    10,347

    That makes more sense. Is there any way to get...

    That makes more sense. Is there any way to get around this?
  4. Replies
    38
    Views
    10,347

    You're an apsolute star! I got it working with...

    You're an apsolute star! I got it working with the name. The only minor anoyance is that fgets seams to create a line space. Almost as if it is adding \n at the end of the username. However, if this...
  5. Replies
    38
    Views
    10,347

    How do you pass a parameter between different...

    How do you pass a parameter between different functions? I.e, how can I pass it from my main to the SetupRoom function?
  6. Replies
    38
    Views
    10,347

    Alas, I am still left with the same Access...

    Alas, I am still left with the same Access Violation. Before I add that code it works perfectly...



    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #define North 0
    #define East 1...
  7. Replies
    38
    Views
    10,347

    I have edited the following void...

    I have edited the following



    void SetupRooms(char *user){


    but I have drawn a complete blank with your segestion to contruct the string. This is all kinds of wrong when I try to run it:
  8. Replies
    38
    Views
    10,347

    I have spent the last hour trying to work out how...

    I have spent the last hour trying to work out how to take the user name, that has now been inputted, and place this in the other function (bellow). Ehhh?

    //ROOM 15
    strcpy(Room[14].RoomName,...
  9. Replies
    38
    Views
    10,347

    Thank you! It has solved the problem. It...

    Thank you! It has solved the problem. It completely slipped my mind.

    Last thing, then I promise I'll leave you be, how do I now add the Username to the Room Discriptions. Where I put the %s...
  10. Replies
    38
    Views
    10,347

    The origional Code that I gave at the very...

    The origional Code that I gave at the very begging of this thread worked fine. Or atleast did on the compiler I'm using (CC386 IDE). I am completely at a loss. I added the code you gave me and I am...
  11. Replies
    38
    Views
    10,347

    Am I doing something obviously wrong to cause...

    Am I doing something obviously wrong to cause this Access Violation?



    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <conio.h>
    #define North=0
    #define East=1
  12. Replies
    38
    Views
    10,347

    R.Stiltskin - Thank you so much for the help and...

    R.Stiltskin - Thank you so much for the help and dumbed down discription. I feel very sub-par at this.

    I have done everything you stated, to the word, and it works. However it results in an...
  13. Replies
    38
    Views
    10,347

    Quazah - This is a section of code that I have...

    Quazah - This is a section of code that I have forgot to remove. I innitialy had it so the message that pops up when the user hits the wront key dissapears over time. However, this kinda failed on me...
  14. Replies
    38
    Views
    10,347

    Why am I getting a Type mismatch for this? ...

    Why am I getting a Type mismatch for this?



    //Main function
    void main(){
    {
    char user[50];
    get_username( user, 50 );
    }
  15. Replies
    38
    Views
    10,347

    ZuK - We are working on the same project...

    ZuK - We are working on the same project experimenting with adding to the programme and both realising we are somewhat out of our league.


    Subsonics - Where the programme is describing rooms I...
  16. Replies
    38
    Views
    10,347

    Confussion with Username

    Hi, I'm relatively new to C and have created my first propper programme. The programme works as required but I now want to add a Username system where the user types their name in at the beggining...
Results 1 to 16 of 17