Hi David, thanks a lot for your suggestions. Actually, at first I doubted the quality of the book "C++ Without Fear" when scanning through it at my uni bookstore, but then the fact that it sits on...
Type: Posts; User: maccat
Hi David, thanks a lot for your suggestions. Actually, at first I doubted the quality of the book "C++ Without Fear" when scanning through it at my uni bookstore, but then the fact that it sits on...
Can anyone comment on the C++ book series recommended by this website for beginners, especially the 1st book "C++ Without Fear"? Is this book good?
Hi, I'm writing this function to numerically approximate the value of the function f(x) = exp(-x^2) over the interval [0,2] (Simpson's Rule). I start with n = 4, and the tolerance level, defined as...
Thanks for your help...
yes, that's what I want to say. It doesn't divide by 3...
It doesn't calculate correctly. Say, when I typed "luong hoang luong", the # of characters is 17 and the # of words is 3, so the average length should be 5.67 rather than 8.5 as it printed out.
This program reads a sentence and then counts its length. I'm still unable to figure out where it goes wrong. This is a programming project from King's C Programming Book (2nd Edition). Could you...
Thanks a lot, Ada... That makes sense to me now...
This program checks whether any of the digits in a number entered by the user appear more than once. What I still can't understand is the code inside "if" statement. What's the idea behind that? We...
So it means you include #include<math.h> to call this function? Thanks a lot...
Thanks a lot. A really stupid mistake indeed. Thanks
Hi, I'm starting to learn C by self-study. I can't figure out how this function doesn't work out properly. It doesn't return the correct answer. It calculates the numerical integration of f(x) =...
Hi, I'm learning C by self-study from King's book. I'm now on Chapter 5 re. "if statements" and I'm stuck on one programming project from this chapter. I need to find the largest and smallest values...
Thank you all. I feel much more encouraged and gain more confidence...
Hi, I'm a finance grad student and I'm not young (>30 yrs old). I've never learnt any programming before, but during the coursework I did I had to use some statistical software. I then found out that...
I'm beginning to learn C with the book "Beginning C" by Ivor Horton. The experience so far is quite good. The author explains things in detail for each of the programs used as an example in the text....
Hi,
I'm beginning to learn C as the first language (no previous programming experiecen whatsoever). I currently have installed XCode, TextWrangler, Macvim. As a self-taught beginner who learns C...