|
codepad
|
|
Recent Pastes:
/* rand example: guess the number */
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
|
| view (20 lines, 1 line of output) |
//#include <stdafx.h> // Visual Studio users need to uncomment this line
#include <iostream>
// add takes two integers as parameters, and returns the result of their sum
// add does not care what the exact values of x and y are
|
| view (17 lines, 1 line of output) |
/* rand example: guess the number */
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
|
| view (25 lines, 1171 lines of output) |
//#include <stdafx.h> // Visual Studio users need to uncomment this line
#include <iostream>
// add takes two integers as parameters, and returns the result of their sum
// add does not care what the exact values of x and y are
|
| view (17 lines, 1 line of output) |