Ask your own question, for FREE!
Computer Science 7 Online
OpenStudy (anonymous):

Hi I am using c++ but whem I try to compile a program it gives out............ question1.cpp:15:1: error: ‘b’ does not name a type b = 5;

OpenStudy (e.mccormick):

All variables must be defined before use. Do you have something like `int b;` before that? How about using devine and assign at the same time? `int b = 5;`

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Arriyanalol: i need help
2 days ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
2 days ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!