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: 201 - 225 of 1525
 
Hi, I was asked to write a program to calculate the matrix multiplication using the following pseudo codes #include <pthread.h> // global data declaration  int dim; void *multip...
Hi, Most information I have found on udp broadcasting simply states that to send broadcast messages you must set the option with: setsockopt(sock, SOL_SOCKET, SO_BROADCAST, (void *) &bro...
I am adding ODBC to an existing C application so it can work with databases. Later we will be implementing specific driver access methods. I am new to ODBC and am having a problem with usin...
hi all, Please show me the way or document to write a function to dend http request to web server. Thanks in advance, Minh
Why am I getting this error and how do I fix it? ld: 0706-006 Cannot find or open library file: -l rt Thank you
the task is: a) using the BIOS 14h serial port services, write a program in C (inline ASM when necessary) to read a char from the    keyboard,send it to the COM2 port,recieve back from COM...
I'm trying to test out how to check the existence and permissions of a file in C. And it's not compiling for some reason..keeps telling me "F_OK" undeclared, "W_OK" undeclared etc...don't know...
i use visual studio c++ 6.0 i went into the stdio.h to take a look at printf(). here is the function prototype but where is the code that shows HOW the program prints something to the screen...
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.
Hello, I am having an issue with a function I have written accepting input as a string and converting it to a float usint atof().  When it is run it accepts the string beutifully but does f...
Hi, I am writing a makefile rule and I want to write a conditional statement. What is the correct syntax to do this? Thanks Jamie rule_1:        @ if [ ${one} == ${two}] ; then \  ...
Hi, I'm developing a 'C' console application that accesses a dll and I'm having trouble getting them to link. As far as I can tell it looks like the 'C' (app) isn't speaking the same as the...
Dear Experts, Iam using Visual C++ compiler on windows xp. I want to code a function in C such that it returns the current time in the format  HOURS:MINUTES:SECONDS:MILLISECONDS Pleas...
Hi, I'm trying to convert a binary number to base 2, base 8 and hexadecimal. I've successfully wrote the conversion to base 2 and base 8. I need help with the hexadecimal. I'm not sure how ...
Hi, I am looking for a way to resolve all IP addresses on a local Unix/Linux system without using gethostbyname, since it has proven unable. For me, gethostbyname returns only one IP while ...
Hi experts, My problem is I need to know the sizeof my dynamically mallocated array. Since it's a pointer to the heap, it just tells me the size of my pointer... It seems like my ways aro...
I am trying to process a data file that contains comma seperated string data (4 fields). I am using sscanf asa per attached codesnippet but sscanf only returns a value of 1 instrad of 4. The...
hi, is it better to use malloc or calloc. The only downfall i see with calloc is the work associated to initialize the string to zero. Pls clarify. thanks.zizi
int i, j; i=10; i < 10 ?  j = 2 ;  j = 3 gives error Lvalue Required But .. i < 10 ?  j = 2 ; ( j = 3 )  works. WHY ?
i have this code which is matrix-vector multiplication i want to change it to Matrix-matrix multiplication what change should i make? if you have the code .... it is better. --------...
i'm trying to make a little software in linux, which ask for password. i want that each single character that pressed to output '*'.
you guys know that: e^x = 1+x+ (x^2/2!) + (x^3/3!) +.......+ (x^n/n!) the more terms that are added to this , the more accurate become the infinite series approximation to the exponential ...
From what I can tell, incrementing an integer variable is not atomic, and usually translates to 3 assembly instructions.  (move variable into register, increment variable, write variable back ...
hi, in order to turn a -negative modulus to a positive, this is what i do : i multiply with the divisor. But what happens if it is zero..do we still add the divisor int num ; int a =...
Hi All, While running the makefile, I am getting the error:                  Makefile:15: *** missing separator. Stop. Following are the few lines in Makefile: line14: line15:       @...