556 Posted Topics
Re: The Visual C++ compiler is near Standard C++ compliant. The only things I am aware of it not doing are full support for exception lists and it has a little problem with really complex template notations used as friends. Microsoft C++ does have some extensions to C++ however I did … | |
Re: what is wrong with cout << oct << n; ? In this context trace is ambiguous. I would have thought it meant that you need to output what the function is doing on each iteration. And finally n is not a decimal number if you insist on assigning it a … | |
Re: Your first error is, I think, because you have declared LENGTH with automatic scope. That is it is on the stack, since it is on the stack and gets created when the function is entered it is not a true constant but a variable and so can't be used for … | |
Re: All your #defines have a ; at the end of them which will be prducing invalid syntax, remember a #define is a text substitution. Also you should note define functions, like snapwrite, in a header. You should declare the function in the header [code=c]int snapwrite(char *_symbol, int _typeval, char *_val);[/code] … | |
Re: I think you will find it very hard to code this sorting algorithm as anything other than single threaded. The problem is that every phase of your algorithm depends on the previous phase so no phase can be done independently of any other. If you want to use multiple threads … | |
Re: Hmmm the only real way to know you have the right data is to compare it to the original. You could printf the data but then you would have to look inside the original file using something like a hexeditor and see if it was right. That could be a … |
The End.