Category: C/C++

  • C/C++ Dll: Two Ways to Get a List of Exported Symbols on Windows

    If you are developing a C/C++ dll, you want to make sure that you are exporting the symbols. Exporting symbols will help you use your dll using PInvoke by exposing only needed interface while hiding the implementation within C/C++ code. You will get plenty of online resources when you are using Linux for your development.…


  • CMake – How to Generate Visual Studio Project

    You are a developer familiar with Visual Studio on Windows. If you have downloaded C/C++ code from Github, you will find it intimidating to build your code with unknown tools. Your primary goal is to quickly compile the code on a click of a button and not worry about compilation details behind the scene. C/C++…


  • Fixed: CLANGCOMPILE : error : invalid argument ‘-std=c++11’ not allowed with ‘C/ObjC’

    Issue I am compiling a solution with C++ and C files together. If I compiled only C files, it worked but as soon as I added C++ files, it was complaining about C++11 features. Based on online forums, when I added “-std=c++11” under Visual Studio Project > Properties > Configuration Properties > C/C++ > Command…