Explore Connect Documentation
Snippets

Computing with Data

elgeish
345.6K views
GitHub

Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content
Previous: Input - Part I Next: Input - Part III

Input - Part II

#include <iostream>
#include <string>
using namespace std;

int main() {
  int c, d;
  
  // read buffered data from the standard input stream, 
  // convert the first two inputs into integers, and 
  // store them in c and d
  cin >> c >> d;
  
  return 0;
}
Suggested playgrounds

Python Hello World program

By
SJTECollege
2,184
131
6

Correct the code to display 'Hello World!'

By
SJTECollege
2,966
132
3

Les bases de Python pour le lycée

By
smalicet
3,190
7
0

Apprendre Python dans le secondaire

By
CarrDav.ous
70.6K
195
31
Open Source Your Knowledge: become a Contributor and help others learn. Create New Content