Boost property_tree error: conversion of data to type "j" failed when getting an element in a .ini file – CentOS
I have a .ini file contains below data [SYSTEM] num_of_vps = 1 And I have this code to read an element in .ini file. (uint defined as typedef unsigned int uint) boost::property_tree::ptree pt; boost::property_tree::ini_parser::read_ini(iniFilePath, pt); hwCount = pt.get<uint>("SYSTEM.num_of_vps"); I created…