Hello,
I am getting ready for an interview, and am going over some interview questions.
I am looking for a second opinion on one of the questions. Before anyone says this is cheating, I...
Hi,
I have a very project written with C.
Another project, which is derived from this one and includes some additional and removed parts.
I would like to find out
-the similarity of thes...
I am new to C development on the PC but have been programming for 20+ years, at least 10 of that in C on Sun/Solaris. I am working in Visual Studio 2005 under WinXP. I have created a solution ...
Hi
I have made a shared object library and i am linking that shared object file(.so file) with my c code.
now the question is that do i always need to include the function prototypes/declar...
Hi,experts here.
I have found a typical definition of variant length argument list here:
typedef char* va_list;
#define va_start(list) list = (char*)&va_alist
#define va_end(list)
#defi...
hi,
i am using grof and i am getting this error message..could any one pls help?
Hi,
A c program calling ftp scripts was running all night, calling a unix script which uses the ftp command every 5 seconds to send out a file.
I got following error once : "Function waitp...
1. Are there any solaris unix shell commands/shell scripts that could examine any unresolved symbols, unresolved external symbols or unresolved external linkages of any C executables/libraries...
Hi, i need to do something with mySQL database from my program written in C.I want to use prepare statement to interact with the db?Can someone here can give me an example of using it in C?
...
Hi,
I want to create a rudimentary C server program that will be run on Windows XP. When i do it with winsoc, i must use C++.
Is there another way? I managed to do it in linux by using...
If I have two character arrays and need to compare them from the beginning to see how much of them is the same, is there anything i could use that is faster than memcmp on each individual char...
The deadline has passed, I submitted what I had (below) and am now just interested in finding out what I am doing wrong.
I am still waiting on feedback from my first program from my Instructo...
Based on the next line
crc = ((crc >> 8) & 0x00FFFFFF) ^ crcTable[(crc ^ c) & 0xFF];
suppose crc = 1000 at begining...
do we got:
a)
crc = ((1000 >> 8) & 0x00FFFFFF) ^ crcTable[(1...
Why doesn't C have nested functions?
Hi
Last time you stop answering my question, so, I split points, and close that one, and since I came up with some new ideas I post them here
I am writing a program in C, to do ls -R com...
Hi Experts,
I am writing a program in C to do ls -l , every thing is works fine, but the only problem is function 'sperm()' is not working for getting the permission, do you have any idea w...
Hi,
I was looking at the source to the cat program--I downloaded from gnu.org--but I'm confused about some functions that look like this:
printf(_("some %s stuff here"), possible_var_her...
I get some hex-values via argv, for example: 41
Now, I want to get the character representing this hex-value (for the above example: A).
How to do?
I recently learned how to use bitwise operators to create 8 boolean flags using a single variable. The purpose was to create a character map where I could define customized qualities, similar...
I have a question about how wchar_t works. I understand that wchar_t is either two or four bytes, depending on your system, and allows a much wider range of characters to be stored than would...
I've been using this function to convert integers into wide character strings, but I realized the function fails if the integer to be converted is 0. This happens because the for loop breaks ...
Suppose I have an array of single-digit, base 10 integers, like:
int intarray = { 2 , 5, 7 };
Is there a way I can convert this into a single int, with a value of 257?
Hello Experts
I have a structure which I pass between functions successfully.
I want to change that so rather than pass a single structure, I pass an array of structures.
How do I do th...
Hi expert
I am still writing a FTP client :P
I did the NLST successfully, now I have the list of files and folders in the directory, what I have to do now is to look at each line, take t...
Dear Experts
We are getting the segmentation fault error at the following
while(pCust->ases_num == (++pCust_nxt)->ases_num)
The above portion of the code gets called several times durin...