well, I want to store each word in seperate string (actually I have to store each word in seperate Node of linked list). That is user will input complete sentence like:
C++ is the best language
...
Type: Posts; User: barlas
well, I want to store each word in seperate string (actually I have to store each word in seperate Node of linked list). That is user will input complete sentence like:
C++ is the best language
...
Hi,
I got an assignment from university, I have to take a sentance as input and then store each word in different nodes in a linked list (then I have to perform different actions on these words...
Just do what enjoy said. i.e
while (((a==0)&&(b==0)) || ((a==0)&&(c==0))||((c==0)&&(b==0)));
Thanks guys, for all the help and info! :)
Thanks everyone.
Stoned_Coder it worked. Can you please explain a little how it worked? As, now I wanted to do obj1 = 10 + obj2 but it didn't worked, gave the same error as obj1=obj2+10 was giving...
Hi guys!
I don't know anything about how to use operator+(), I have just searched some sites(tutorial / articles) and have done what they have said, but didn't succeeded in compiling my program.
...