add header file | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

add header file

anyone tell me how to add header file while code C++ in Code Playground? thanks !!!

16th Jan 2018, 10:44 AM
Thanh Vu
Thanh Vu - avatar
2 Answers
+ 2
Im afraid in the Code Playground you can only use common header files such as <iostream>, <cmath>, etc... by binding them in through #include. Using your own designed header files is not possible, the compiler is sadly limited in that way here, so you'll have to code everything in one file.
16th Jan 2018, 10:53 AM
Shadow
Shadow - avatar
0
Oh. Thanks
16th Jan 2018, 11:25 AM
Thanh Vu
Thanh Vu - avatar