[C++] addin from scratch

Hello,

I'm a real newbye to solidworks API et a beginner in C++.

As i don't have Visual studio but only code::block, i would like to know if someone had already done add in with this IDE and how can I prepare my project??

Any help and or tutorial should be helpfull..

SolidworksApi macros