For anyone else looking for this I found the best resource at
http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/pdf/NCURSES-Programming-HOWTO.pdf
it's a PDF file that is perfect in...
Type: Posts; User: Ne0
For anyone else looking for this I found the best resource at
http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/pdf/NCURSES-Programming-HOWTO.pdf
it's a PDF file that is perfect in...
Oh nice, never knew about the menu library, thanks a ton :D
Wondering if you guys/girls had any advice on tutorials or texts on writing Menus in C (in a nix enviornment). For example just a simple menu with like 3 options, up/down arrow keys highlight the...
strstr, thanks ;)
One last question, how can I have it read a file line by line to check if a certian string is there? Thanks.
Thanks a ton :) Got it working
I'm 100% new to programming C w/ connecting to other computers, listening for it, sending/recieving packets basically. Well I have this one program send a packet to a server, where there's a program...
Lol, well you said edit the data so I asummed you meant file. And i will go look that up because that's what i've been asking how to do this whole time :P Making changes to the copy in memory.
How do you edit it though? O_o
So you can't delete a certian line in a file?
Thanks! Can anyone throw me a hint on how I could delete somthing in a file? I asked above and someone mentioned a counter o.o
Thanks, and couldnt find that recent thread on system() :(
I meant how do you ADD lines of code to the beginning of a file that already contains information.
Damn.
I'm still kinda new to C so I don't get the counter part o.o Throw a hint? XD
...
How can I write to the beginning of the file? I have it working now but it overwrites in it's path which is annoying :P
Also is there anyway I can have it read a file and take out a certain line...
Got it :) Thanks!
getchar() works if it's alone, I have a pretty long program with a lot of inputting so i assume i have to flush it before I want to make it wait for a key to be pressed, i could just make a function...
I'm using C and on a *nix platform. Wondering how to make it wait for the user to hit any key to continue, or at the least the enter key. Been through 20 pages on google and many forums, keep going...