C
In computing, C is a general-purpose, block structured, procedural, imperative computer programming language developed in 1972 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating system.
Application
Hardware
Remove
Platform
Any
License
Any
I forgot TASM... sorry, but here is some pseudo-code:
open file
nbytes = get file size
token = 0
nwords = 0
repeat 'nbytes' times
{
c = read one character from file
if (c is a word...
When dealing with a single hard drive - multithreading may be slower. No matter how many CPU or cores you have - a single physical drive may cause excessive wear on the drive and slow processing....
/* bios.h
Access to bios services.
Copyright (c) 1987, 1991 by Borland International
All Rights Reserved.
*/
#if !defined(__BIOS_H)
#define __BIOS_H
#if...
static has different meanings depending on what you are talking about - variables, classes, functions, etc...
In regards to functions, the static keyword does not affect storage at all but is...
Help someone please. i need help designing a C program for my remote control car that will be controlled by a cell phone via thru bluetooth... Can anyone please help me with this program.
i'm trying to read a file into shared memory so children of the process will be able to read it in parallel
here is the code i'v written
i posted only the beginning. when i try to print the ouput i...
http://en.wikipedia.org/wiki/Mdadm
/thread
we need a code in C that converts binary to octal, decimal to hexadecimal and octal to hexadecimal.. :)
There is no such thing as to remove a entry from a text file. All you can do is to load the text file into memory (e.g. C array), remove the entry from the array, and then write back the modified...
Right usually word = sizeof ( int) = 2 byte in x86 system
what i need is a kind of "nattach" info for semaphores, like there is for shared memory when calling "ipcs" on console.
Can any one have some clue for the attached question.
Hi buddy,
Thanks for ur reply...
U hav mentioned that the memory shall not be allocated for enums.
But i could remember that the memory allocation and processing time(preprocessor time and...
Hi Buddies,
Please consider the example
typedef enum
{
JAN,
FEB,
MAR,
APR,
MAY,
JUN
}enumtag;
In example. i have 6 enum members. But if i find the sizeof(enumtag),
it...