Advertisement

Experts have come up with some helpful tips for getting a solution to your problem fast.

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Time Tested C Solutions: 276 - 300 of 959
 
How do I read every 20K of a binary file until the end using the function fread, and then write each of them using the function fwrite? I.e. read 20K and write it, then read another 20K and wr...
Hi all I read about this macro but still not sure what the proper use for it?? is it pthread_mutex_init(&somemutex,NULL) == somemutex=PTHREAD_MUTEX_INITIALIZER  ???
Hi everyone, Here is my situation:  I wrote this program that runs simultaneously 192 threads all the time (doing all kinds of stuff). Here us the problem:  About once a day I get a dialog b...
Dear Sir/Madam,              I am working in reducing the memory space while storing the fingerprint. For that I used some logic and reproduced the fingerprint. I implemented the logic in C a...
hi, i have created array like this: int *array=malloc(10*sizeof(int)); i am trying to initialize all values to -20. i know how to do with loop.... is there such thing like this: i...
I have a few questions regards Cygwin and MinGW on the perspective of compiling C. a)Am I right that MinGW is a C compiler and Cygwin is a unix simulator with C compiler? And because of this,...
First of all. The Tax Calculation program asking about Del Mar and Encinitas is a homework question so mr. Engineer2006 is completley full of (you know what). I just want to know about the...
Similar to this guy: http://www.experts-exchange.com/Networking/Wireless/Standards/GSM/Q_20776818.html I need to send a CTRL-Z, but I am using C.  I thought it was ASCII 154, but that did...
Hi! I am currently getting frustrated about a problem I have been thinking about for ages. If I have a function: void in_array_cp(char *haystack[],char *needle) { ... } which is...
How would I write a C function that returns today's date minus 7 days?  For instance, if today's date was 11/13/2006, it would return 11/6/2006.
Currently I want to write a dll in ANSI C, and I will call an external program to help to get the job done. Does any one know which C function can call an external program and passs argument t...
I need the implementation of hash table using only arrays in c or c++. Thanks, BT
hi, when i read from the file i always have an extra character attached to it.. i am thinking it could be tab, \r.etc.. is there a way to remove it without using strtoken etc... meaning...
I need to create a program in C which is able to change the password. The problem we have is that we have a number of laptops in the field running Red Hat ES 4. When the machines were distribu...
what is structure padding? who will take care of structure padding,compiler or programmer what are the consequeses if structure padding is done?
char x; x = 1; Expert told me 1 is data type int.  When 1 is assigned to x, 1 is implicitily converted to data type char. What is difference between implicit and explicit conversion? W...
I have problem with my program, it works, now, but when I enter a "character" other than a number, I get a program overflow and cannot quit the program.  What do I need to insert to make a "ch...
I need some kind of link to a tutorial or other help on multithreading using C.  I'm trying to interface a flight simulator with a genetic algorithms program, both written in C. I need to exec...
I have this code in C: How do I code a part to find the string "Sending boot event"  that is contained in the BlackHostLog.txt  and report a message saying passed to the status file? #includ...
I want an explanation:  what does following statement means? and what is the use of assert()? assert(c -> e  == 1);
Hi friends ! Long before 5 years, I used to make some basic and intermediate programmes using C language. But after that, I switched to Computer Networks, so I never used 'C' again. Now,...
How do I convert a floating point number to string?
Does anyone know the layout of a .LNK shortcut file? I need to know how to read the path, executable, default directory, title, icon location, etc. from the raw file. Hopefully a "C" structure...
Hi there can anyone help me with a  c program to get time in milliseconds.I was in Linux platform and want to record some values in milliseconds.I have used sleep but could get in seconds.I w...
Hi, I remember in C++, you can do a  cin>>ws to read the white space, can I do the similar thing in C? Thanks!