Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
web
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Addinclude

Utility to add #includes to .c and/or .h files.

Easy syntax

addinclude my.c stdin
addinclude my.cpp memory

Smart placement

addinclude my.h stdin

Changes my.h from:

#ifdef blabla
#endif

To:

#ifdef blabla
#include <stdin.h>
#endif

You can place includes at the top of the file with -t. There are several other options.

C++ headers

Use the -c++ flag for not expanding include names when adding them to files not ending with .cpp. Example: memory will not be expanded to memory.h.

General info

  • Version: 1.0.1
  • License: GPL2
You can’t perform that action at this time.