2000 organizations, including eBay, Ericsson, and Lockheed Martin, now work smarter with Corporate Accounts. Save over 36%!

 

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

 
Top C Solutions: 126 - 150 of 225
 
Looking for a simple yet efficient way to count the number of 1s set in a 32 bit word. Appreciate your help.
hi, i am using ftell to give me the current location of the file.. now from th value returned from ftell , how do i use fseek to go forward by certain positions or move backwards certain...
Hi, I got the following error when I compiled my C code: mmldap.c:213: warning: assignment makes pointer from integer without a cast Line 213 in mmldap.c is as follows: guid_value = l...
My problem is mainly in having processes wait for other processes. Also, I would like to know what the parameter to the exit function is for. Any other tips are welcome. code: #include <...
hi , this is really strange. i have a loop like this where it goes to infinite.. for(unsigned int i=255;i>=0;i--)      {           printf("i is %u\n",i);      } in order to prevent the infinite lo...
i am trying to read in a config.txt file to set the config options for my program.  the config file uses return characters to delimit the different settings.  the first line to read is simply ...
hello, I downloaded some source code from sourceforge.  It's one of those deals where it is an open source project for both linux and windows, and there are separate build instructions for t...
Hello Experts, I need your help for the following code, i want the program to accept a dimension which will then create a square array of values and then initialise and fill in the array wi...
any sample c++ program to establish connection with database?
I have this piece of code, wich it's included in a static library, but when it's been executed throws  a "Memory fault (core dumped)" error. The line that give the problem it's the FD_SET f...
Apologizing in advance if I'm asking wrong, first time user here.  My code as I have it submits a license number and makes licensenumber = licswap via: m_ClientInfo.Profile.startlicense.lic...
Dump of assembler code for function phase_5:     0x08048e4b <phase_5+0>: push   %ebp     0x08048e4c <phase_5+1>: mov    %esp,%ebp     0x08048e4e <phase_5+3>: push   %edi     0x08048e4f <ph...
Hello, I am new to sockets and TCP/UDP. (I am working on Ubuntu). 1. When I open socket on my PC then do binding to specific address (Port+IP), what does it mean? And is it an IP adress ...
hi, i am using fseek to go to certain positions.. is it necessary to use ftell with it... thanks.
hi there   can anyone tell me how to read a text file in C and C++ and write(update) some values back to the same text file...
I'm trying to combine code from two different files. My problem is that "elf_info_to_howto_rel" is defined as a macro.  Is there anyway to escape it in the line below so ebd's elf_info_to_howt...
I need the following code to be converted to vb.net code.
What is the significants of name a Var with the prefix sz as in szParam. I understand ifoo for int, or bFIRST for Bool or lcount for a Long etc. but what is sz? I usually see it as a char, alo...
I have an application that uses the CDateTime Ctrl with up/down arrows. It also contains several "fields" of data (DDMMYYYY HHMMSS). One of these is also a text string indicating GMT or Local ...
I have a simple Access table that has 3 columns ,the first is autonumber ,the second is of Number datatype and the Fieldsize is Sinlge ,the 3rd one is also Number and the FieldSize is Double ,...
Hello Experts, I have a problem with the semaphores in the following code which it terminates before to actually call the average function Thanks in advance for any help ! #include ...
HI i want to creta an character arary in C whose size is not known initially....i have to create this one depending up on the data i have recieved. For Example: case 1: if i recieved only ...
can anyone please recommend me a useful link or provide me a code example for a"Delay Loop" in C programming which is use in PIC MPLAB, and the compiler use is MCC18. thank you
I was just reading difference between union and struct and I was stumbling to understand one of the concept. I would like to show example of my confusion: Example: " union exforsys_t {  ...
I have a c program called dirty_demog.c I compiled it with the command "make dirty_demog" with no Makefile and I did the command "gdb ./dirty_demog" and I can't seem to set breakpoints: (gd...