string *word; // a pointer declaration word = &word2rep; //now if my pointer is pointing to address of a variable which stores the word i read from a sentence then.. word = newword; // since the pointer variable(word) is pointing to an address now I [u]want to store a newword at the same address[/u]. Is this right?
Pls read the comments to see what I am trying to do. Basically I have a pointer pointing to an address of a word stored in a sentence and then using that address I am trying to store a new word at that same address.
Thanks.

New Topic/Question
Reply




MultiQuote






|