So I've begun using a library called Poco. My program doesn't do what its supposed to yet I've checked over everything.
The code is:
#include "stdafx.h"
#include <iostream>
#include <Poco/Debugger.h>
#include <string.h>
#ifdef POCO_ARCH_LITTLE_ENDIAN
std::string endianness = "Host byte order is Little Endian.\n";
#else
std::string endianness = "Host byte order is Big Endian.\n";
#endif
#ifdef POCO_LONG_IS_64_BIT
std::string bit_arch = "Host architecture is x64.\n";
#else
std::string bit_arch = "x86 host architecture.\n";
#endif**
int main( )
{
std::string a;
long long int b = 0;
if ( Poco::Debugger::isAvailable() ) { std::cout << "Debugging capability is available.\n"; }
std::cout << bit_arch;
std::cout << endianness;
std::cout << "Size of the long int (b): " << sizeof(b) <<"\n";
std::cin >> a;
return 0;
}
When it runs it says that I have a x86 processor, yet I do not. I installed a 64 bit processor myself many months ago. I just don't understand why it says that because I've made sure there aren't any logical errors that I can see. Everything except that works just fine. Maybe I'm missing something.