Skip to content

Repository files navigation

CI

Python and C/C++ Tutorial : A Comparative Approach

Overview

  • Audiences : Starting graduate students

  • Programming language : Python and C/C++

  • Operating system : Linux

Contents

Ch Sec Subject Linux Python C++
00 00 Overview
Introducing Linux bash
✓
10 Introducing Python
Installing Anaconda
print('Hello World!')
python hello.py
✓
20 Introducing C/C++
Installing g++ and make
printf("Hello World!\n"); / cout << "Hello World\n";
g++ -Wall hello.cpp -o hello && ./hello
✓
10 00 Introducing git
git clone, git config --list, git status, git log, git add -p, git commit -m '<message>', git push -u <remote> <branch>
github, and travis-ci
✓
10 Representing Data types
integers and 2's complements
floating point and complex numbers
characters and strings
list and tuple vs array
dict vs struct and union
✓ ✓
20 Operating
+ - * /, %, {++, --}, (//, **)
+= and *= vs assembly
<<, >>, |, &
✓ ✓
20 00 Controlling flow : conditional
if-else if-else
switch-case
✓ ✓
10 Controlling flow : repetition
for
while
do while
✓ ✓
20 Wrapping into Functions and calling by value ✓ ✓
30 00 Interpreting Pointers and Calling by Reference ✓
10 Managing memory with malloc and free ✓
20 Opening the hood of python : list of lists and references ✓
40 00 Modularizing and namespaces ✓ ✓
10 Instantiating and inheriting classes ✓ ✓
20 Controlling access to Attributes ✓ ✓
30 State space representation in class ✓
40 Dataclass ✓
50 00 gdb debugger ✓
10 Bridging between Python & C/C++ : cython ✓ ✓
20 Programming in lower level ✓
22 Working with bits : operators ✓
24 Results from "Working with bits" ✓
28 Working with bits : struct and union ✓

About

2018 Python C++ Training

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages