Hey thanks man. I'm supprised it takes such an effort to achieve that result, but hey, if it works... Well, I know it works, I just tried it. :-)
Thanks again.
Type: Posts; User: turmoil
Hey thanks man. I'm supprised it takes such an effort to achieve that result, but hey, if it works... Well, I know it works, I just tried it. :-)
Thanks again.
Hi
I have a text file containing one string on each line. My problem is I want to surgically remove just one line (or one string - same thing) without leaving a blank line.
ie, if I had the...
Hey thanks a lot. Your reply confused me for a while ( i just learnt the meaning of a 'fork bomb'...twice actually.), but now I'm getting it sorted. Well, mostly anyway. I'm able to connect...
Hi,
I'm a bit of a newbie and in getting this far I have exhausted all the online socket tutorials I could find.
Here's my problem:
I have a server and a client. They connect happily. Once. ...
hey thanks heaps quzah! That's all i needed. :)
(Can't use isdigit as i'm looking for specific numbers.)
cheers,
tumoil
eeer yeah . whoops. count is what i'm using in my actual code, so i got a little distracted making that example....
so i meant:
for ( i=0 ; i<stringlength ; i++){
if ( string[i]==1...
Hi
Yeah, it sounds like a strange thing to do " checking if a char array stores a number", and your probably wondering why there'd be a number there anyway. Well, trust me, there is a reason.
...
Hi,
now i have a most confusing problem. I have a function that returns a string (actually i have a number of them), and i want to store this string in another char array. My first thought was to...
Ok, thanks for reading it, but after much frustration i've managed to solve it myself. :) I used
if ( strncmp ( current->data , word , n ) == 0 )
where n = 20.
I found if n was small i lost...
One more question please, and a much more basic one too.
I'm now trying to compare a word to the words in the linked list. I have no problems traversing the list or anything, but i can't figure...
a/s/l?
Marry me?
Seriously, thanks heaps. I looked at that and thought it couldn't possibly work. Guess that's why i was stuck though. I don't understand at all how it works though -...
Hmmm... I don't understand. :confused:
I've tried playing around with the things you mentioned, but i'm not getting anywhere with it.
I want a single startPtr to point to the first line stored...
Hi all. I'm a hopelessly stuck C newbie. I'm trying to make a program that will read one line at a time from a file, and store each line as a char array in a singly linked list. I'm now totally...