Update C standard headers to C++ standard headers
- Resume:
Small script to update C standard headers to CPP standard headers.
- Version:
- Size:
- Download:
[ cmd + script ]
- License:
MIT License
- Copyrights:
Renan Lavarec
I wanted to convert old C headers to C++ headers, I made a script for it :)

Update included C headers to C++ headers

Small script to update included C headers to C++ headers.


  • Python 3

How to use it

  • Execute the script :

Set the directories of C++ files to update them to C++ headers with commande line.

WARNING: Before execute the script, BACKUP YOUR FILES !!!!
    py tr.py.update_include_for_cpp.py  --sourcesDir "C:\dev\cpp_to_new_cpp"


If needed, you can update the script

  • Edit the python script:

    • You can add some other excluded path inside "listExcludedPath"

    • You can add some other file extension inside "listExtensions"