Основы и методология программирования 2016/2017/168-2

Материал из Wiki - Факультет компьютерных наук
Перейти к: навигация, поиск

Общая информация

Почта: kashin.andrej@gmail.com

Семинары

02.11

How to install Linux?

Useful Unix tools:

  • Navigation: ls, cd,
  • Work with file system: cp, mv, rm
  • Work with files: cat, head, tail, sort, uniq, wc
  • Interaction between programs: pipes, redirection, <, >, >>, stdin, stdout, stderr
  • Text editors and IDEs: vim, Atom, CLion

Get C++ compiler:

  • OSX: brew install homebrew/versions/llvm38
  • Ubuntu: sudo apt-get install clang-3.8

Copiling code:

  • Compilers: clang++, g++
  • Useful flags: -Wall -Wextra -Wconvertion

Running code:

  • ./a.out < input.txt

Installing cpplint:

Ссылка на контест: https://official.contest.yandex.ru/contest/3154/problems/