Submit Search
Upload
[KOSSA] C++ Programming - 18th Study - STL #4
•
4 likes
•
757 views
Seok-joon Yun
Follow
[KOSSA] C++ Programming - 18th Study - STL #4
Read less
Read more
Software
Report
Share
Report
Share
1 of 15
Download now
Download to read offline
Recommended
Anadhikar-probesh-Robindranath_Thakur
Anadhikar-probesh-Robindranath_Thakur
bdkites
Tablalaboratorio
Tablalaboratorio
eduardo martinez
Python and rust 2018 pythonkorea jihun
Python and rust 2018 pythonkorea jihun
JIHUN KIM
Server
Server
marveenstein
DEV C++
DEV C++
Chaela Alimpuangon
Rabia
Rabia
university of Gujrat, pakistan
A Prettier Printer
A Prettier Printer
jlongster2
CS50 Lecture1
CS50 Lecture1
昀 李
Recommended
Anadhikar-probesh-Robindranath_Thakur
Anadhikar-probesh-Robindranath_Thakur
bdkites
Tablalaboratorio
Tablalaboratorio
eduardo martinez
Python and rust 2018 pythonkorea jihun
Python and rust 2018 pythonkorea jihun
JIHUN KIM
Server
Server
marveenstein
DEV C++
DEV C++
Chaela Alimpuangon
Rabia
Rabia
university of Gujrat, pakistan
A Prettier Printer
A Prettier Printer
jlongster2
CS50 Lecture1
CS50 Lecture1
昀 李
Look Ma, “update DB to HTML5 using C++”, no hands! 
Look Ma, “update DB to HTML5 using C++”, no hands! 
aleks-f
Strings in C
Strings in C
Aditya Nihal Kumar Singh
C Programming Language Part 11
C Programming Language Part 11
Rumman Ansari
C program
C program
Komal Singh
array, function, pointer, pattern matching
array, function, pointer, pattern matching
Shakila Mahjabin
Computer Programming- Lecture 6
Computer Programming- Lecture 6
Dr. Md. Shohel Sayeed
Data structure week 3
Data structure week 3
karmuhtam
C++ Strings.ppt
C++ Strings.ppt
DilanAlmsa
Lecture 1 string functions
Lecture 1 string functions
Awinash Goswami
#include #include #include using namespace std;v
#include #include #include using namespace std;v
hirstcruz
c programming
c programming
Arun Umrao
strings
strings
teach4uin
Strings
Strings
Dhiviya Rose
2 BytesC++ course_2014_c8_ strings
2 BytesC++ course_2014_c8_ strings
kinan keshkeh
programming fundamentals
programming fundamentals
Farhan ullah baig
Strings in C language
Strings in C language
P M Patil
Lab loop
Lab loop
Manode Boonpeng
C programms
C programms
Mukund Gandrakota
String
String
SANTOSH RATH
An approach to Programming Contests with C++
An approach to Programming Contests with C++
VNIT-ACM Student Chapter
Retrospective.2020 03
Retrospective.2020 03
Seok-joon Yun
Sprint & Jira
Sprint & Jira
Seok-joon Yun
More Related Content
Similar to [KOSSA] C++ Programming - 18th Study - STL #4
Look Ma, “update DB to HTML5 using C++”, no hands! 
Look Ma, “update DB to HTML5 using C++”, no hands! 
aleks-f
Strings in C
Strings in C
Aditya Nihal Kumar Singh
C Programming Language Part 11
C Programming Language Part 11
Rumman Ansari
C program
C program
Komal Singh
array, function, pointer, pattern matching
array, function, pointer, pattern matching
Shakila Mahjabin
Computer Programming- Lecture 6
Computer Programming- Lecture 6
Dr. Md. Shohel Sayeed
Data structure week 3
Data structure week 3
karmuhtam
C++ Strings.ppt
C++ Strings.ppt
DilanAlmsa
Lecture 1 string functions
Lecture 1 string functions
Awinash Goswami
#include #include #include using namespace std;v
#include #include #include using namespace std;v
hirstcruz
c programming
c programming
Arun Umrao
strings
strings
teach4uin
Strings
Strings
Dhiviya Rose
2 BytesC++ course_2014_c8_ strings
2 BytesC++ course_2014_c8_ strings
kinan keshkeh
programming fundamentals
programming fundamentals
Farhan ullah baig
Strings in C language
Strings in C language
P M Patil
Lab loop
Lab loop
Manode Boonpeng
C programms
C programms
Mukund Gandrakota
String
String
SANTOSH RATH
An approach to Programming Contests with C++
An approach to Programming Contests with C++
VNIT-ACM Student Chapter
Similar to [KOSSA] C++ Programming - 18th Study - STL #4
(20)
Look Ma, “update DB to HTML5 using C++”, no hands! 
Look Ma, “update DB to HTML5 using C++”, no hands! 
Strings in C
Strings in C
C Programming Language Part 11
C Programming Language Part 11
C program
C program
array, function, pointer, pattern matching
array, function, pointer, pattern matching
Computer Programming- Lecture 6
Computer Programming- Lecture 6
Data structure week 3
Data structure week 3
C++ Strings.ppt
C++ Strings.ppt
Lecture 1 string functions
Lecture 1 string functions
#include #include #include using namespace std;v
#include #include #include using namespace std;v
c programming
c programming
strings
strings
Strings
Strings
2 BytesC++ course_2014_c8_ strings
2 BytesC++ course_2014_c8_ strings
programming fundamentals
programming fundamentals
Strings in C language
Strings in C language
Lab loop
Lab loop
C programms
C programms
String
String
An approach to Programming Contests with C++
An approach to Programming Contests with C++
More from Seok-joon Yun
Retrospective.2020 03
Retrospective.2020 03
Seok-joon Yun
Sprint & Jira
Sprint & Jira
Seok-joon Yun
Eks.introduce.v2
Eks.introduce.v2
Seok-joon Yun
Eks.introduce
Eks.introduce
Seok-joon Yun
AWS DEV DAY SEOUL 2017 Buliding Serverless Web App - 직방 Image Converter
AWS DEV DAY SEOUL 2017 Buliding Serverless Web App - 직방 Image Converter
Seok-joon Yun
아파트 시세,어쩌다 머신러닝까지
아파트 시세,어쩌다 머신러닝까지
Seok-joon Yun
Pro typescript.ch07.Exception, Memory, Performance
Pro typescript.ch07.Exception, Memory, Performance
Seok-joon Yun
Doing math with python.ch07
Doing math with python.ch07
Seok-joon Yun
Doing math with python.ch06
Doing math with python.ch06
Seok-joon Yun
Doing math with python.ch05
Doing math with python.ch05
Seok-joon Yun
Doing math with python.ch04
Doing math with python.ch04
Seok-joon Yun
Doing math with python.ch03
Doing math with python.ch03
Seok-joon Yun
Doing mathwithpython.ch02
Doing mathwithpython.ch02
Seok-joon Yun
Doing math with python.ch01
Doing math with python.ch01
Seok-joon Yun
Pro typescript.ch03.Object Orientation in TypeScript
Pro typescript.ch03.Object Orientation in TypeScript
Seok-joon Yun
C++ Concurrency in Action 9-2 Interrupting threads
C++ Concurrency in Action 9-2 Interrupting threads
Seok-joon Yun
Welcome to Modern C++
Welcome to Modern C++
Seok-joon Yun
[2015-07-20-윤석준] Oracle 성능 관리 2
[2015-07-20-윤석준] Oracle 성능 관리 2
Seok-joon Yun
[2015-07-10-윤석준] Oracle 성능 관리 & v$sysstat
[2015-07-10-윤석준] Oracle 성능 관리 & v$sysstat
Seok-joon Yun
[2015 07-06-윤석준] Oracle 성능 최적화 및 품질 고도화 4
[2015 07-06-윤석준] Oracle 성능 최적화 및 품질 고도화 4
Seok-joon Yun
More from Seok-joon Yun
(20)
Retrospective.2020 03
Retrospective.2020 03
Sprint & Jira
Sprint & Jira
Eks.introduce.v2
Eks.introduce.v2
Eks.introduce
Eks.introduce
AWS DEV DAY SEOUL 2017 Buliding Serverless Web App - 직방 Image Converter
AWS DEV DAY SEOUL 2017 Buliding Serverless Web App - 직방 Image Converter
아파트 시세,어쩌다 머신러닝까지
아파트 시세,어쩌다 머신러닝까지
Pro typescript.ch07.Exception, Memory, Performance
Pro typescript.ch07.Exception, Memory, Performance
Doing math with python.ch07
Doing math with python.ch07
Doing math with python.ch06
Doing math with python.ch06
Doing math with python.ch05
Doing math with python.ch05
Doing math with python.ch04
Doing math with python.ch04
Doing math with python.ch03
Doing math with python.ch03
Doing mathwithpython.ch02
Doing mathwithpython.ch02
Doing math with python.ch01
Doing math with python.ch01
Pro typescript.ch03.Object Orientation in TypeScript
Pro typescript.ch03.Object Orientation in TypeScript
C++ Concurrency in Action 9-2 Interrupting threads
C++ Concurrency in Action 9-2 Interrupting threads
Welcome to Modern C++
Welcome to Modern C++
[2015-07-20-윤석준] Oracle 성능 관리 2
[2015-07-20-윤석준] Oracle 성능 관리 2
[2015-07-10-윤석준] Oracle 성능 관리 & v$sysstat
[2015-07-10-윤석준] Oracle 성능 관리 & v$sysstat
[2015 07-06-윤석준] Oracle 성능 최적화 및 품질 고도화 4
[2015 07-06-윤석준] Oracle 성능 최적화 및 품질 고도화 4
Recently uploaded
What is Binary Language? Computer Number Systems
What is Binary Language? Computer Number Systems
JheuzeDellosa
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
Tier1 app
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
kalichargn70th171
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
kotipi9215
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
kellynguyen01
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
soniya singh
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Alberto González Trastoy
Asset Management Software - Infographic
Asset Management Software - Infographic
Hr365.us smith
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
kaushalgiri8080
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
OnePlan Solutions
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
AxelRicardoTrocheRiq
EY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
Neo4j
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
ICS
Professional Resume Template for Software Developers
Professional Resume Template for Software Developers
Vinodh Ram
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
soniya singh
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
Christina Lin
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
Wave PLM
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Christina Lin
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
OPEN KNOWLEDGE GmbH
Recently uploaded
(20)
What is Binary Language? Computer Number Systems
What is Binary Language? Computer Number Systems
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Asset Management Software - Infographic
Asset Management Software - Infographic
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
EY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
Professional Resume Template for Software Developers
Professional Resume Template for Software Developers
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
[KOSSA] C++ Programming - 18th Study - STL #4
1.
2.
3.
3
4.
4 typedef std::basic_string<char>
string typedef std::basic_string<wchar_t> wstring
5.
5 #include <iostream> #include <string> std::string
str("Hello!"); const char* p1 = "Hello!"; const char* p2 = p1 + 6; std::string s1; std::string s2("Hello!"); std::string s3("Hello!", 2); std::string s4(5, 'H'); std::string s5(str.begin(), str.end()); std::string s6(p1, p2);
6.
6 std::string s1("Hello"); s1 +=
' '; s1 += "C++"; s1.push_back(' '); s1.append("world"); std::cout << s1 << std::endl;
7.
7 std::string s1("Hello!"); const char
*sz; sz = s1.c_str(); std::cout << "sz : " << sz << std::endl;
8.
9.
9
10.
10 #include <iostream> #include <stack> using
namespace std; void main() { stack<int> st; st.push(1); st.push(2); st.push(3); int count = st.size(); for (int i = 0; i < count; i++) { cout << st.top() << endl; st.pop(); } }
11.
12.
12
13.
13 #include <iostream> #include <queue> using
namespace std; void main() { queue<int> qu; qu.push(1); qu.push(2); qu.push(3); int count = qu.size(); for (int i = 0; i < count; i++) { cout << qu.front() << endl; qu.pop(); } }
14.
15.
15
Download now