Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ cin string

#include <iostream>
using namespace std;
int main () {
	String a; 
  	cin>>a; //takes b and stores it into a variable
  	cout<<a; //should output b
}
 
PREVIOUS NEXT
Tagged: #cin #string
ADD COMMENT
Topic
Name
3+2 =