Архив рубрики: C/C++

C is a general-purpose, imperative computer programming language, supporting structured programming, lexical variable scope and recursion, while a static type system prevents many unintended operations.

C++: cppman – manual-страницы для C++

24 июля 2014
 

 cppman – утилита, написанная на Python, которая загружает данные с сайта http://www.cplusplus.com и формирует из них обычную man-страницу. Устанавливаем PyPI: # yum -y install python-pip … Installed: python-pip.noarch 0:1.3.1-4.el6 Complete!

С++: отладка с GDB

19 июля 2014
 

  Домашняя страница проекта – http://www.gnu.org/software/gdb/ Устанавливаем сам отладчик: # yum -y install gdb Предположим, у нас есть файл myfirst.cpp: #include <iostream> int main () { // using namespace std; // using std::cout; using std::endl; std::cout << “Come up and C++ me some time.”; std::cout << endl; std::cout << “You won’t regret it!” << endl; return… Читать далее »