Thread View: pl.comp.lang.c
1 messages
1 total messages
Started by M.M.
Wed, 18 Dec 2019 01:54
c++ trudna języka czy to biblioteka była zła?
Author: M.M.
Date: Wed, 18 Dec 2019 01:54
Date: Wed, 18 Dec 2019 01:54
13 lines
1590 bytes
1590 bytes
Zobaczcie u siebie co wyświetla ten program, bo u mnie
najpierw wyświetla 0 (słownie ZERO!!!!). A myślałem że
jak użyję szablonów to będzie bezpieczniej :(
#include <iostream>
#include <limits>
#include <climits>
int main() {
std::cout << std::numeric_limits<__int128>::digits << std::endl;
std::cout << sizeof(__int128) * CHAR_BIT << std::endl;
return 0;
}
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads