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

Материал из Wiki - Факультет компьютерных наук
Перейти к: навигация, поиск
(Новая страница: «== Общая информация == Почта: kashin.andrej@gmail.com == Семинары == === 02.11 === How to install Linux? * Take Ubuntu from https:…»)
 
(02.11)
Строка 10: Строка 10:
 
* Take Ubuntu from https://www.ubuntu.com/ and install it on you laptop
 
* Take Ubuntu from https://www.ubuntu.com/ and install it on you laptop
 
* Install it on https://www.virtualbox.org/
 
* Install it on https://www.virtualbox.org/
* Get Digital Ocean / Amazon machine through github student pack and code using SSH there
+
* Get Digital Ocean / Amazon machine through [https://education.github.com/pack github student pack] and code using SSH there
 
* For the first lesson you can use https://www.tutorialspoint.com/unix_terminal_online.php for practice
 
* For the first lesson you can use https://www.tutorialspoint.com/unix_terminal_online.php for practice
  

Версия 08:19, 3 ноября 2016

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

Почта: 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/