0

Does anyone know how to declare a variable that isn't a number in C++?

I'm trying to declare a variable but don't know what to do. I only know int variables, but that's only for numbers. I also want to know how to make it work with the cin command.

26th Apr 2018, 8:21 PM
JDLives
4 Respostas
26th Apr 2018, 8:24 PM
Emma
26th Apr 2018, 11:42 PM
Manual
Manual - avatar
+ 5
There are also many other different data types (int, float, char, string...). In the 3 module of cpp talk about them.
26th Apr 2018, 8:30 PM
Leonardo Matheus
Leonardo Matheus - avatar
26th Apr 2018, 8:37 PM
Emma