hey guys,
this programme works when I'm not using a separate function 'genWordSeg' and writing it only using main().
But when i'm going to do it according to the OO concepts it gives me an error that " expected primary-expression before ‘]’ token" and I couldn't find the error.
I'm a new comer to this valuable forum and I'm waiting for your responses regarding this issue..