Search:

Type: Posts; User: CProgramming11

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Tutorials are also a good way to find out what C...

    Tutorials are also a good way to find out what C is capable and not capable of performing, if that is the problem.
  2. Okay I know it might not be the most helpful...

    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...
  3. And read the string tutorial as well

    And read the string tutorial as well
  4. Sounds like you should read that tutorial common...

    Sounds like you should read that tutorial common tater posted or another tutorial or a book that explains functions.
  5. I think his English is not so good, he's probably...

    I think his English is not so good, he's probably struggling to communicate what his problem is.
  6. Okay, it looks like you're trying to pass three...

    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...
  7. Replies
    2
    Views
    17,865

    I know, I was going through some exercises at 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...
  8. Replies
    2
    Views
    17,865

    Printing Patterns Using Recursion

    Hi guys,

    I'm trying to print patterns such as the following:

    ****
    ***
    **
    *
    **
    ***
  9. Replies
    12
    Views
    4,124

    Yes that program works fine. You're right, I...

    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
  10. Replies
    12
    Views
    4,124

    Funny enough, returning 0 also returns that...

    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...
  11. Replies
    12
    Views
    4,124

    Okay, I tried using the result in a simple if...

    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!
  12. Replies
    12
    Views
    4,124

    Your function also works but still it returns...

    Your function also works but still it returns that 420...number.
  13. Replies
    12
    Views
    4,124

    Okay, I see what you're getting at but I don't...

    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...
  14. Replies
    12
    Views
    4,124

    Also "Array names are not pointers, so you...

    Also

    "Array names are not pointers, so you cannot increment them.


    Quzah. "

    Lol.
  15. Replies
    12
    Views
    4,124

    Nice

    Nice
  16. Replies
    12
    Views
    4,124

    Problem Returning Value

    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...
  17. Replies
    15
    Views
    9,728

    The getchar problem is resolved thanks to you. ...

    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...
  18. Thread: Getchar

    by CProgramming11
    Replies
    9
    Views
    1,792

    Ah so stupid, I added another string point to...

    Ah so stupid, I added another string point to point to the original address of the string.

    Problem solved, thanks.
  19. Thread: Getchar

    by CProgramming11
    Replies
    9
    Views
    1,792

    Right, I sometimes forget about the return value...

    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...
  20. Replies
    15
    Views
    9,728

    First, thanks subsonics To Cladiu: I never...

    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...
  21. Thread: Getchar

    by CProgramming11
    Replies
    9
    Views
    1,792

    Getchar

    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...
  22. Replies
    15
    Views
    9,728

    As I originally said, this is NOT homework. Could...

    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...
  23. Replies
    15
    Views
    9,728

    I know its possible. I'm asking if it's feasible...

    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...
  24. Replies
    15
    Views
    9,728

    Word Search Using C

    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...
  25. Replies
    7
    Views
    3,638

    Thanks, the problem is solved! The double...

    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.
Results 1 to 25 of 37
Page 1 of 2 1 2