How to add instructions for users in our code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to add instructions for users in our code?

Hey guys my first C++ code is ready.. but I want to add some user defined instructions to it, and I don't know how to do it.. plz can anyone tell me how to over come this problem? I mean that those instructions should be visible to the user.

22nd Oct 2017, 12:59 PM
Vaishnav Kadam
Vaishnav Kadam - avatar
2 Answers
+ 2
By udi, I expect you mean Comments. Easy, just use: // before any code and write your thoughts. // s only comment-out one line of code, for multi-line commenting, use /* and end it with */ .
22nd Oct 2017, 1:01 PM
ghostwalker13
ghostwalker13 - avatar
+ 1
plz ans me
23rd Oct 2017, 9:55 AM
Vaishnav Kadam
Vaishnav Kadam - avatar