+ 1
Can i import C code into C++ code ?
Well if that's possible, it could be easier for me to code in both languages ...
3 odpowiedzi
+ 4
sure,.. I imported a library written in C in my C++ code.
+ 2
Yes you can
I have tried it in VS 2019
I have typed printf then cout 😅
+ 1
Yes just include the header you want like
#include <iostream >
#include <stdio.h >
Using namespace std ;
That's for i/o