When I compile my secrypt.cpp program, my compiler shows the error \"undefined reference to WinMain@16\". my code is as follows
undefined reference to WinMain@16
secrypt.h :
You should create a new project in Code::Blocks, and make sure it's 'Console Application'.
Add your .cpp files into the project so they are all compiled and linked together.