Search:

Type: Posts; User: lordmorgul

Search: Search took 0.00 seconds.

  1. Oh, I noticed one more thing... When I sort the...

    Oh, I noticed one more thing... When I sort the list by names it displays AFGANISTAN (which is the first record) on the opposite end of the list (eg. when I sort it descending, it gets displayed...
  2. That worked. Thank you very much!

    That worked. Thank you very much!
  3. I get this error after inserting your code: ...

    I get this error after inserting your code:

    main.cpp: In function ‘int main(int, char**)’:
    main.cpp:57: error: ‘Country.std::vector<_Tp, _Alloc>::operator[] [with _Tp = COUNTRY, _Alloc =...
  4. Oh, wow, that was actually quite obvious, I kept...

    Oh, wow, that was actually quite obvious, I kept trying to enter it after c_str() ;-) Thank you very much.
    But I still have no luck with fixing the overlapping output. I forgot to mention, that...
  5. I don't get how c_str() works... Where do I add...

    I don't get how c_str() works... Where do I add the ".txt"?
    And as for the linefeed character ─ I don't know how to modify the code ─ when I change the char c to a string I get tons of errors.
  6. C++ overlapping output and adding extensions to output files

    Hello. I've written this program which reads a preformatted text file with a list of countries and then sorts them, adds/modifies/deletes records and exports the modified list to another file.
    I've...
Results 1 to 6 of 6