Search:

Type: Posts; User: jimblumberg

Search: Search took 0.04 seconds.

  1. Replies
    5
    Views
    1,185

    I suggest using std::string in place of the char*...

    I suggest using std::string in place of the char* and std::vector in place of the array. Then you can use the extraction operator>> to extract the "words" from the file. Then you can either count the...
  2. Replies
    5
    Views
    1,185

    Is there a reason you are using C-strings instead...

    Is there a reason you are using C-strings instead of std::string? In my opinion the string class has member functions that make processing the string much easier than using the C-string functions...
Results 1 to 2 of 2