Okay, I have a solution: The file I'll be reading from will be malloc'd into RAM, where the data can be manipulated.
Then, using <string.h> I can summon a search in RAM for data and save results to...
Type: Posts; User: BinaryBlock
Okay, I have a solution: The file I'll be reading from will be malloc'd into RAM, where the data can be manipulated.
Then, using <string.h> I can summon a search in RAM for data and save results to...
I guess what I'm looking for is a way to "feed" my structures some data under the same Tag with a different name. These names will include variables (stats) and all I have to do is "call" that Tag...
Hmm, you just may be right memcpy. If thats the case I'll have to sizeof the datafile, then create a strucure array and finally retrieve each array somehow...
It sounds like I'll have to use...
Thanks guys. Here's the reason for the "named" structures:
If I want to, at will fetch the variables from each uniquely named structures via scanf() this will make it possible.
This would be the...
My official 1st post; coming from x86 AsmLanguage now learning C for Linux sake. Linux rules!
Refer to CProgrammingDotComForwardSlashTutorialFwdslashLesson7DotHTML
respectively.
Problem:
...
Are you Linux? You never specified. if so:
system("/bin/stty raw");
selection=getchar();
system("/bin/stty cooked");