Search:

Type: Posts; User: w.chen

Search: Search took 0.01 seconds.

  1. Replies
    15
    Views
    2,490

    I don't understand what do you mean "open the...

    I don't understand what do you mean "open the output file", if you mean open it using some sort of texteditor, you can call system("command") to do it. e.g. system("notepad.exe example.txt")

    if...
  2. Replies
    15
    Views
    2,490

    use strcmp to compare string, don't use == ...

    use strcmp to compare string, don't use ==



    #include <iostream>
    #include <fstream>

    using namespace std;

    int main(int argc, char *argv[])
Results 1 to 2 of 2