Coursera
Explore
  • Browse
  • Search
  • For Enterprise
  • Log In
  • Sign Up

C++ For C Programmers, Part A

OverviewSyllabusFAQsCreatorsPricingRatings and Reviews

HomeComputer ScienceSoftware Development

C++ For C Programmers, Part A

University of California, Santa Cruz

About this course: This course is for experienced C programmers who want to program in C++. The examples and exercises require a basic understanding of algorithms and object-oriented software.


Created by:  University of California, Santa Cruz
University of California, Santa Cruz

  • Ira Pohl

    Taught by:  Ira Pohl, Professor

    Computer Science
Language
English
How To PassPass all graded assignments to complete the course.
User Ratings
4.3 stars
Average User Rating 4.3See what learners said
Syllabus
WEEK 1
Module 1
How to convert an existing C program to C++. Use of type safe Input/Output. Avoiding the preprocessor.
10 videos, 1 reading
  1. 阅读: 1.0 Module 1 Overview
  2. Video: 1.1 Overview and Course Organization
  3. Video: 1.2 Getting Started
  4. Video: 1.3 Converting a C Program to C++
  5. Video: 1.4 Using C++ Code
  6. Video: 1.5 C++ Improvements
  7. Video: 1.6 C++ Advantages
  8. Video: 1.7 C++ is Better Than C
  9. Video: 1.8 C Swap Function
  10. Video: 1.9 Swap Function in C++
  11. Video: 1.10 Generics
Graded: Homework 1: Convert a C program to C++
WEEK 2
Module 2
Review of Dijkstra's shortest path algorithm. C++ Functions and Generics. C++ classes and OO. Point as an example.
10 videos, 1 reading
  1. 阅读: 2.0 Module 2 Overview
  2. Video: 2.1 C++ Generics and Functions
  3. Video: 2.2 Multiple Template Arguments
  4. Video: 2.3 Graph Theory & Algorithms
  5. Video: 2.4 Graph as a Data Structure
  6. Video: 2.5 Dijkstra Shortest Path
  7. Video: 2.6 C++ Creating Types
  8. Video: 2.7 Enum & Operator Overloading
  9. Video: 2.8 Example: typedef days
  10. Video: 2.9 Natural Way to Build Widgets
  11. Video: 2.10 C++ Point
WEEK 3
Module 3
Point: Default constructor and initializing syntax. Conversion Constructors. Copy Constructor. List and dynamic memory allocation. Deep Copy.
12 videos, 1 reading
  1. 阅读: 3.0 Module 3 Overview
  2. Video: 3.1 C++ Classes & Object Orientation
  3. Video: 3.2 Point and its Constructor
  4. Video: 3.3 More Constructors
  5. Video: 3.4 Using Dijkstra's Algorithm
  6. Video: 3.5 The is-connected Algorithm
  7. Video: 3.6 Complex Aggregates - Lists
  8. Video: 3.7 List
  9. Video: 3.8 Print() Chaining
  10. Video: 3.9 More Elaborate List
  11. Video: 3.10 Deep vs. Shallow Copy
  12. Video: 3.11 Destructor
  13. Video: 3.12 Dynamic Data Structures in STL
Graded: Homework 2: Implement Dijkstra's Algorithm
WEEK 4
Module 4
Prim’s and Kruskal’s algorithms. Use of basic Container Classes. Tripod-Container, Iterator, Algorithm.
14 videos, 1 reading
  1. 阅读: 4.0 Module 4 Overview
  2. Video: 4.1 MST
  3. Video: 4.2 Jarnik-Prim MST
  4. Video: 4.3 Jarnik-Prim MST: Another Look
  5. Video: 4.4 Kruskal's Algorithm
  6. Video: 4.5 Overloading and Function Selection
  7. Video: 4.6 STL and STL C++11
  8. Video: 4.7 STL Example
  9. Video: 4.8 C++11 Feature: auto
  10. Video: 4.9 Vector Methods
  11. Video: 4.10 More Code
  12. Video: 4.11 C++11 Feature: for statement
  13. Video: 4.12 STL Input File
  14. Video: 4.13 Iterators Categories
  15. Video: 4.14 Output a Random Graph
Graded: Homework 3: Compute the minimum spanning tree for an inputted graph
WEEK 5
Final Exam
Practice and final.
1 practice quiz
  1. 练习测验: Exam Practice 1
Graded: Final Exam

FAQs
How It Works
课程作业
课程作业

每门课程都像是一本互动的教科书,具有预先录制的视频、测验和项目。

来自同学的帮助
来自同学的帮助

与其他成千上万的学生相联系,对想法进行辩论,讨论课程材料,并寻求帮助来掌握概念。

证书
证书

获得正式认证的作业,并与朋友、同事和雇主分享您的成功。

Creators
University of California, Santa Cruz
UC Santa Cruz is an outstanding public research university with a deep commitment to undergraduate education. It’s a place that connects people and programs in unexpected ways while providing unparalleled opportunities for students to learn through hands-on experience.
Pricing
Purchase Course
Access to course materials

Available

Access to graded materials

Available

Receive a final grade

Available

Earn a shareable Course Certificate

Available

Ratings and Reviews
Rated 4.3 out of 5 of 365 ratings
Stefano Evangelisti

Very useful and practical course, you learn interesting stuff about graphs along the way too!

Anirudh Yadav

really great assignments.... it is more than just theoretical knowledge

jk

its a amazing

gn

very good explanation ..



You May Also Like
University of California, San Diego
Object Oriented Programming in Java
1 course
University of California, San Diego
Object Oriented Programming in Java
View course
University of California, San Diego
Data Structures and Performance
1 course
University of California, San Diego
Data Structures and Performance
View course
University of California, San Diego
Advanced Data Structures in Java
1 course
University of California, San Diego
Advanced Data Structures in Java
View course
Duke University
Java Programming: Arrays, Lists, and Structured Data
1 course
Duke University
Java Programming: Arrays, Lists, and Structured Data
View course
University of California, San Diego, National Research University Higher School of Economics
Algorithmic Toolbox
1 course
University of California, San Diego, National Research University Higher School of Economics
Algorithmic Toolbox
View course
Coursera
Coursera provides universal access to the world’s best education, partnering with top universities and organizations to offer courses online.
© 2018 Coursera Inc. All rights reserved.
Download on the App StoreGet it on Google Play
  • Coursera
  • About
  • Leadership
  • Careers
  • Catalog
  • Certificates
  • Degrees
  • For Business
  • For Government
  • Community
  • Partners
  • Mentors
  • Translators
  • Developers
  • Beta Testers
  • Connect
  • Blog
  • Facebook
  • LinkedIn
  • Twitter
  • Google+
  • Tech Blog
  • More
  • Terms
  • Privacy
  • Help
  • Accessibility
  • Press
  • Contact
  • Directory
  • Affiliates