博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
C++ Notes: Table of Contents
阅读量:6224 次
发布时间:2019-06-21

本文共 2476 字,大约阅读时间需要 8 分钟。

: C++ Notes: Table of Contents

Some of these supplemental notes are good, others only rough drafts or half-completed. Because they are designed only to provide additional examples, summaries, or explanations where the textbook is weak, they do not cover many obviously important topics. You can download a zipped version: [less than 400 KB]. -- Fred

Getting Started

  • Development Systems
  • Model programs
  • Misc

Summaries

  • - types, ...

Types and Expressions

Types

  • Integers (int, short, long, char)
  • Floating Point (float, double, long double)
  • Characters (char)
  • bool
  • Enums

Expressions

  • Bitwise Operators

Control Flow

Loops

  • Examples
  • Programming Problems - Reading from cin
  • Programming Problems - Writing from a loop
  • Programming Problems - Nested loops

Switch Statement

Functions

  • Programming Problems

Exceptions

  • try - catch

Input / Output

GUI

Arrays

One-dimensional Arrays

C-Strings - arrays of char

  • Here are solutions to a few problems, using separate source files.

2-dimensional arrays

Battleship Example

Sorting Arrays

Searching Arrays

Misc Array Function Examples

Misc practical issues.

Multiple source files

Pointers, References, and Dynamic Allocation

Pointers and References

Pointers, arrays, and subscripts

  • Programming Problems

Dynamic allocation (new, delete)

Structs

Examples

  • Classical (non-OOP) Linked Lists
  • Binary Search Trees
  • Expression Trees

  • OOP
  • Classes
  • Data members
  • Constructors and Destructors
  • Operator Overloading
  • Member functions
  • Friend functions
  • Inheritance
    • Nothing yet

  • Templates
  • Template functions
    • Nothing yet
  • Template Classes

STL (Standard Template Library) containers, iterators, algorithms

General

Containers

  • General information
  • Sequence containers
    • Strings
      • header
      • - uses vector, string, ifstream.
    • Lists
      • header
    • Deques
  • Associative containers
    • Maps, Multimaps
    • Sets, Multisets
  • Adapter containers (based on other containers)
    • Stacks
    • Queues
    • Priority Queues

Iterators

Examples

  • Lefthand
    • - uses string.
    • - uses string and vector.
    • - uses string and set.
  • - Uses vector, string, sort.
  • Printing input words in reverse order
    • - for comparison.

Misc

Random numbers

Preprocessor

Big-Oh Notation

Other online sources

  • - Function references.
  • - Many articles from beginner to advanced. Very interesting.
  • has both volumes of Bruce Eckel's excellent Thinking in C++ books. Yes, the entire books are there! These aren't for real beginners, but after you've had a little bit of C++ programming, these will be very useful.
  • Has made an entire 1991 C book online freely available.

.

转载地址:http://cijna.baihongyu.com/

你可能感兴趣的文章
前加绩中国、信雅达高级全栈工程师:吴劲松
查看>>
-bash: pod: command not found 解决办法
查看>>
GCD hdu1695容斥原理
查看>>
Node.js:回调函数
查看>>
python 发送邮件 <QQ+腾讯企业邮箱>
查看>>
细数JDK里的设计模式
查看>>
Linux~上部署.net MVC出现的问题与解决
查看>>
DDD~充血模型和失血模型
查看>>
android DPI与分辨率的关系及计算方式
查看>>
forward_list
查看>>
伪分布式网络爬虫框架的设计与自定义实现(一)
查看>>
解决npm ERR! Unexpected end of JSON input while parsing near的方法汇总
查看>>
MySQL 入门
查看>>
js的操作及css样式
查看>>
bootstrapValidator关于js,jquery动态赋值不触发验证(不能捕获“程序赋值事件”)解决办法...
查看>>
数据库设计基础>范式
查看>>
POJ 3461 Oulipo(模式串在主串中出现的次数)
查看>>
Openstack的镜像属性
查看>>
【分享】用Canvas实现画板功能
查看>>
C++走向远洋——46(教师兼干部类、多重继承、派生)
查看>>