filmov
tv
Finding and replacing strings in C++ | When declared as char array and std:: string

Показать описание
In this video 13 - part 4F of Chapter 4 of @c2 - Computer Curiosity channel, various techniques of finding and replacing a given string when declared as char array and when declared as std::array in a program in C++ is discussed. It is explained diagrammatically.
Following topics are covered
0:35 FIND operation in String - Introduction
1:20 Reversing a string when declared as char array
5:42 Program to find string in a given char array using strchr(), strrchr(), strpbrk(), strstr() function
15:42 Using strtok() function
16:26 Program to tokensize a given string using strtok() function
19:35 Finding string by creating user-defined function
21:59 Program to find a given string by creating user-defined function
28:01 Find string when treated as std::string using find() and other functions
32:42 Program to make use of in-built member function to find string
43:27 Find string using user-defined function when string is declared using std:: string
47:53 Program to find std::string using user-defined function
52:59 Replacing strings
56:08 Program to replace string
With Live programming examples in support.
#computerscience #computerscience #iitbombay #iitdelhi #cplusplus #cplusplusprogramming #cplusplustutorial #nit #iiithyderabad #jee #plustwo #plustwofinalexamrevision #python #instagram #reels #india #reelshorts #shorts #anshuman #iitmotivation #programming #coding #crackit #placement #java #javascript #learn #engineer #gate #ugcnet #ugc #jeeadvanced #youtube #youtubeshorts #youtuber #computerscience #class #interview #intel #hclrecruitment #tcs #infosys #adobe #delhi #hyderabad #nitjamshedpur #nitjaipur #iitmadras #btech #semester #semester_3
Following topics are covered
0:35 FIND operation in String - Introduction
1:20 Reversing a string when declared as char array
5:42 Program to find string in a given char array using strchr(), strrchr(), strpbrk(), strstr() function
15:42 Using strtok() function
16:26 Program to tokensize a given string using strtok() function
19:35 Finding string by creating user-defined function
21:59 Program to find a given string by creating user-defined function
28:01 Find string when treated as std::string using find() and other functions
32:42 Program to make use of in-built member function to find string
43:27 Find string using user-defined function when string is declared using std:: string
47:53 Program to find std::string using user-defined function
52:59 Replacing strings
56:08 Program to replace string
With Live programming examples in support.
#computerscience #computerscience #iitbombay #iitdelhi #cplusplus #cplusplusprogramming #cplusplustutorial #nit #iiithyderabad #jee #plustwo #plustwofinalexamrevision #python #instagram #reels #india #reelshorts #shorts #anshuman #iitmotivation #programming #coding #crackit #placement #java #javascript #learn #engineer #gate #ugcnet #ugc #jeeadvanced #youtube #youtubeshorts #youtuber #computerscience #class #interview #intel #hclrecruitment #tcs #infosys #adobe #delhi #hyderabad #nitjamshedpur #nitjaipur #iitmadras #btech #semester #semester_3