Submit Search
Upload
[C++]6 function2
•
0 likes
•
172 views
Junyoung Jung
Follow
경희대학교 전자﹒전파공학과 학술동아리 마로, 프로그래밍 기초(C++) 교육 자료
Read less
Read more
Software
Report
Share
Report
Share
1 of 16
Download now
Download to read offline
Recommended
JDD2015: Frege - how to program with pure functions - Dierk König
JDD2015: Frege - how to program with pure functions - Dierk König
PROIDEA
Iteration, induction, and recursion
Iteration, induction, and recursion
Mohammed Hussein
21 multi threading - iii
21 multi threading - iii
Ravindra Rathore
Jsp session 12
Jsp session 12
Anuj Singh Rajput
Python Closures Explained | What are Closures in Python | Python Closures
Python Closures Explained | What are Closures in Python | Python Closures
Intellipaat
Virtual function complete By Abdul Wahab (moon sheikh)
Virtual function complete By Abdul Wahab (moon sheikh)
MoonSheikh1
polymorphism and virtual function
polymorphism and virtual function
Bhanuprataparya
Defer, Panic, Recover
Defer, Panic, Recover
Joris Bonnefoy
Recommended
JDD2015: Frege - how to program with pure functions - Dierk König
JDD2015: Frege - how to program with pure functions - Dierk König
PROIDEA
Iteration, induction, and recursion
Iteration, induction, and recursion
Mohammed Hussein
21 multi threading - iii
21 multi threading - iii
Ravindra Rathore
Jsp session 12
Jsp session 12
Anuj Singh Rajput
Python Closures Explained | What are Closures in Python | Python Closures
Python Closures Explained | What are Closures in Python | Python Closures
Intellipaat
Virtual function complete By Abdul Wahab (moon sheikh)
Virtual function complete By Abdul Wahab (moon sheikh)
MoonSheikh1
polymorphism and virtual function
polymorphism and virtual function
Bhanuprataparya
Defer, Panic, Recover
Defer, Panic, Recover
Joris Bonnefoy
[C++]3 loop statement
[C++]3 loop statement
Junyoung Jung
C++ and Data Structure.ppt
C++ and Data Structure.ppt
Rich Alex
Python recursion
Python recursion
Prof. Dr. K. Adisesha
Database structure Structures Link list and trees and Recurison complete
Database structure Structures Link list and trees and Recurison complete
Adnan abid
Python Programming unit5 (1).pdf
Python Programming unit5 (1).pdf
jamvantsolanki
Recursion in Python.pdf
Recursion in Python.pdf
MayankSinghRawat6
Recursion vs. Iteration: Code Efficiency & Structure
Recursion vs. Iteration: Code Efficiency & Structure
cogaxor346
[KCC oral] 정준영
[KCC oral] 정준영
Junyoung Jung
전자석을 이용한 타자 연습기
전자석을 이용한 타자 연습기
Junyoung Jung
[2018 평창올림픽 기념 SW 공모전] Nolza 보고서
[2018 평창올림픽 기념 SW 공모전] Nolza 보고서
Junyoung Jung
[2018 평창올림픽 기념 SW 공모전] Nolza - Activity curation service
[2018 평창올림픽 기념 SW 공모전] Nolza - Activity curation service
Junyoung Jung
SCC (Security Control Center)
SCC (Security Control Center)
Junyoung Jung
Google File System
Google File System
Junyoung Jung
sauber92's Potfolio (ver.2012~2017)
sauber92's Potfolio (ver.2012~2017)
Junyoung Jung
Electron을 사용해서 Arduino 제어하기
Electron을 사용해서 Arduino 제어하기
Junyoung Jung
[UNITHON 5TH] KOK - 프로귀찮러를 위한 지출관리 서비스
[UNITHON 5TH] KOK - 프로귀찮러를 위한 지출관리 서비스
Junyoung Jung
[우아주, Etc] 정준영 - 페이시스템
[우아주, Etc] 정준영 - 페이시스템
Junyoung Jung
[우아주, 7월] 정준영
[우아주, 7월] 정준영
Junyoung Jung
[team608] 전자석을 이용한 타자연습기
[team608] 전자석을 이용한 타자연습기
Junyoung Jung
[Kcc poster] 정준영
[Kcc poster] 정준영
Junyoung Jung
[Graduation Project] 전자석을 이용한 타자 연습기
[Graduation Project] 전자석을 이용한 타자 연습기
Junyoung Jung
[KCC poster]정준영
[KCC poster]정준영
Junyoung Jung
More Related Content
Similar to [C++]6 function2
[C++]3 loop statement
[C++]3 loop statement
Junyoung Jung
C++ and Data Structure.ppt
C++ and Data Structure.ppt
Rich Alex
Python recursion
Python recursion
Prof. Dr. K. Adisesha
Database structure Structures Link list and trees and Recurison complete
Database structure Structures Link list and trees and Recurison complete
Adnan abid
Python Programming unit5 (1).pdf
Python Programming unit5 (1).pdf
jamvantsolanki
Recursion in Python.pdf
Recursion in Python.pdf
MayankSinghRawat6
Recursion vs. Iteration: Code Efficiency & Structure
Recursion vs. Iteration: Code Efficiency & Structure
cogaxor346
Similar to [C++]6 function2
(7)
[C++]3 loop statement
[C++]3 loop statement
C++ and Data Structure.ppt
C++ and Data Structure.ppt
Python recursion
Python recursion
Database structure Structures Link list and trees and Recurison complete
Database structure Structures Link list and trees and Recurison complete
Python Programming unit5 (1).pdf
Python Programming unit5 (1).pdf
Recursion in Python.pdf
Recursion in Python.pdf
Recursion vs. Iteration: Code Efficiency & Structure
Recursion vs. Iteration: Code Efficiency & Structure
More from Junyoung Jung
[KCC oral] 정준영
[KCC oral] 정준영
Junyoung Jung
전자석을 이용한 타자 연습기
전자석을 이용한 타자 연습기
Junyoung Jung
[2018 평창올림픽 기념 SW 공모전] Nolza 보고서
[2018 평창올림픽 기념 SW 공모전] Nolza 보고서
Junyoung Jung
[2018 평창올림픽 기념 SW 공모전] Nolza - Activity curation service
[2018 평창올림픽 기념 SW 공모전] Nolza - Activity curation service
Junyoung Jung
SCC (Security Control Center)
SCC (Security Control Center)
Junyoung Jung
Google File System
Google File System
Junyoung Jung
sauber92's Potfolio (ver.2012~2017)
sauber92's Potfolio (ver.2012~2017)
Junyoung Jung
Electron을 사용해서 Arduino 제어하기
Electron을 사용해서 Arduino 제어하기
Junyoung Jung
[UNITHON 5TH] KOK - 프로귀찮러를 위한 지출관리 서비스
[UNITHON 5TH] KOK - 프로귀찮러를 위한 지출관리 서비스
Junyoung Jung
[우아주, Etc] 정준영 - 페이시스템
[우아주, Etc] 정준영 - 페이시스템
Junyoung Jung
[우아주, 7월] 정준영
[우아주, 7월] 정준영
Junyoung Jung
[team608] 전자석을 이용한 타자연습기
[team608] 전자석을 이용한 타자연습기
Junyoung Jung
[Kcc poster] 정준영
[Kcc poster] 정준영
Junyoung Jung
[Graduation Project] 전자석을 이용한 타자 연습기
[Graduation Project] 전자석을 이용한 타자 연습기
Junyoung Jung
[KCC poster]정준영
[KCC poster]정준영
Junyoung Jung
16 학술제 마무리 자료
16 학술제 마무리 자료
Junyoung Jung
[Maybee] inSpot
[Maybee] inSpot
Junyoung Jung
[대학생 연합 해커톤 UNITHON 3RD] Mingginyu_ppt
[대학생 연합 해커톤 UNITHON 3RD] Mingginyu_ppt
Junyoung Jung
[2016 K-global 스마트디바이스톤] inSpot
[2016 K-global 스마트디바이스톤] inSpot
Junyoung Jung
[2015전자과공모전] ppt
[2015전자과공모전] ppt
Junyoung Jung
More from Junyoung Jung
(20)
[KCC oral] 정준영
[KCC oral] 정준영
전자석을 이용한 타자 연습기
전자석을 이용한 타자 연습기
[2018 평창올림픽 기념 SW 공모전] Nolza 보고서
[2018 평창올림픽 기념 SW 공모전] Nolza 보고서
[2018 평창올림픽 기념 SW 공모전] Nolza - Activity curation service
[2018 평창올림픽 기념 SW 공모전] Nolza - Activity curation service
SCC (Security Control Center)
SCC (Security Control Center)
Google File System
Google File System
sauber92's Potfolio (ver.2012~2017)
sauber92's Potfolio (ver.2012~2017)
Electron을 사용해서 Arduino 제어하기
Electron을 사용해서 Arduino 제어하기
[UNITHON 5TH] KOK - 프로귀찮러를 위한 지출관리 서비스
[UNITHON 5TH] KOK - 프로귀찮러를 위한 지출관리 서비스
[우아주, Etc] 정준영 - 페이시스템
[우아주, Etc] 정준영 - 페이시스템
[우아주, 7월] 정준영
[우아주, 7월] 정준영
[team608] 전자석을 이용한 타자연습기
[team608] 전자석을 이용한 타자연습기
[Kcc poster] 정준영
[Kcc poster] 정준영
[Graduation Project] 전자석을 이용한 타자 연습기
[Graduation Project] 전자석을 이용한 타자 연습기
[KCC poster]정준영
[KCC poster]정준영
16 학술제 마무리 자료
16 학술제 마무리 자료
[Maybee] inSpot
[Maybee] inSpot
[대학생 연합 해커톤 UNITHON 3RD] Mingginyu_ppt
[대학생 연합 해커톤 UNITHON 3RD] Mingginyu_ppt
[2016 K-global 스마트디바이스톤] inSpot
[2016 K-global 스마트디바이스톤] inSpot
[2015전자과공모전] ppt
[2015전자과공모전] ppt
Recently uploaded
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
Power Karaoke
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
kalichargn70th171
Professional Resume Template for Software Developers
Professional Resume Template for Software Developers
Vinodh Ram
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
kalichargn70th171
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
joe51371421
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
soniya singh
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
OPEN KNOWLEDGE GmbH
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software Solutions
Mehedi Hasan Shohan
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
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
Ortus Solutions, Corp
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
Wave PLM
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
kotipi9215
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
MyIntelliSource, Inc.
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
aditisharan08
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
AxelRicardoTrocheRiq
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learning
VitsRangannavar
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
bodapatigopi8531
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
VICTOR MAESTRE RAMIREZ
EY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
Neo4j
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
Wave PLM
Recently uploaded
(20)
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
Professional Resume Template for Software Developers
Professional Resume Template for Software Developers
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software Solutions
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learning
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
EY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
[C++]6 function2
1.
Function2Presented by Junyoung
Jung Club MARO Dept. of Electronic and Radio Engineering Kyung Hee Univ. ch6.
2.
Content 1. Recursion Function 2. Call by
Value 3. Call by Reference 4. Practice 5. Assignments 0. Last class Review
3.
Content 3 0. Last classReview 4. Practice 5. Assignments 1. RecursiveFunction 2. Call by
Value 3. Call by Reference
4.
Content 4 0. Last classReview 4. Practice 5. Assignments 1. RecursiveFunction 2. Call by
Value 3. Call by Reference # 재귀함수 함수가 자기 자신을 호출하는 것을 재귀 함수라 한다. 반복문으로 충분히 나타낼 수 있지만, 재귀함수를 사용하는 것은 직관적으로 알기 쉬워서이다!!
5.
Content 5 0. Last classReview 4. Practice 5. Assignments 1. RecursiveFunction 2. Call by
Value 3. Call by Reference # 재귀함수 저번주 과제 재귀써서 푼 칭구들 있던데, 재귀를 안 쓴 사람 & 과제를 안 한사람은 지금 한번 해보기!!!
6.
Content 6 0. Last classReview 4. Practice 5. Assignments 1. RecursiveFunction 2. Call by
Value 3. Call by Reference # Call by Value (값에 의한 호출) … void func1(int a, int b) { int temp = a; a = b; b= temp; return ; } int main() { int num1 = 10; int num2 = 20; cout << “befor : ” << num1 << “, ” << num2 << endl; func1(num1, num2); cout << “after: ” << num1 << “, ” << num2 << endl; return 0; }
7.
Content 7 0. Last classReview 4. Practice 5. Assignments 1. RecursiveFunction 2. Call by
Value 3. Call by Reference … void func2(int *a, int *b) { int temp = *a; *a = *b; *b= temp; return ; } int main() { int num1 = 10; int num2 = 20; cout << “befor : ” << num1 << “, ” << num2 << endl; func2(&num1, &num2); cout << “after: ” << num1 << “, ” << num2 << endl; return 0; } # Call by Reference (참조에 의한 호출)
8.
Content 8 0. Last classReview 4. Practice 5. Assignments 1. RecursiveFunction 2. Call by
Value 3. Call by Reference func1 vs func2 차이점을 알겠나?
9.
Content 9 0. Last classReview 4. Practice 5. Assignments 1. RecursiveFunction 2. Call by
Value 3. Call by Reference 무엇을 참조(?)????? Ch02에서 배운 컴퓨터 구조 를 생각해보자!!!
10.
Content 10 0. Last classReview 4. Practice 5. Assignments 1. RecursiveFunction 2. Call by
Value 3. Call by Reference CPU Memory I/O I/O . . . 0 4 8 100 104 108 Processing
11.
Content 11 0. Last classReview 4. Practice 5. Assignments 1. RecursiveFunction 2. Call by
Value 3. Call by Reference * & : 메모리 주소를 가리킨다 : 메모리 주소를 받는다 # 이것만은 꼭 이해 !!!
12.
Content 12 0. Last classReview 4. Practice 5. Assignments 1. RecursiveFunction 2. Call by
Value 3. Call by Reference … void func1(int *a, int *b) { } int main() { … func1(&num1, &num2); return 0; } . . . num1 num2 func2( *a , *b ) 100번지 101번지 # 이것만은 꼭 이해 !!!
13.
Content 13 0. Last classReview 4. Practice 5. Assignments 1. RecursiveFunction 2. Call by
Value 3. Call by Reference 위에 예제 코드 보지 말고 직접 코딩해보기 func1: call by value 이용 swap func2: call by reference 이용 swap # Practice
14.
Content 14 0. Last classReview 2. Call by
Value 3. Call by Reference 4. Practice 5. Assignments 1. RecursiveFunction Assignment ) 재귀를 써서 Factorial 함수 만들기
15.
Content 15 0. Last classReview 2. Call by
Value 3. Call by Reference 4. Practice 5. Assignments 1. RecursiveFunction Assignment 뽀너스) D-Day 계산하는 함수 만들기!!!!!!!!!!!! (참고로 내가 1학년때 이거하느라 개고생) (시간 남는 사람만 해봐 ㅋㅋㅋㅋㅋㅋ)
16.
Thank you
Download now