Tutorials are also a good way to find out what C is capable and not capable of performing, if that is the problem.
Type: Posts; User: CProgramming11
Tutorials are also a good way to find out what C is capable and not capable of performing, if that is the problem.
Okay I know it might not be the most helpful advice, but you sound confused. You're referring to arrays of integers (or at least they appear that way as you're performing arithmetic operations on...
And read the string tutorial as well
Sounds like you should read that tutorial common tater posted or another tutorial or a book that explains functions.
I think his English is not so good, he's probably struggling to communicate what his problem is.
Okay, it looks like you're trying to pass three integers: one is the remainder of the value stored at a[i] when divided by 10, one the remainder of of a[i]/10 when divided by ten and the third is the...
I know, I was going through some exercises at the back of a book I have. Most of them are easily solvable using loops. I was thinking this exercise was trying to show a way of doing recursion that I...
Hi guys,
I'm trying to print patterns such as the following:
****
***
**
*
**
***
Yes that program works fine.
You're right, I just confused the return value for the exit status. I'm used to seeing the return value as the exit status of the program. Newb mistake. Thanks
Funny enough, returning 0 also returns that 420...value. By this I mean i run the original code I posted and the run screen will show 'Process returned 4206592'.
When I call the function inside an...
Okay, I tried using the result in a simple if statement in the main function and it works properly. I guess it doesn't matter why it was returning 420.....
Problem averted!
Your function also works but still it returns that 420...number.
Okay, I see what you're getting at but I don't understand why it isn't returning false and instead is returning '4206592'. I also tried making a function to determine if a string is symmetric, it...
Also
"Array names are not pointers, so you cannot increment them.
Quzah. "
Lol.
Nice
Hi guys, I've been trying to get this function to work but nothing seems to be doing it. I'm basically comparing two strings: if they have no identical letters in them, I return true, if they have...
The getchar problem is resolved thanks to you.
If anyone wants to further help on the wordsearch problem, that would be fine with me.
Claudiu we definitely started off on the wrong foot. It's...
Ah so stupid, I added another string point to point to the original address of the string.
Problem solved, thanks.
Right, I sometimes forget about the return value when I'm experimenting with simple code like this.
I found some errors, I declared x twice for some reason. I modified the code:
#include...
First, thanks subsonics
To Cladiu: I never said I knew it already. I actually said I did not know it, even to the point of not even knowing if it was possible with my methods or even how to write...
Okay, so the word search didn't go over well. Fine.
I was hoping someone could identify what the problem is here: I can't get out of the while loop, even when I simply press enter on the command...
As I originally said, this is NOT homework. Could have saved yourself a line of text there.
Also, I wasn't replying to you, I was replying to the first, sarcastic poster.
I was in the process...
I know its possible. I'm asking if it's feasible with the limited programming abilities I have.
If you don't want to give any serious input or contribute in any way, why even waste your time...
Hi guys, first of all, this isn't an assignment or anything. I know people here are irritable when it comes to help with assignments. This is just something I want to try out for sharpening my...
Thanks, the problem is solved!
The double pointer return was a leftover from something else I was doing, I never bothered to change it.
Thanks again.