Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 2 KB

README.md

File metadata and controls

51 lines (35 loc) · 2 KB

Lecture 1: C++ introduction, implementation tasks

IDE

Preferred IDE: CLION (it is free for students, you can get a license (see here for more details)).

Other choices:

Installation

Preprequisites (Windows)

Before installation you should have C++ compiling and building tools installed on your system. One of the options is to install cygwin with the following packages: gcc-g++, make, cmake, gdb. See more info here.

Preprequisites (MAC, Linux)

You should have cmake installed on your system.

C++ introduction

Materials are taken from codechef.com - Introductory Tutorials For Competitive Programming

Materials

NOTE: These pdfs contains my notes and tips. I had some issues with displaying them. I recommend using Adobe Acrobat Reader under Windows and Okular under Linux or MAC.

  • Introduction to C++: pdf
  • Data Types: pdf
  • Control Flow: pdf
  • Input Output: pdf

Notions not covered in materials, but on the lecture

  • compiled vs interpreted programming language
  • arrays
  • functions
  • char arithmetic, ascii table
  • const variables
  • stack vs heap vs static memory
  • object lifetime

Problems

See problems on vjudge. Password: 47

References

Use google if you don't know some language concepts or syntax

C++ references can be found here: