C++ : Create Same BasicIO Functions For Cross-platform Compatibility

I write a few file IO functions which are used in windows and mac os x. bool CopyAFile(const std::string inFile, const std::string outFile); bool RemoveFile(const std::string filePath); void RemoveDir(const std::string folderPath); void MoveAFile(const std::string oldFile, const std::string newFile); void CheckFolderExist(const std::string folderPath); bool FileExists( const std::string path ); void HandleLastSlash( Read more…

Add Subdirectory In CMake Project

Add subdirectories and use VTK library and Qt in my projects. The file structure looks like the following image. projectB generates lib and dll files which will be used by projectA. projectA show a window and print message from Base class in projectB. The file CMakeLists.txt in the root directionary Read more…

JIT Debugger Tool Drmingw

The introduction of Just-in-Time (JIT) debugger tool drmingw: https://vroby.ddns.net/Public/sdlBasic/MinGW/doc/drmingw/drmingw.html It’s very easy to install this tool. We can download from the internet and unzip it: It’s necessary to put the directory of the tool bin in the environment variable Path on windows OS. After that, we can run drmingw.exe by Read more…

3D Model Viewer: add grid plane and convex hull.
Add google translate tool at right-bottom position.

A prohibited operation