[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help needed with solving an axcall-related problem



In case this is of interest, on my raspi 4:

#include <iostream>

int main(int argc, char* argv[]) {
	std::cout << "Hello World!" << std::endl;
	std::cout << "sizeof(int)=" << sizeof(int) << std::endl;
	std::cout << "sizeof(long int)=" << sizeof(long int) << std::endl;
std::cout << "sizeof(long long int)=" << sizeof(long long int) << std::endl;
	return 0;
}

g++ hello.cpp -o hello
./hello

Hello World!
sizeof(int)=4
sizeof(long int)=8
sizeof(long long int)=8

Btw.: Result is same on amd64

73oe1rsa


Reply to: