- 5
Int num ; cin>>num what it means in c++
4 Respuestas
+ 1
int num;
initialize "num" as a variable(integer data type)
cin>>num;
accept user input and assign it to the newly created "num" variable.
+ 15
In the world of development, generally, people are happy to help others learn new things, but it's important for each of us to learn the balance between when to ask questions and when not to. We all know that the C++ tutorial covers the topic you're asking about pretty early on in the tutorial. It's important to try to do as much research on your own to find these answers before asking for help. It helps you learn the skill more thoroughly and helps members of the community not to have their time wasted on something that we all know you can figure out on your own. I'm not bashing you for asking this question. We all have questions that need answering, but I'm just saying you should find the balance between when you've spent enough time trying on your own and should ask someone, and when you should probably put more effort into your research and practice.
+ 5
Did you go through the C++ tutorial ?