Search:
Type: Posts; User: TheCPUWizard
Search:
Search took 0.30 seconds.
-
November 1st, 2023, 01:31 PM
Thanks for the confirmation. I was hopjng for some set of extensions as __STDC_LIB_EXT1__ (while optional) is ancient, and being able to control the behavior of overflows is quite powerful.
-
October 5th, 2023, 03:35 PM
declare a member as const and you can invoke it on a non const instance....
But how can one declare a POINTER to a member function so that it can bew assigned to either a const or non-const?
...
-
August 14th, 2023, 11:32 AM
https://en.cppreference.com/w/c/error/set_constraint_handler_s
[Note "since C11"]
BUT
https://learn.microsoft.com/en-us/cpp/overview/visual-cpp-language-conformance?view=msvc-170
[See Item...
-
August 14th, 2023, 08:28 AM
Also, always be cautious about using multiple tools in the same environment, increases cognitive load. As Scott Meyers said (paraphrased) "Give your users ONE way to accomplish a goal, no not...
-
August 14th, 2023, 04:31 AM
There are some tools like DoxyGen, that will give partial cross references; but so far I have found all of them lacking. For example, one key area of focus for this effort is all the places where...
-
January 6th, 2023, 09:22 AM
Nearly 23 years later, but someone just showed me this thread.... and an error can not be left standing... here are the facts [Microsoft C++]
//
// Constants
//
#define MoveMemory...
-
November 10th, 2022, 06:01 AM
13 years later, and still the thread comes up, and the topic is relevant...
-
September 1st, 2022, 09:02 AM
Exactly correct. You can then use "placement new" to actually create the native object inside that space :)
The use-cases where this is a desirable approach are pretty slim, but are NOT zero........
-
January 13th, 2021, 11:07 AM
(17 years later)....:wave::wave::wave::wave::wave:
There is a VERY real difference. It is physically possible to that multiple instances of theApp in different conditions (multiple DLLs', et....
-
August 29th, 2020, 09:48 AM
Hey Arjay, good to see you are still here also :)
I had found the full list previously, but had not realize you could sort it on posts, and then just count from the top...
-
August 28th, 2020, 01:26 PM
Victor, good to see you are still here :)
There once was a page that shows the people with the most lifetime posts, and then in decreasing order of posts.... I can't find it in the navigation....
-
August 28th, 2020, 12:56 PM
Can't find it in the navigation....
-
March 26th, 2015, 01:58 PM
Synchronization is critical (And can be done in many ways)....but that does not address:
A valid XML file *must* have matching tags...so the last content at any point (where the file can be...
-
March 26th, 2015, 06:43 AM
As an XML File???? Or as some type of "log"/cvs/etc. Linear file?
-
March 13th, 2015, 08:04 PM
No, YOU missed the point....the statement was "the casino looses out big over time" with extra aces. This is a conclusion about the impact of the difference, which does not seem to be supported by...
-
March 13th, 2015, 03:35 PM
OReubens - All very good points, thanks for providing them. Being somewhat of a gambler, I ran a few simulations to test your hypothesis "a minute imbalance in probabilities could cause you to draw...
-
March 13th, 2015, 08:26 AM
I don't find it surprising based on the way I read it... The "many classes" could easily refer to all of the changes in the "language/libraries", few of which may actually be used in the program(s)...
-
March 13th, 2015, 07:11 AM
I agree with 2kaud and am glad you have followed the advice to "clean up the code"....On the topic of "to document every level 4 warning as to why", I strongly suggest that this be done in the code...
-
March 12th, 2015, 03:45 PM
I never said "need to"... The "WaitForExit" could be removed and logic written to use the "Exited" event [ https://msdn.microsoft.com/en-us/library/system.diagnostics.process.exited(v=vs.110).aspx ]....
-
March 12th, 2015, 11:51 AM
One way (which I use a lot) is to wrap the synchronous code (that is working) into a clean class structure, and then invoke the method on that class asynchronously (e.g. so that it runs on a separate...
-
March 12th, 2015, 11:46 AM
Some really great information in this thread. What can be the most challenging is actually understanding what the "randomness" is attempting to achieve. As an example, one element is security, and...
-
March 12th, 2015, 11:26 AM
Sure...(this was typed in here, so errors are likely)
int main () {
string line;
ifstream myfile ("example.txt");
int line = 0;
if (myfile.is_open())
{
-
March 12th, 2015, 08:57 AM
This could be done *without* actually parsing the XML file [think how various text comparison programs work]...I wonder if such an approach would be accepted.
As stated previously, writing an XML...
-
March 12th, 2015, 08:53 AM
Basic algebra....not really a programming question....
-
March 12th, 2015, 08:51 AM
Actually he said this was an interview question....I hope his potential employer (at least the person conducting the interview) is a member here on CodeGuru.....
|
Click Here to Expand Forum to Full Width
|