Programowanie w systemie UNIX/Cpp: Różnice pomiędzy wersjami
Usunięta treść Dodana treść
m mv i nowa strona |
|||
Linia 27: | Linia 27: | ||
./a.out |
./a.out |
||
=Biblioteki= |
|||
* [[Allegro| C++ i Allegro]] |
|||
* [[GTK+|C++ i GTK ]] |
|||
* [[Programowanie_C%2B%2B_Qt4_w_systemie_Gnu-Linux | C++ i QT]] |
|||
* [[Programowanie w systemie UNIX/Cpp/cpppengl|C++ i OpenGL]] |
|||
* [[Programowanie w systemie UNIX/Cpp/cpppencl|C++ i OpenCL]] |
|||
==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> |
||
* MPFR |
* MPFR |
||
** MPFR C++ <ref>[http://www.holoborodko.com/pavel/mpfr/ MPFR C++ by Pavel Holoborodko]</ref> |
** MPFR C++ <ref>[http://www.holoborodko.com/pavel/mpfr/ MPFR C++ by Pavel Holoborodko]</ref> |
||
=References= |
=References= |
Wersja z 21:30, 18 wrz 2016
Przykłady
Przykładowe 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
Arbitrary precision