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
~5K People Reached
Favorite Forums
Favorite Tags
c++ x 17

4 Posted Topics

Member Avatar for somshridhar

Dear Sir, I am tring to convert integer to string and using string for further find and replace operations. While doing so I am using for loop to for integers and then wants to store all these integers in strings. But I did not succeed. But If I use only …

Member Avatar for somshridhar
0
321
Member Avatar for somshridhar

[CODE]// istream get #include <iostream> #include <fstream> #include<string> #include<cstring> //#include<sstream> using namespace std; int main () { char c, str[256]; ifstream is; cout << "Enter the name of an existing text file: "; cin.get (str,256); is.open (str); // open file ofstream was; was.open("output.mvw"); string st ("There are two needles in …

Member Avatar for WaltP
0
171
Member Avatar for somshridhar

Dear Sir, I am trying to print the string with the following code, but I am getting errors like Undefined symbol 'string' Undefined symbol 'str'. [CODE]#include<conio.h> #include<string.h> #include<iostream.h> void main() { string str = "My name is shridhar"; cout<<"What is your name"<<str; getch(); } [/CODE] I think the problem is …

Member Avatar for kernel>panic
0
4K
Member Avatar for somshridhar

I have following text file input.txt Ram Shaym Rahul Radha Madhuri Sita I want to read this file and create new file from this file showing following change output.txt Ram Shyam Rahul Radha Sridevi Sita I want to replace Madhuri by Sridevi and send output in output.txt Can anyone please …

Member Avatar for jonsca
0
253

The End.