Youtube has some university level stuff on it. I found some Uni class from Australia on there and thats how I learned most of my code.
Type: Posts; User: RMDan
Youtube has some university level stuff on it. I found some Uni class from Australia on there and thats how I learned most of my code.
First: my signature is an abstract Joke at pie and not part of this discusion.
Second: So I have to rewrite my whole code to get it to work my way or live with what ive got. Thanks for the help....
so far if I replace %s with \"%[^\"]\" my load system freezes as not everything is in " ". Thanks for trying.
I know you guys are trying to help but could you give me an example? What you gave me told me nothing I wanted(only stuff I mostly knew already). the [ one is what I may need but how would I use it...
I have no clue what you guys are talking about. I learned most of my stuff from youtube and google.
And were may I find that?
I wrote an ini file reader for my game im working on and got it working fine(Easier done than said for a change). I am wondering if there is a way to make my code read everything between " " as a...
Thanks Salem. d_d Ill check into that after my tenth post.
How do you set your signature on this board? I can not find the option in my CP so I wonder if it is an option you have to unlock.
Thanks
RMDan
So it is not possible to use tolower() on the array, only the individual char? Thanks for the help.
RMDan
I am trying to convert a user inputed string(char array) to lowercase before my program tries to compare the input with a list of possible commands. would I have to use a loop to acheive this by...
I am not sure what you are saying but here is a way to store strings in an array.
char aS[3][20];
strcpy(aS[0],"First");
strcpy(aS[1],"Second");
strcpy(aS[2],"Third");...
I forgot about strcpy. That makes a huge difference.
hk_mp5kpdw:
Thanks that got rid of the errors
bithub:
Thanks for the tip. Going to change that in my engine later.
MK27:
My Struct is...
I am trying to put a char array into a struct but everything I have tried has not worked.
typedef struct{
int Grid_X;
int Grid_Y;
char Room_Name[30];
int North;
int South;
int East;