Search:

Type: Posts; User: cecylia

Search: Search took 0.00 seconds.

  1. OK, solved by adding function: int...

    OK, solved by adding function:


    int first_digit( int num )
    {
    while(num >= 10) {
    num = ( num - ( num % 10 ) ) / 10;
    }
    return num;
    }
  2. I need to validate a number entered by a user in...

    I need to validate a number entered by a user in a textbox using c. The user should not be able to enter 0 as the first digit like 09521 etc.., wherein he should be allowed to enter 90254 etc...
  3. Prevent to type zero as the first digit in value

    Hello

    I want to prevent to type zero as the first digit in value in c code



    char next_buffer[ 5 ];
    int frame_counter;
    int digit_counter;
  4. Replies
    1
    Views
    695

    Make types struct to be compatible.

    How to make this warning clean


    typedef struct Recording_Settings recording_settings;
    struct Recording_Settings
    {
    gchar *profile;
    gchar *destination;
    };
    recording_settings...
  5. Replies
    5
    Views
    4,814

    typedef struct list_info_s list_info_t; struct...

    typedef struct list_info_s list_info_t;
    struct list_info_s
    {
    int position;
    char name[ 50 ];

    list_info_t *next;
    list_info_t *prev;
    };
  6. Replies
    5
    Views
    4,814

    I have nothing to do with the "how to optimize...

    I have nothing to do with the "how to optimize "for" statement" post. If so considered, can close my post.
  7. Replies
    5
    Views
    4,814

    make a loop for scrolling lines in menu box

    Hello, I want to make menu with 10 line size and scroll text line by line in menu from a list with text.
    For this I wrote same command as:


    menu_set_text /* set text a line position in menu */...
Results 1 to 7 of 7