Search:

Type: Posts; User: JoelearningC

Search: Search took 0.00 seconds.

  1. Replies
    30
    Views
    4,871

    Works good

    Yep, works good now, thanks.

    I'm going to work on tweaking it with flag and isspace so I can make it so I code in the prose and then have the code automatically switch the first letters to...
  2. Replies
    30
    Views
    4,871

    chottachatri, Nevermind, I put int i in the...

    chottachatri,
    Nevermind, I put int i in the wrong place...Works like a charm!!!

    Thanks for the help my friend.
    Joe
  3. Replies
    30
    Views
    4,871

    Hey chottachatri, I keep getting an error...

    Hey chottachatri,

    I keep getting an error related to 'i', saying it's an undeclared identifier.
    do you know a way around this? I declared int i in the beginning but still didn't work.
  4. Replies
    30
    Views
    4,871

    causes error

    Thanks for the code. I tried it but it comes up with the following error:
    fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
    Build log was saved at...
  5. Replies
    30
    Views
    4,871

    yes

    yes, that's correct, so each letter after a space would be capitalized. Thanks for the isspace tip :)
  6. Replies
    30
    Views
    4,871

    Need help with capitalizing char strings

    Hi all,
    I'm taking an intro course to C and am starting to get very lost. We're on the topic of character strings and are being asked to create a program that will capitalize the first letter of...
  7. Replies
    3
    Views
    1,666

    can you help more?

    HI Zacs7,
    Thanks for the assistance. I'm too much of a beginner to even understand what you're talking about much less where I'd put the counter statement. Can you help more in terms of which...
  8. Replies
    3
    Views
    1,666

    Need help with break in do while loop

    Hi All,
    I'm wondering if anyone can tell me where to put the "break" statement in the code below. I'm trying to make it so the program will keep asking a user to input a positive integer and then...
  9. Thank you to all!!!

    Thanks to everyone who helped me on this code. I got it to work and here's the final product. Thanks again. Joe



    #include <stdio.h>
    #define SIZE (sizeof(a) / sizeof(a[0]))

    main ()
    {...
  10. Array declaration

    That's just the thing. My book doesn't show how to do the array declaration for a sizeof operator. Can you suggest what it should look like and where it should go? Thanks.
  11. Replies
    4
    Views
    2,134

    need help with compound interest

    Folks,
    I've got this code below that creates an interest table with the interest compounded annually. I want to convert it to compound the interest on a monthly basis instead. Can anyone help and...
  12. Here's another try at it

    Thanks everyone. I made some adjustments but it's still giving me errors. Here's the code again along with the errors. I don't understand why it's telling me SIZE and 'a' are undeclared. Thanks...
  13. can you check again?

    Thanks for helping out. I'm still stuck here. I made some changes but it seems like it's even worse. Can you have another look? Thanks again.



    /* Reverses a series of numbers */

    #include...
  14. trying to reverse numbers with sizeof operator

    Hi all,
    I'm trying to write code that will result in reversing 10 numbers while defining the array size using the sizeof operator. I'm getting some errors and it doesn't reverse the numbers. The...
  15. Replies
    1
    Views
    1,293

    Need help with initialization errors

    Hi All,
    I was wondering if someone could help me out with the following code. I am just learning C and am trying to compile the following program but keep running into errors regarding the...
Results 1 to 15 of 15