the problem is when i use the = sign, they treat the two strings as different
eg. peter pepper pick a peck of pepper.
the program will extract out
pepper
pepper. <- notice with a...
Type: Posts; User: samtay
the problem is when i use the = sign, they treat the two strings as different
eg. peter pepper pick a peck of pepper.
the program will extract out
pepper
pepper. <- notice with a...
1) how do i convert C++ strings to upper case/lower case?
2) say if i got two strings extracted from a paragraph,
pepper?
pepper.
how do i tell my program this 2 are the same strings?
can someone show me the code for retrieving line number ... can show me the whole segment of codes on how to read in the text?
and also to print out in alphabetical order
pardon mefor my ignorance....how do you get the line number?
can you give me the actual coding?
and after inserting every word how to i display it in alphabetical order?
thanks salem,
but how to code the algorithm .... thats what i dunno.
Hi people,
How do I solve the following problem in C++ using trees ?
I need to determin the frequency and location of words in a document. After that list in alphabetical order the words and...
How do I check if a text file havea required format ?
eg. Format :
<product number> <description> <price>
1) Is there anyway to get the number of lines in a text file without having to scan through the whole file?
2) How do I compare if a date falls in between a starting date with a duration. eg....
thanks people.
This is the command line execution :
animals cages.txt
How do I code my C++ program to be able to read in the argument as my text file??