For example, i have char variable = "This is a simple text";
and i need to put word "Very" between "a" and "simple"
How to do it using standart C library?
crioto
0
Newbie Poster
Recommended Answers
Jump to PostFor example, i have char variable = "This is a simple text";
and i need to put word "Very" between "a" and "simple"
How to do it using standart C library?Use strstr library function to search "Very" in the string. If it's found make a room at this point …
Jump to Post>But how to do it?
Did you not read the answers you've been given? Both of them told you to use the strstr function.
All 5 Replies
ArkM
1,090
Postaholic
ajay.krish123
-4
Junior Poster in Training
crioto
0
Newbie Poster
Narue
5,707
Bad Cop
Team Colleague
ajay.krish123
-4
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.