I am looking for open source code for implementing fat32 in C or C++.I thought It would be easy to find several online but it appears to be evading me. I don't have a problem with GPL or any other open source license.
Look at fs/fat
directory in the Linux kernel sources for a Linux implementation.