Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 10 Online
OpenStudy (anonymous):

hi i'm new to C++ can anyone tell me what's wrong with this ? thanks ~! http://www.sourcepod.com/evypzj11-6457

OpenStudy (anonymous):

Suggest you try to Computer Science forum. This is for students who are going through MIT 6.00 course exercises and learning Python.

OpenStudy (anonymous):

oh thanks~ i actually thought this was the CS forum XD

OpenStudy (anonymous):

What exactly is wrong with it?

OpenStudy (anonymous):

Line 16. cin.getline(name,strlen(name)); you are using strlen() on an uninitialized char array.

OpenStudy (anonymous):

oh thank you so much ~! i don't know why i did not notice that before XD

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
1 day ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
1 day 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!