Programowanie w systemie UNIX/Cpp: Różnice pomiędzy wersjami

Z Wikibooks, biblioteki wolnych podręczników.
Usunięta treść Dodana treść
Znacznik: Ręczne wycofanie zmian
Linia 35: Linia 35:




==geomeetryczne==
* [https://www.cgal.org/index.html CGAL]
==graficzne==
==graficzne==
* [https://gmic.eu/ gmic - A small, portable, thread-safe and multi-threaded, C++ image processing library libgmic,]
* [https://gmic.eu/ gmic - A small, portable, thread-safe and multi-threaded, C++ image processing library libgmic,]

==Arbitrary precision==
==Arbitrary precision==
*GMP <ref>[https://www.gidforums.com/t-19665.html Creating large arrays with GMP]</ref>
*GMP <ref>[https://www.gidforums.com/t-19665.html Creating large arrays with GMP]</ref>

Wersja z 22:51, 5 gru 2020

Przykłady

Przykładowy program w C++:


Hello world

#include <iostream> 

int main () {

std::cout << "Hello, world!\n";

return 0;

}

Zapisujemy jako hello.cpp

Kompilujemy:

g++ -Wall hello.cpp

i uruchomiamy:

./a.out

Biblioteki


geomeetryczne

graficzne

Arbitrary precision

Przypisy

  1. Creating large arrays with GMP
  2. MPFR C++ by Pavel Holoborodko