Message from C, C++ discussions

December 2019

— /


For one the char* doesnt have a defined size and they are also read only. Try using dynamic memory allocation with malloc so you have better ability to manipulate the output

— C or C++?

— I have a question regarding synchronization. I want to make yet another productor-consumer program (wrapped in a class), but I think I keep getting a deadlock and can't really find where I'm wrong (there surely is some lack of understanding):

Message permanent page

— Looks like C as not using std::string

— You never know...

— True

— You forgot thread_local😂

— Just add urs and make sure it compiles

— static thread_local inline constexpr volatile const unsigned long long int* const a{};

— User Hakim has 1/2 warnings; be careful!
The latest warn was because:

— That's 2/2 warnings; Hakim is banned!
1: promotion
2: Another promotion