Time for your 3rd Quarter Update! Are you in the running for the 6th Annual Expert Awards? Click the link to find out.

Third Quarter Hot Shots
 

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

 
Time Tested C Solutions: 51 - 75 of 2136
 
Is this initialization correct ? char sqID_split[5][15] = {""};
as a newbee to c/c++ development, i would like to know, how i can convert a INT number to a CHAR string ? anybody who could help me please ?? thx a lot
In C, In the code below, I just want to be 100% sure that I understand the difference between statements (A) and (B): void try_this(char *p, char *q) {       const char*  constptr = p;  //...
Hi, I am trying to count words in a file like this and i am getting infine loop....Any help is appreciated . thanks... int countWord(char *f,int *); int main(void) {    int c;    ...
Hi, I have some problem with pthread.... I use "pthread_create" to create a thread in order to run some functions...I wonder after running through all the functions, will the pthread ter...
Hello, Anybody know the equivilant for unistd.h in Windows? A friend of mine needs it, cause in Linux this file provides the programmer with a set of functions that can be easily executed ...
On what factors, size of data type depends? 1. Hardware Architecture 2. Operating System 3. Compiler By definition, char must be at least 8 bits. That means can it be 16 bits as well.
   hi expert!!!  i have to create a timer for  a particular time,and have to set that. and after using it ,have to kill that!!! how to do it in " c ". please provide the solution as soon...
Hi, How to list files in a directory using a C Program ? Thanks Praveen Parmar
I just recently found out about POSIX semaphores.  POSIX semaphores are a way to synchronize access to shared resources between multiple processes.  Supposedly, they are superior to traditiona...
How to verify user input is number in C?
Hi, when I compiled my C code, i always see warning "ISO C90 forbids mixed declarations and code" What does this mean?
i have a string " c is    better than pascal after i run the following recursive code, i get output "pascal than better is C" pls check out the space between is and better is not preserv...
I am having trouble reading items into a multidimensional array. I have a file that is always in this format below: 3 1.2 2.4 3.5 1.2 0.4 5.6 The top line indicates how many items the...
What are the best C and C++ IDE's to download for free with their links for windows OS? What are the best Commercial C and C++ IDE for windows OS ? What is the latest version of C and C+...
I have a prototype for a function (that I didn't write but have to use) and I think that it takes a two dimensional array and I don't know how to pass one to a function.  The function prototy...
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,...
Anyone knows how to do a 6x6 matrix inversion?
I'm trying to figure out how to avoid recv() calls that hang forever by using using a non-blocking socket along with the select() function.  This seems to be the standard way to avoid recv() c...
where can i download curses.h from ?
int function(int a[] ) ; main () {      int i;      int k[something];      for (i=0;i<5 ; i ++ )      {           k[i] = // something which generates random number           pri...
A configuration file consists of sections and entries. Each section is defined inside a "[]", and each entry is delimited by an "=" sign. The value of each entry can be either string or an int...
Hi, To use mod in C, i use % num1=9%7=2 how do i do a negative number ? num2= -9%7 ? Thanks
when I compile my program with gcc -Wall -o fn filename.c it compiles okay, but I am getting a warning. It says   warning: implicit declaration of function `exit' What exactly does this ...
I'm tweaking a program that requires that I raise an integer to the power of a fraction: 3 ^ 1.4, etc. The problem is that I cannot use the standard math.h pow() function as I'm having too ...