+ 2

How can i assign a saying to a variable while the program is running. Example. a=pumpkin; b=sky;

assigning valuables

13th May 2018, 8:01 AM
Devin Davis
Devin Davis - avatar
2 ответов
+ 3
Not sure if this is what you are looking for. char[] pumpkin = "My pumpkin is carved." char[] sky = "The sky has a red tint." char* a; // some stuff a = pumpkin; // other stuff a = sky;
14th May 2018, 1:51 AM
John Wells
John Wells - avatar
0
cin>>variable;
18th May 2018, 11:05 PM
Pawel Bolek
Pawel Bolek - avatar