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;
...
Type: Posts; User: zp523444
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;
...
Hi,
what is the %2, %20 & %-20 mean in the C program?
how can I search the meaning in Borland C?
thk.
it is not hex
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>
if I just press the enter key, the o/p is a rubbish ascii code(not alpha char) and the strlen is 3
soory,I make mistake, the thing need input should be :
2,
2.345 ,
2A ,
92,
2.5A ,
-1.23,
-204,
1234567898,
-1234567898,
how can I modify the program to make it stop it the user press 'Enter' when asking for the line input?
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...
Thank for your point out,I am nebie in C for just 3 month.
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.
...
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...
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...
the date is 2003/1/5 and the date need add is 10, so the o/p is 2003/1/15...
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...
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..
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...