Search:
Type: Posts; User: jlb1
Search:
Search took 0.02 seconds.
-
August 30th, 2019, 02:42 PM
Well unless you're dealing with templates you shouldn't have executable code inside header files. Definitions belong in source files not #include files.
By the way did you try compiling that code?
-
August 29th, 2019, 09:54 PM
Are you sure that you're not returning a c_str() from an object that is either a "temporary" or one that goes out of scope?
-
August 9th, 2019, 07:12 AM
That really doesn't answer the question of "what do you find that is lacking with this tool".
But if you're looking to see where a particular variable is possibly being changed I would expect to...
-
August 8th, 2019, 05:16 PM
Then perhaps you should work on fixing these issues. If you eliminate the global variables and properly pass variables back and forth to your functions as required you will find that locating where a...
-
August 8th, 2019, 03:22 PM
What is making using the debugger so difficult? Do you have extremely large functions? Quite a few global variables? Both?
-
January 8th, 2018, 02:21 PM
Not according to the standards status page: https://isocpp.org/std/status
I don't believe that the final balloting is complete as of today.
Even if there is a difference between the two pages...
-
January 8th, 2018, 11:08 AM
Yes std::filesysystem is considered experimental, as are any of the other C++17 features, remember C++17 has not been ratified. However if you're afraid to use std::filesystem then you may want to...
-
January 5th, 2018, 01:05 PM
Have you considered using std::filesystem instead of the fstream?
-
November 23rd, 2016, 09:43 AM
You may be interested in this article by Scott Meyers.
-
October 23rd, 2016, 03:32 PM
There is a stipulation in these exercises that state that both of those functions can not be modified. From Chapters 20.1 and 20.1.1:
"The assumption is that the data is stored on the free store and...
-
No, while you can overwrite characters anywhere in the file, you can only add characters to the end of the file.
-
June 29th, 2015, 07:27 AM
That's strange, my compiler gives me several hints as to what may be causing the problem:
Perhaps you need to increase your compiler warning level and fix any and all warings?
Did you run the...
-
June 13th, 2015, 01:42 AM
It looks like you need to have two different variables that keep track of the counts, one for employees, and one for families.
And please use code tags when posting code.
-
Where do you assign values to both guessW and cars?
-
Probably because those cin and cout statements belong inside your main function, along with the definition of binaryInt.
-
March 30th, 2015, 12:35 PM
If your "data" has embedded '\0' characters you probably should be using std::vector<unisigned char> instead of a string.
|
Click Here to Expand Forum to Full Width
|