Search:

Type: Posts; User: wordup

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    8,911

    Cheers appreciate the help :D

    Cheers appreciate the help :D
  2. Replies
    7
    Views
    8,911

    Yeah, I've tried that but it makes very little...

    Yeah, I've tried that but it makes very little difference. What I really need is a little help with the logic of how to actually code the solution. I know what I want to do, I just can't figure it...
  3. Replies
    7
    Views
    8,911

    Please ??

    Please ??
  4. Replies
    7
    Views
    8,911

    Ok, thanks. So anybody got any ideas as to how i...

    Ok, thanks. So anybody got any ideas as to how i can make this function work then?



    void new_years_day(int day, int year)
    {
    int i = 0, leap = 0;

    // ask user for year between 1900 and...
  5. Replies
    7
    Views
    8,911

    Sorry bout the confusion but the other 2...

    Sorry bout the confusion but the other 2 functions are meant to be there cos i still have to build them yet. It's just that i'm stuck on the 1st function (new_years_day). Should I just have (return...
  6. Replies
    7
    Views
    8,911

    Calendar Problem

    I have to write a function which takes in a year between 1900 and 1999 and returns as a number the first day of that year. Days of the week go from 0 - 6 ( Sunday = 0, Saturday = 6).

    I am supposed...
  7. Replies
    3
    Views
    2,725

    Ok, done and done. Any other tips? ...

    Ok, done and done. Any other tips?



    #include <stdio.h>
    #include <ctype.h>

    int read_and_count(void);
    int chr;
    int word_count = 0;
  8. Replies
    3
    Views
    2,725

    Problem with letter and word counting

    I have written the following code to tell the user how many regular letters and how many words are in each sentence they type. However, the program only counts the first word and the letters of that...
  9. Replies
    7
    Views
    2,280

    Thanks for the help all but i'm still a little...

    Thanks for the help all but i'm still a little confused.

    - Stoned_Coder: your code doesnt work properly

    - Shiro: what is the standard C function to convert numbers to strings? Also, can I use...
  10. Replies
    7
    Views
    2,280

    Splitting Digits and Letters

    Does anybody know how to split up digits so that i can manipulate them?

    eg.. for example the user types 123, i want to split them up and add them to get 6. Also wondering how to split up words??
    ...
Results 1 to 10 of 10