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):

https://godbolt.org/z/9QzUj-

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{};
(C++17)

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

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