This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Could i use c++ instead of c?

Hi,

i have a generell question. First i have to say i am not the best programmer, but maybe some one with more experience then me could help me.

Does it make sense to use the C examples and port them in to C++ classes and use C++ instead of C?

What would be the disadvantage of using C++ ? Is some one using C++? I thought i could use eclipse + gcc so i could use c++.

Best regards,

Nils

Parents
  • Hi,

    thank you for your answers it is nice to hear that it should work to use C++ :)

    @ Nikita was this the only thing you had to do? Where did you get this file from?

    @ Torsten I think the same about readability for code as you. I am really not the best programmer, i learned C++ in study and then i had to do some C works for micro controllers but i really liked to see the OO coherence of stuff like i have it an real world and like i have it in a uC.

    I will talk to an programmer and think i will try it with eclipse + CDT first to see how it works to me. And i think it will be interesting to learn the new C++ features thanks for the info sheets i think it is time for a new book there are really big changes ^^.

    Best regards Nils

  • Yes, that's all you need to do.

    sys.c is to avoid linkage of exception handling and other BIG stuff like malloc and RTTI when using pure virtual functions. I get it from here: electronix.ru/.../index.php

Reply Children
No Data
Related