Wpis z mikrobloga

@KrzaQ2: nie kompiluje sie ;[


constexpr u64 ctpow(u64 base, u64 exp){

^

/home/wojtek/Desktop/ideoneeyRiX6.cpp:10:1: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11

/home/wojtek/Desktop/ideone
eyRiX6.cpp:14:18: warning: variadic templates only available with -std=c++11 or -std=gnu++11 [enabled by default]

template<typename... Os>

^

/home/wojtek/Desktop/ideoneeyRiX6.cpp:15:24: warning: variadic templates only available with -std=c++11 or -std=gnu++11 [enabled by default]

int f(int first, Os... o)

^

/home/wojtek/Desktop/ideone
eyRiX6.cpp: In function ‘int f(int, Os ...)’:

/home/wojtek/Desktop/ideone_eyRiX6.cpp:17:32: warning: variadic
@KrzaQ2

int jeden = true;

char *a= new char;

*a= char(jeden);

int b= atoi(a);

std::cout << jeden<< " " <

dlaczego output jest 1 0 ?

lece na stolowke, bede za 40 min nie irytujcie sie na brak odpowiedzi