User:Akrabbim/C++/References

From Wikipedia, the free encyclopedia

[edit] Libraries:

(also requires using namespace std;)

  • Input/Output stream: <iostream>
  • Input/Output manipulation: <iomanip>
  • Math functions: <math.h>
  • Internal clock for random number generators: <time.h> <cstdlib>
  • AP strings: <string> (also requires using std::string;)
  • File I/O stream: <fstream>


Fixed decimal places:

cout << setiosflags(ios::fixed);

Freeze screen:

system("PAUSE");

[edit] C++ Files

  • User:Akrabbim/guessinggame.cpp
  • User:Akrabbim/craps.cpp