how can i call find and replace function from the string class
by utilising google?
iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
main(){
Wake up and smell the current millenium, or even the '90s.
gets(string);
I know of no forums that will treat you any better than a first-day newb for posting code contiaining the most well-known do-not-use-ever function in C.
scanf("%s",&change);
http://www.daniweb.com/tutorials/tutorial45806.html
getch();
The nonportable code tends to get panned if there is a reasonable and portable replacement.
Dave Sinkula
long time no c
5,058 posts since Apr 2004
Reputation Points: 2,780
Solved Threads: 314