yeah, thanks very much for the reply. that's exactly what I was looking for. I wasn't sure
Type: Posts; User: ckuttruff
yeah, thanks very much for the reply. that's exactly what I was looking for. I wasn't sure
Oh, and does strstr advance the position in the stream?
Sorry that these are noobish question, but it's a really hard thing to google for.
When you use fseek() and ftell(), I'm wondering when you read a line into a buffer (eg. getline, fgets), when you use ftell, does it read the position as the beginning of that line even after called...
The only problem with this, is I don't know how exactly the date will be formatted since it will be coming from a variety of sources. For example, it could be printed:
"Monday, January 1, 2008" or...
dwks.... Thank you so much.
*runs back to emacs
Btw, dwks... just started looking at this:
http://www.manpagez.com/man/3/regex/
Thanks very much for the link. This looks like it should be very helpful for what I'm trying to do.
dwks, Thanks. Yes, I'm trying to get a numerical value out of the string, otherwise I have to have 30 'else if' statements... which just seems ridiculous to me. So I want to maybe be able to...
I just want to thank all the people that responded when I first posted a question about a project I'm working on... Esp. Elysia. Very Helpful.
I had two quick questions:
The following program...
Thanks for all your help Elysia.
I think I'll take your advice. At this point the combination of trying to understand the fundamental syntactical/algorithmic elements of programming and dealing...
Eventually I want to do some GUI stuff. But honestly, when I first started using Slackware 12 (my first linux distro), I wanted a deeper understanding of computing in general (which is why, in part,...
And Manav,
Not at all an unreasonable suggestion; I think I will def. check out python (esp. since I use GNU/Linux, and python would be very useful to be familiar with). I certainly want to learn...
Elysia,
Thanks very much for your response on this. Yes, I'm now going through the cprogramming.com tutorials on strings and pointers. I've been jumping from text to text, trying to solidify...
Thanks Bob; yes, the URL is a no brainer...
The headline though, isn't necessarily so easy, because it might not appear first, and I obv. don't know what exactly to look for. (what I was...
Certainly. Below would be an example of a few headers (the main parts of the text file that I'll be dealing with), and below that is an example of how the formatted header should be.
Formatted...
Mike, thanks very much for your reply. The reason I'm starting with C is because a good friend of mine who programs in several languages recommended to me that I start with C, since it's a solid...
Hi, I'm new to the Cprogramming board, and I'm hoping to get some help on a little project I am working on. I'm fairly new to programming as well, and I've been going through the K&R text along with...