xpi0t0s could you please explain to me with an example code.
Hello Everyone. I wanted to know if there is any way I can use linux commands in C++. I want to store the output of a program in a file which is...
Hello everyone Could any one please help me parsing a line having different fields separated through commas. I want to store each comma separated...
Thanks a lot xpi0t0s. I will work on what you suggested :)
"OK, so the comparison fails if the file U having unique data does not contain one or more of the lines present in the file D containing...
Could anyone please help me how to compare 2 files containing lines of string? The two files contain similar data except that one contains data...
Below are some more line from the file. The actual file contains almost 70000 lines....
Hello everyone I am trying to find duplicates for part of a string, not the whole stHello everyone I am trying to find duplicates for part of a...
The getline(fileName,line) also reads the last line that is an empty line. Is there any way not to read that last empty line?
oh OK. Let me try this.
I am working on Linux.
Could anyone please show me a working example of how to find if a file exists but is empty or not? Thanks
breachmonitor.cpp:(.text+0x17ce): undefined reference to `BreachMonitor::Breach::Breach()' Can anyone please tell me what does it mean? I have...
Could somebody please tell me how do I write a file in "try catch" block for checking if the file exists, if it is opened, if it is not empty....
And also what should I do next? Please guide.
Could you please have a look at the code and tell me the reason why it is giving me an error? int timeDiff(std::string startDateTime,...
it isnt a university assignment. It has been given to me in office ;'(. I am new to STL and the code they have given me uses STL and it has almost...
Pleaseeeeee Jim could you please do it for me because someone else suggested me the same thing but I havent used ctime etc ever. I have to submit...
Alright Thank you Jim. I have the changes you suggested and it is working. I actually need the uPred (unique elements) and dont need dPred and...
Separate names with a comma.