Skip to content
Snippets Groups Projects
Ming Fang's avatar
mingf2 authored
eacbaaf5
History

Installations

Windows

  • Install Microsoft Visual Studio. Make sure you choose Visual Studio 2017 15.8 (MSVC 19.15) and later.
  • After running the installer, select the "Desktop Development with C++" workload.
  • Make sure you execute the commands in "Developer Command Prompt for VS20XX".

Linux

Install CMake following the instructions here.

Compile the code

mkdir build
cd build
cmake ..
cmake --build . --config Release

Run tests

Windows

tests\Release\tests.exe

Linux

./build/tests/test

Run example

Windows

Release\example.exe

Linux

./build/example

Project Structure

  • example.cpp: Main file. Execute this to process the data.
  • sources\parser\BinFileParser.cpp: C++ source file for reading data from file.
  • sources\parser\BinFileParser.h: C++ header file for reading data from file.