Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
Favorite Forums
Favorite Tags
c++ x 8

2 Posted Topics

Member Avatar for picass0

hi ancient dragon in your above mentioned code std::string id = line.substring(pos+1); cout << id << '\n'; here it doesnt displays the rest of the code that means the strings after , is not fetched by std::string id = line.substring(pos+1);

Member Avatar for anupa
0
1K
Member Avatar for anupa

Hi, as per the requirement i was asked to create a code that fetches each line under a particular section of a text file and store it in a variable. [code]#include <iostream> #include <fstream> #include <string.h> using namespace std; int main() { ifstream ifs("catter.txt"); string line; char name[100]; char cat[100]="mkdir"; …

Member Avatar for anupa
0
1K

The End.