Hello all I am using 3 vectors each of which is of type struct "ABC". I am trying to find duplicates in each vector using equal_range() method....
Hello All Could anyone please tell me how can I edit my own posts? I do not see the Edit option for my older posts. Thanks
Hello all Could anyone please help? I have got two structs. struct TRS_block { std::string trsLineID; std::string id1;...
Hello everyone I have to compare two vectors (having struct data from two different files) for inequality. The two vectors contain struct type...
Hello everyone Could anyone please help me how do I insert text between lines of a files depending on certain condition? Thanks
Hello everyone! is there anyway I can write the output of a program both to the file and the output screen simultaneously? Code for writing to a...
Hello everyone To be honest I have been given an assignment from a company I have applied for a job recently. As I am a recent graduate so am...
Hello everyone I am a recent graduate and have recently joined my job. I have been assigned a task of introducing a layer between the c++ program...
Hello everyone. I am reading strings from file and I have to identify strings that are similar to eachother but on the basis of a substring i-e...
Hello everyone. I am new to creating make files. I have been able to create simple makefiles for those applications which do not involve database...
I have a function called compr bool class1::compr(const structT1& t1, const structT1& t2) { return t1.dateTime > t2.dateTime; }...
I have a file that has duplicates and I have to select the one with the earliest time 0:1:OrderReceive,01.07.2010...
I am trying to find out the duplicates in a vector and then display the two vector elements to show that these are the elemenets that were...
I am using a vector which has struct type of elements in it. The struct is something like this: struct block { std::string id1;...
Could anyone please tell me how to get the second last element of the vector since back() returns the last element Thanks
Hello everyone. Is it possible to read two lines of a file in one iteration based on some condition? The files has several blocks of data where...
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...
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...
Separate names with a comma.