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

Usunięta treść Dodana treść
→‎Użycie: komentarz
Linia 163:
 
<source lang=c>
// gcc foo.c -lmpc
 
#include "mpc.h"
 
int main() {
mpc_t x; // declaration
mpc_init2 (x, 256); // Initialisation
// Assignment ( here nothing )
// Computation ( here nothing )
mpc_clear (x); // Freeing
 
mpc_clear (x); //Freeing
return 0;
}