Search:

Type: Posts; User: samtay

Search: Search took 0.01 seconds.

  1. Thread: strings

    by samtay
    Replies
    7
    Views
    1,227

    the problem is when i use the = sign, they treat...

    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...
  2. Thread: strings

    by samtay
    Replies
    7
    Views
    1,227

    strings

    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?
  3. Thread: Trees

    by samtay
    Replies
    7
    Views
    1,905

    can someone show me the code for retrieving line...

    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
  4. Thread: Trees

    by samtay
    Replies
    7
    Views
    1,905

    pardon mefor my ignorance....how do you get the...

    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?
  5. Thread: Trees

    by samtay
    Replies
    7
    Views
    1,905

    thanks salem, but how to code the algorithm...

    thanks salem,

    but how to code the algorithm .... thats what i dunno.
  6. Thread: Trees

    by samtay
    Replies
    7
    Views
    1,905

    Trees

    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...
  7. Replies
    1
    Views
    855

    Checking File Format

    How do I check if a text file havea required format ?

    eg. Format :
    <product number> <description> <price>
  8. Thread: Algorithms

    by samtay
    Replies
    2
    Views
    1,358

    Algorithms

    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....
  9. Thread: File processing

    by samtay
    Replies
    3
    Views
    916

    thanks people.

    thanks people.
  10. Thread: File processing

    by samtay
    Replies
    3
    Views
    916

    File processing

    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??
Results 1 to 10 of 10