Microsoft Visual C++ .NET version 7
Type: Posts; User: CaeZaR
Microsoft Visual C++ .NET version 7
I've started using the standard template library recently, but I'm really having difficulty debugging my code. The "watch window" offers very little info on the contents of say vector.
Am I...
So, std::vector is just about the best thing I've come across since sliced bread.
Is there anything along the lines of std:: vector only for 2D arrays / Matrices? I could just go about making a...
At the suggestion of some cprogramming experts, I started using filestreams rather than the old style FILE* c code.
Now I have some problems that I'm having trouble solving. This code opens a...
Well, maybe the title to this post is a little intimidating, but I don't think the question will be all that difficult to someone who has thought this through before.
In english: I have a class...
I am reading a text file of two-column numeric data. I do not know the number of rows that the file will contain. Currently, I read the file twice: Once to ascertain the length and the second time...
Good point, I really should have posted this in c++, but I was hesitant, because I wanted to stick with C file handling rather than c++ file handling.
I'll move the post to the c++ board.
I am reading a text file of two-column numeric data. I do not know the number of rows that the file will contain. Currently, I read the file twice: Once to ascertain the length and the second time...
Does anyone have an idea on which of these runs faster, or is my compiler "smart" enough to pick the right one for me?
double x=10.0;
double y=5.0;
double z = log(x/y);
Alternatively,...