Advertisement

Over 40 Experts will be attending the first Annual Core Conference! Take a look at what will be happening throughout the week...

2008 Core Conference

 

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

 
Time Tested C Solutions: 251 - 275 of 928
 
Hello all, I'm trying to do a string comparison on an LPBYTE buffer and am getting compilation errors. Any ideas?
Hi, To use mod in C, i use % num1=9%7=2 how do i do a negative number ? num2= -9%7 ? Thanks
Hi, if have any of you can help me figure this one out, I'll be very grateful. I had to write a program to convert a binary number to base 10,8 and hex and convert  base 2, 8, 16 to a binary n...
hi, i'm using microsoft visual c++ 6.0 and windows xp. when i compile my c code, i get this error: error LNK2001: unresolved external symbol _getopt it seemed that getopt() has been ...
I am trying to access argv[], argc in a function i am using but it wont compile, it keeps giving me error, 'argv, argc undeclared' int processRows(int i) {  int rowNumber;  while (i < ar...
Hi Folks Can anyone tell me if theres a C runtime equivalent to _stprintf_s available from MSVC6 ? When I compile my project in MSVC6 it raises        "error C2065: '_stprintf_s' : unde...
Hi, i am new to C and am trying to write an Embedded program for a microcontroller, I think the question though is a very basic c question. I have a function in a file called ISR.c which cont...
Does the C standard explicitly require malloc to return a word-aligned memory address?
How to code the Shortest Remaining Time First(SRTF)? I'm having a hard time on coding the pre-emptive part of the algorithm. Thanks a lot.
Hi I'm using the _strdate() and _strtime() functions so that I can send them out to a log. Currently I'm using them functions like this: char date[50]; char time[50]; _strdate(date);...
Hi I am getting error in the following line.... int m=0; for(l=0; txt[l] != '\0'; l++)   {      if((txt[l] != ' ') && (txt[l] != '\r')  (txt[l] != '\n'))      {           str[m]=txt[l];          m++;      }...
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...
HI, How do you print a variable in a makefile? I tried echo "${Some variable}" and i get *** missing separator.  Stop. How do you use the echo command in the makefiles? Thanks Jamie
I was wondering if this is possible. I have a C# wrapper class wrapping a C class The C class perform database manipulating methods "inserts, updated and deletes". Now the trick here is the...
HOW TO FIND THE LENGTH OF A STRING WITHOUT USING STRLEN METHOD
i wanted to take screen print /PrntScrn of Graphics programs of C using PrntScrn key on keyboard. i am using Windows XP. it didnt work. But when i tried same on Windows 98 on another machine ...
I am getting a signal 11 error for strcpy function in Linux.
The following is an interview question : Given an array of size N in which every number is between 1 and N, determine if there are any duplicates in it. You are allowed to destroy the array...
the program in C  asks to type in any decimal number between 1 and 1000 and get the binary equivalent.this should be done without the help of arrays and pointer and only for loop can be used.
Hello, I'm trying to encrypt a symmetric key using RSA with OpenSSL my code looks something like (for mingw) : in the example the symmetric key is replaced by the word "hello" int main...
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...
what is structure padding? who will take care of structure padding,compiler or programmer what are the consequeses if structure padding is done?
If I am working with very large float variables, and need to eventually display the output in scientific notation, how would I do that with printf? I also do not want to lose anything from ...
Hi. i asked this question already, but i'm having trouble with the solution someone suggested. They suggested that i use a circular buffer. I'm new to programming and don't really understand w...
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