Search:

Type: Posts; User: zp523444

Search: Search took 0.00 seconds.

  1. Thread: &target

    by zp523444
    Replies
    2
    Views
    1,727

    &target

    I am reading the book in Operating System Concept,
    Can someone told me what is the meaning of &target ?



    boolean TestAndSet(boolean &target) {
    boolean rv = target;
    ...
  2. Replies
    2
    Views
    7,253

    %s, %20s,%-20s

    Hi,

    what is the %2, %20 & %-20 mean in the C program?
    how can I search the meaning in Borland C?

    thk.
  3. Replies
    7
    Views
    1,604

    it is not hex

    it is not hex
  4. Replies
    2
    Views
    845

    testing struct

    I have error in the line 'x=....' & 'printf(....' , during compile,
    what wrong I have write in the program?

    thk a lot




    #include <stdio.h>
    #include <math.h>
  5. if I just press the enter key, the o/p is a...

    if I just press the enter key, the o/p is a rubbish ascii code(not alpha char) and the strlen is 3
  6. Replies
    7
    Views
    1,604

    soory,I make mistake, the thing need input should...

    soory,I make mistake, the thing need input should be :
    2,
    2.345 ,
    2A ,
    92,
    2.5A ,
    -1.23,
    -204,
    1234567898,
    -1234567898,
  7. how can I modify the program to make it stop it...

    how can I modify the program to make it stop it the user press 'Enter' when asking for the line input?
  8. Replies
    11
    Views
    1,840

    may I know what is the value of 'start'? I am...

    may I know what is the value of 'start'?

    I am a newbie of C for just few months and programming is
    a big challenge for me...
  9. Thank for your point out,I am nebie in C for just...

    Thank for your point out,I am nebie in C for just 3 month.
  10. Replies
    7
    Views
    1,604

    problem on atol

    Can someone help to check my code, the function atol converts a string representation of a numeric value into a long value. The function ascii2long that exactly reproduce the function atol.



    ...
  11. Change a line of text eash first char to uppercase

    Write a C program that reads in one line of text from the Standard input, and writes out the line with the following changes:

    The first letter of all sentences in uppercase (capitalize the first...
  12. Replies
    4
    Views
    1,454

    Please help to check my program

    Hi expert,

    I need to write a program, function one assigns the maximum and minimum values in intArray to the variables pointed by min and max respectively. The parameter size is the size of...
  13. Replies
    11
    Views
    1,840

    the date is 2003/1/5 and the date need add is 10,...

    the date is 2003/1/5 and the date need add is 10, so the o/p is 2003/1/15...
  14. Replies
    11
    Views
    1,840

    I have no idea on how to do, the question , ...

    I have no idea on how to do, the question ,


    Complete the implementation of the following function forwardDays that accepts a struct date pointer and an integer as the parameters. The struct...
  15. Replies
    11
    Views
    1,840

    can I convert the date 2003/1/1 to a number and...

    can I convert the date 2003/1/1 to a number and add the no. of day ie. 2 and then convert back to 200?/?/? format?
    I prefer using C language..
  16. Replies
    11
    Views
    1,840

    Forwards day program

    I need to write a forwards day program, ie,
    theday value is 10, the current date is 2004/1/19
    after add the value 10 to the date it should be change to 2004/1/29.

    but i have no any idea on how...
Results 1 to 16 of 16