Click here to Skip to main content
15,867,985 members

Comments by nv3 (Top 200 by date)

nv3 19-Nov-21 16:12pm View    
Very welcome!
nv3 1-Feb-19 3:53am View    
Fine advice to a newby! That's how to do it.
nv3 17-Dec-18 3:51am View    
And replace that "1st" by "lst" -- in C++ identifiers don't start with a digit! It almost looks the same, but makes a great difference. That's what happens when one just copies things and doesn't try to understand what's going on.
nv3 1-Oct-18 17:01pm View    
How many digits of precision do you expect when computing in type double?
nv3 22-Aug-18 17:35pm View    
I am reading this entire thread and wondering what's the big deal of solving the problem in one line. It just depends on how long that line may be. With very few exception, C code is not dependent on any line structure. So every C program can be basically be written in one single line. Not that this would make any sense to a human reader :-)

I am glad the teacher solved the misunderstanding. Otherwise I would not have seen what good it would do to a class of beginners, actually any C or C++ class.