Files | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 28

Files

i was wodering how could i inser a file from the drive to my code?

14th Aug 2017, 7:59 PM
Ahmed Abdelrahman
Ahmed Abdelrahman - avatar
4 Answers
+ 16
You can use fstream
3rd Sep 2019, 12:03 PM
MCGAmedCoder gamerArtist
MCGAmedCoder gamerArtist - avatar
0
Sorry, i don't know how can I use ios::in and ios::out togheter, i tried but.. I don't know what is wrong (sorry for my bad English).. Can you write some code aboit it?
27th May 2021, 8:02 PM
Alessandro Giambattista
Alessandro Giambattista - avatar
- 2
insert a file? what exacly do you want to do? is it a text file andvyou want context of it or..?
14th Aug 2017, 10:01 PM
Paul
- 4
Thnx Virgie Rose
5th Sep 2019, 5:21 PM
Ahmed Abdelrahman
Ahmed Abdelrahman - avatar