How to import modules in c++? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to import modules in c++?

in Python we use import module name to import something like random module so how can we import random module in c++ or any other modules in c++?

10th Sep 2018, 6:07 AM
Sainath Dora
1 Answer
+ 6
See the include directive. I.e #include <iostream> https://en.m.wikipedia.org/wiki/Include_directive
10th Sep 2018, 7:18 AM
jay
jay - avatar