What do you think about Windows 7? Write a review or a how-to about Microsoft's newest product and earn unlimited points!

 

Having problems asking a question? Have a general question about Experts Exchange? Let us know!

 
Top C Solutions: 126 - 150 of 250
 
Hi, I'm currently debugging a C program on linux and tracked it down to a mutex_lock() where the program just 'hangs'. What's the best way to debug this and what could be causing the issue?...
I have written a function as follows (see code section). The length of the variable I am passing to subject_code can vary from 4-5 characters in length. When I do the malloc for the local vari...
Hi, I'm trying to create a "makefile" for my project in C. Suppose I have 2 C files : main.c a.c and an H file def.h How a simple makefile should look? Thanks in advance!
So I'm looking at the C standard (ISO/IEC 9899) and 6.2.5 Types, second item is: 2 An object declared as type _Bool is large enough to store the values 0 and 1. Now, I'm trying my micr...
Hi guys greetings.......                 I have written a program where user are given options to enter the numbers and then 2) option in the  program computes mean, median, mode, varience,...
Hi I'm having some problems with my code here. Here is what I need to do. 1. Create an array of buffers of size nBuffers 2. Fill up the array with new buffers 3. Initialize each buffer to z...
Can someone explain why the code below returns the error: 'SAM1': undeclared identifier On the 'x=' line? I would think that the first #define would be fine, then the second #define ...
I've been playing around with BDB for the first time today.  So far progress is pretty good. However I'm having difficulty in getting a little program compiled structured data out via a cur...
I have a program, built with flex/bison/cc that I pipe data to, and then pipe the output to a file. This feels sort of like an ugly hack, and I'd like to integrate the code produced by flex...
hi sir, i am facing problem in checkin whether user is connected with internet or not i am sending you the code attached with my mail, this is written in vc++ 6.0, it is an win32 application....
I want to link a lib file while compiling the c program in turbo c. How do i do that. The functions initialize, send and enter are in a lib file.
hi, could anyone pls help. when i try to set a position, i am getting error : error: incompatible types in assignment pos=4; fsetpos(fp,&pos)) ta, zizi
I have a dll that I need to link against and that I do not have the source code for....it was supplied to me by someone whose source code I am not permitted to see..... I am using Visual St...
Hi all, I've been tyring to get my head around this problem for a few hours now. I am getting an 'incompatible poitner type' warning. I have something similar to the attached code which...
Dear All, I have a header file named as UnitConversionConstants.h. Basically file contains data such as; #ifndef __UnitConversionConstants_h__ #define __UnitConversionConstants_h__ #...
Hi, I've built a driver that works as a block device, it's a ram disk. Basically, at this point I'm trying to modify it to support change notifications. Here is what I was thinking: 1) Use...
Guys currently I am using 0 as a signal to end the inputting of items in an array.           Instead I want to use CTRL Z to signal the end of imputting of items....      Ctrl Z looks bet...
Hi guys,              Greetings,   I have written a small code for displaying max value, min value, and median of the inputed numbers.       I am getting .0000 behind all the numbers. I think...
Experts, I'm trying to create a shared lib on linux that can be used in another lib. I'm getting an error when I try to link the second lib. Both are compiled using gcc. Below is the com...
I am modifying a program to use two parallel threads and mutex locks on global resources (this is my first entry into the world of threads and mutexs).  I compile with cygwin's gcc compiler  ...
I'm trying to run the single frame capture example programs that are provided with the dc1394 library seen here: http://www.tldp.org/HOWTO/libdc1394-HOWTO/concepts.html They compile fine u...
how do you remove a character from a string in c I need to remove a dash from a string
I am using unix domain sockets. I am using poll() call to figure out if  have any bytes to recv on the socket fd. The question I have is: Following this, is there still a need or rather is ...
I understand the in Visual Studio 2005, all the UL languages (including VB, and C++)compile to the same Intermediate language (IL) which then gets compiled to maching language. Is this interme...
how can i merge two character arrays that both merge but similar elements only once apper in third array.thanks plz help me soon.