Let me tell you that if you are unable to look up the difference yourself, programming is very likely not for you.
Yes. But you need to write the conditions properly
Why do we need casting and what is the exact application in C++ of this Can anyone please help?
what better? enum class StateEnum { X=0, O, NONE,COUNT}; constexpr std::string_view get_string( StateEnum state, const std::array<std::string_view, 3>& arr) { retur...
hello, does someone have a good cheat sheet (max 2 sides of A4 paper sheet) for C only? I need it to cover most useful function for math, dynamic memory, strings, files (I/O),...
Hi, how could I set width amount of bits in an integer starting from bit lsb going to the left to 1? For example width = 32 and lsb = 16 should result in 0b0000000000000000111...
Maybe computer architecture? Or how is the processor and memory structured?
guys, do i need to explore something BEFORE to explore C++?
hey there! trying to get by domain ip address of host int main() { int i; struct hostent* he; struct in_addr** addr_list; struct in_addr addr; int port = 80; he...
And the K&R malloc is antiquated and slow. Why would you implement malloc like that when we now have much better, and often simple algorithms?
main.c #include <fenv.h> #include <stdio.h> int main(void) { constexpr float f = 23.0f; constexpr float g = 33.0f; fesetround(FE_TOWARDZERO); constexpr float...
Hi ,using threads for i/o operations in c++ is not wise?
Обсуждают сегодня