Listen i'm trying to get it to spell my friends first name and i don't know why but it won't take more than one character as a value for "cin>>"
Code:#include <iostream> using namespace std; int main() { float a; cout<<"Okay alex this is where I begin using C++"; cin.get(); cout<<"Please type your name:"; cin>> a; cin.ignore(); cout<<"Your name:" <<a<< "\n"; cin.get(); }