23:03
:42
2019
Update C standard headers to C++ standard headers
- Resume:
Small script to update C standard headers to CPP standard headers.
- Version:
1.1.0
- Size:
3kb
- 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.

Requires

  • 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"

Options:

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"