CodeProject Forums » C / C++ / MFC
14 FOLLOWERS
The C / C++ / MFC community on CodeProject forums is specifically focused on discussions related to the C, C++, and MFC programming languages. Talk about the features & functionality of these languages, learn to fix bugs, share suggestions, and more.
CodeProject Forums » C / C++ / MFC
1M ago
Just noting that you appear to be referring to the following SendNotifyMessageA function (winuser.h) - Win32 apps | Microsoft Learn PostMessageA function (winuser.h) - Win32 apps | Microsoft Learn Other than that I will note that everything has limit with computers. So you certainly should not create an architecture/design that relies on something being very large without understanding what that means ..read more
CodeProject Forums » C / C++ / MFC
1M ago
GetTimeZoneInformation function (timezoneapi.h) - Win32 apps | Microsoft Learn "In testa che avete, Signor di Ceprano ..read more
CodeProject Forums » C / C++ / MFC
3M ago
Re: "connect" with "lambda" C++ code analysis , please ..read more
CodeProject Forums » C / C++ / MFC
3M ago
The article mentioned in the previous post does it by doing divisions in a function that checks for a zero divisor and throws an exception if it detects one. If you don't want to use such a function, it gets rather complicated. If you're running on Windows, you need to handle the . If you're running on Linux, you need to handle the . You can also handle the use of a bad pointer with these techniques. The handler that receives the structured exception or POSIX signal can throw a C++ exception, which you can then catch in the usual way. The following article goes into the details. But because it ..read more
CodeProject Forums » C / C++ / MFC
3M ago
Colour me not impressed! As long as you take the free option, I guess you didn't loose much, except maybe some time. Also there is the question of getting bad programming habits, but those can be fixed over time. These days there are many free online course from very reputable sources like MIT OpenCourseWare | Free Online Course Materials ]. You might want to take a look at some of them ..read more
CodeProject Forums » C / C++ / MFC
3M ago
The call used in your code would throw. operator new, operator new[] - cppreference.com "In testa che avete, Signor di Ceprano ..read more