Hi there,
I am not quite understanding why the program described at Question11-1 from (Page 169) is working - I am expecting it not to work. Might somebody please explain why.
The result...
Type: Posts; User: musikluvah
Hi there,
I am not quite understanding why the program described at Question11-1 from (Page 169) is working - I am expecting it not to work. Might somebody please explain why.
The result...
somehting more like this appears to be working.
std::cin >> oper_char;
if ((oper_char == 'q') || (oper_char == 'Q'))
break;
std::cin >> value;
I am working on example7-6 from O'Reilly's Practical C++ Programming book. I am finding that I need to enter 'q' twice to quit the program, but the code says to me that I should only need to enter...
Hi there,
I am reading and entering the code from O'Reilly's Practical C++ Programming book. my g++ is complaining of syntax errors in example 7-1 from chapter 1. Might somebody explain why I am...
I have a C coding project(s) on my plate that is requiring me to understand calculus derivatives and integral equations. Its been a while since I learned this stuff in school and was wondering if...
gprof thats it. thank you
Hi there,
I admin this FreeBSD machine and for some reason I am finding there are two different gcc versions on the box. Is there any benefit or need for having the different versions?
---...
Hi there,
I am a bit of a newbie to C Programming and coding on a FreeBSD machine at the moment. I remember an application that could itemize the system calls and processing times of a C program....
Brilliant cwr - that is the answer!
I am going through K&R C Answer Book and coding exercise4-3.c
there is a call for fmod library function which I thought was present in math.h but I am resulting an 'underfined reference to 'fmod'...
is there a good website resource that has a list of the C commands and their descriptions? any thing out there for C++ as well?
cheers,
Noah
got it - thank you.
Gosh this is such a simple question but dont quite understand the logic. I understand that the modulus operator is represented by '%'. And I understand that the expression x % y produces the...
okay CWR - thats it. thank you!
Actually the %ld tells printf that hte correcsponding argument is a long integer.
let me get out a different Program that does not use the %ld specification. it is still strange because the...
I am a newbie C coder. I am wondering why the following program's printf output show a trailing 'D' after the decimal integer. Note the trailing D after the 8 in the output snippet below.
...