cppocl / training Goto Github PK
View Code? Open in Web Editor NEWC++ training material
License: Apache License 2.0
C++ training material
License: Apache License 2.0
C++ provides a standard library, that includes many template classes, including containers.
deque is one of a variety of containers for storing a collection of values.
Add basic training for conditional statements, if, else, if else and switch.
Add basic training for the loops, for, while and do while.
Also add advisor against using goto.
To understand some of the advanced features of C++, it is important to understand about lvalue and rvalue.
classes are created and destroyed in various ways, and this covers the basics of the lifetime management of a class object.
Add basic training for writing functions.
It's possible to define alisases for types, and this explains how and why this is important.
Pointers have already been covered, but its also possible to ensure the pointer addresses can be protected from change, and also it's possible to protect the data the pointer is pointing too from change.
Function main has multiple options and needs a details explanation.
There has been some training on a pointer, storing an address, pointer to dynamically allocated memory, but there are also more complex uses of pointers, which is covered here.
Variables can be read and modified, but sometimes it's important to have values that always remain constant.
This can be done with constant variables or enumeration.
C++ provides a standard library, that includes many template classes, including containers.
map is one of a variety of containers for storing a collection of values.
The union construct is similar to the struct but the data shares the same address space.
Extend the training on the existing data types and structures to teach pointers and memory addresses.
C++ provides the auto keyword to allow the language to select the correct type for you.
This can be helpful in reducing the amount of typing done, or reducing time looking up return types for functions, but there is also the cost of sometimes not knowing what type you are dealing with,
Add C++ primitives and standard integer types examples with some comments.
C++ provides a standard library, that includes many template classes, including containers.
multimap is one of a variety of containers for storing a collection of values.
It's possible to make a class object look and feel similar to a primitive C++ type such as an int.
This can be done by writing your own operators like + or = or ==, etc.
Lesson for working with reference variables.
It's possible to have a sequence of values of the same type, and this lesson will provide examples and explanation about the subject.
Working with operators and operator precedence is crucial to avoid introducing problems and also understanding how the compiler resolves ordering of statements.
classes can have static member functions, that can be used as helper funtions without changing any of the variables within a class.
Critical errors can be dealt with by using exception handling.
It's the obvious introduction to any language, but hello world is the defacto place to start.
C++ provides a standard library, that includes many template classes, including containers.
list is one of a variety of containers for storing a collection of values.
C++ provides a standard library, that includes many template classes, including containers.
multiset is one of a variety of containers for storing a collection of values.
It's possible to write a function with any data types, and this lesson is an introduction into how function templates work.
It's possible to specialise classes for specific data types, and this lesson provides examples of how this is done.
References have already been covered, but it's also possible to use constant references, which are an important part of writing safe code.
One of the most powerful and widely used features of C++ is classes and inheritance, and this lesson will be an introduction into what classes are about.
Lesson 3 will provide examples of data structures.
Sometimes data stored in variables needs to be converted to other types, and this lesson will provide details on how this is done.
classes can inherit functionality from other classes, but it's also important to know when to inherit or when to have something as a property.
C++ provides a standard library, that includes many template classes, including containers.
set is one of a variety of containers for storing a collection of values.
It's possible to write a class with any data types, and this lesson is an introduction into how class templates work.
Inherited classes can also be made polymorphic with the use of virtual functions.
The first lesson on pointers was a simple example on how to store the address of a local variable and use a pointer to inspect or change the local variable through a pointer.
This lesson extends on the first lesson, by showing more useful ways in using pointers, but also dynamically allocating memory that can be used and the freed later, without the need to have another local variable.
C++ provides a standard library, that includes many template classes, including containers.
vector is one of a variety of containers for storing a collection of values.
When dealing with mixing signed and unsigned integers, care needs to be taken to understand the rules of how C++ prmotes types, but also how the language deals with the wrapping of values.
Namespaces allow functions or classes to be separated from other functions or classes with the same name.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.