Programowanie w systemie UNIX/Cpp: Różnice pomiędzy wersjami
Usunięta treść Dodana treść
Znacznik: Wycofane |
m →graficzne: cgal Znacznik: Ręczne wycofanie zmian |
||
Linia 35: | Linia 35: | ||
==geometryczne== |
|||
* [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:50, 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