how do i declare a whole bunch of integer variables
by atjurhs from LinuxQuestions.org on (#6H8QE)
hi,
i have 14 variables that are integers. i would like to "hard code" them into my c++ code. is there a way to declare them all as integers (as a group) with one command or do i have to declare them each individually as ints in the "usual way"?
please forgive me if i'm not explaining my question very well. i'm very new to coding
thanks!
i have 14 variables that are integers. i would like to "hard code" them into my c++ code. is there a way to declare them all as integers (as a group) with one command or do i have to declare them each individually as ints in the "usual way"?
please forgive me if i'm not explaining my question very well. i'm very new to coding
thanks!