Closed Roy7997 closed 3 years ago
hii i am new at learning c++ can u explain me the following step:
why do we use "std::" before declaring string variable for dog_name;. while we dont use that for int dog_age.
do we have to use std:: while declaring string variable every time ?
you can use using namespace std; instead of using std:: every time
using namespace std;
std::
hii i am new at learning c++ can u explain me the following step:
why do we use "std::" before declaring string variable for dog_name;. while we dont use that for int dog_age.
do we have to use std:: while declaring string variable every time ?