char Message[13];long long int IdOwner = 12345678912;sprintf(&Message[0], "%012lli", IdOwner);
char Message[13];long long int IdOwner = 12345678912LL;sprintf(&Message[0], "%012lli", IdOwner);
C++ (Qt)#include <stdio.h> int main () { char Message[13]; long long int IdOwner = 12345678912LL; sprintf(&Message[0], "%012lli", IdOwner); return 0;}
Bashg++ -Wall ./main.cpp