Answer the question
In order to leave comments, you need to log in
How to run C code in C++ project?
Please tell me, there is a source code - which is successfully compiled in a project under C.
I copy this code to a project under C ++, errors like this immediately appear:
cannot convert 'char*' to 'int*' for argument '1' to 'int
invalid conversion from 'int*' to 'int'
warning: narrowing conversion of '143' from 'int' to 'char' inside
Answer the question
In order to leave comments, you need to log in
cannot convert 'char*' to 'int*' for argument '1' to 'int
invalid conversion from 'int*' to 'int'
warning: narrowing conversion of '143' from 'int' to 'char' inside
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question