Plz tell how to print c++ program own source file code in output | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Plz tell how to print c++ program own source file code in output

6th Apr 2020, 5:08 AM
Amit Kumar
Amit Kumar - avatar
4 Answers
+ 1
I tried (play) with it in the past, read about it and try : https://en.m.wikipedia.org/wiki/Quine_(computing) https://rosettacode.org/wiki/Quine I did in C though , can be easily converted try it : https://code.sololearn.com/c06FNS0B0W3F/?ref=app
6th Apr 2020, 9:58 AM
Daljeet Singh
Daljeet Singh - avatar
+ 1
I am no expert but could give it a shot if you share your code Sometimes a Hint😉 is enough!
7th Apr 2020, 4:58 AM
Daljeet Singh
Daljeet Singh - avatar
0
In C it's ok but in C++ I am not getting desired output
6th Apr 2020, 5:36 PM
Amit Kumar
Amit Kumar - avatar
0
Thanks sir I did
11th Apr 2020, 9:41 AM
Amit Kumar
Amit Kumar - avatar