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...
Type: Posts; User: JoelearningC
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...
chottachatri,
Nevermind, I put int i in the wrong place...Works like a charm!!!
Thanks for the help my friend.
Joe
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.
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...
yes, that's correct, so each letter after a space would be capitalized. Thanks for the isspace tip :)
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...
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...
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...
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 ()
{...
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.
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...
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...
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...
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...
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...