Search:

Type: Posts; User: mashour06

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    483

    readings for device driver programming

    Hello,
    I read "C Primer Plus" by Stephen Prata, next, I intend to learn device driver programming, what books do you advise me to read for that purpose (I'm still a beginner in C programming)....
  2. Replies
    1
    Views
    1,539

    printf field width

    hello, I am new to c programming, and now solving some problems from c primer plus. I would like to ask about the printf conversion specifier that prints a string in a field three character wider...
  3. Replies
    2
    Views
    3,571

    word counting program

    I have an exercise says:
    Write a program that reads input as a stream of characters until encountering EOF. Have it report the average number of letters per word. Don't count whitespace as being...
  4. Replies
    1
    Views
    3,710

    programming exercise

    Hello everybody,
    as a beginner in C language I have a problem solving the next exercise (the exercise is from Stephen Prata's C primer plus book), could anyone help me solving it?
    the exercise...
  5. Replies
    8
    Views
    2,708

    Thank you

    Thank you all for your support.
  6. Replies
    6
    Views
    9,348

    Thank you

    Thanks for you all.
  7. Thank you

    Ah ha, thank you.
  8. Replies
    8
    Views
    2,708

    is curly braces here is a must?

    Hello,
    is the following:



    for ( i = 1 ; i < 5 ; i++)
    if (x == 1)
    y = 5 * x;

    (Without curly braces)
  9. Replies
    6
    Views
    9,348

    isn't the order as follow (according to a table...

    isn't the order as follow (according to a table of precedence and associativity):
    scanf() is called first because of its highest precedence.
    second: n >= 0 is evaluated
    third:scanf() return value...
  10. Replies
    6
    Views
    9,348

    while (scanf("%d", &n) == 1 && n >= 0)

    Hello,
    What's the order of precedence and associativity of the next expression:
    while (scanf("%d", &n) == 1 && n >= 0)
    your help will be appreciated
    Thank you.
  11. while((ch = getchar()) != '#') and while (ch = getchar() != '#')

    Hello,
    What is the difference between:
    while ((ch = getchar()) != '#')

    and:

    while (ch = getchar() != '#')

    Thank you.
Results 1 to 11 of 11