# Before You Begin Developing CFX Tags in C++

## Sample C++ CFXs

Before you begin development of a CFX tag in C++, you may want to study the two CFX tags that are included to give you additional insight into working with the CFAPI. The two example tags are:

- `CFFX_DIRECTORYLIST` -- Queries a directory for the list of files it contains.
- `CFX_NTUSERDB` (Windows NT only) -- Allows addition and deletion of NT users.

On Windows NT, these tags are located in the `/cfusion/cfx/examples` directory. On Solaris, look in /<installdirectory`>/coldfusion/cfx/examples`.

## Setting Up Your C++ Development Environment

Before you can use your C++ compiler to build custom tags, you must enable the compiler to locate the CFAPI header file, `cfx.h`. On Windows NT, you do this by adding the CFAPI Include directory (`\cfusion\cfx\include`) to your list of global include paths. On UNIX, you will need `-I <`includepath`>` on your compile line (see the Makefile directory list example).