Search:

Type: Posts; User: maccat

Search: Search took 0.01 seconds.

  1. Replies
    153
    Views
    218,120

    Sticky: Hi David, thanks a lot for your suggestions....

    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...
  2. Replies
    153
    Views
    218,120

    Sticky: C++ books series

    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?
  3. What's wrong with this numerical integration function?

    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...
  4. Thanks for your help...

    Thanks for your help...
  5. yes, that's what I want to say. It doesn't divide...

    yes, that's what I want to say. It doesn't divide by 3...
  6. It doesn't calculate correctly. Say, when I typed...

    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.
  7. Can you give a hint on how to fix this program?

    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...
  8. Thanks a lot, Ada... That makes sense to me now...

    Thanks a lot, Ada... That makes sense to me now...
  9. Can anyone explain clearly the logic of this program?

    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...
  10. Replies
    4
    Views
    767

    So it means you include #include to call...

    So it means you include #include<math.h> to call this function? Thanks a lot...
  11. Replies
    4
    Views
    767

    Thanks a lot. A really stupid mistake indeed....

    Thanks a lot. A really stupid mistake indeed. Thanks
  12. Replies
    4
    Views
    767

    what's wrong with this simple program?

    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) =...
  13. What's wrong with this program (a beginner's question)

    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...
  14. Replies
    17
    Views
    22,462

    Thank you all. I feel much more encouraged and...

    Thank you all. I feel much more encouraged and gain more confidence...
  15. Replies
    17
    Views
    22,462

    Am I too late to learn programming?

    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...
  16. Replies
    160
    Views
    276,769

    Sticky: I'm beginning to learn C with the book "Beginning...

    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....
  17. A question about MacVim vs other text editors...

    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...
Results 1 to 17 of 17