I have a function that takes a double array, but passes it by
int a[2][3];
void function ( int **a )
{
blah
}
How do I call the function? or am I passing a pointer to the funct...
I need a function that takes as input 2 strings 1 is divident and 2 is the divisor i need this function to return me the remainder of this division string represent binary numbers with regular...
Hi,
I have a (C) program which reads a stream of characters from a file into an array of data, currently structured as
char data[num][len];
where num is relatively small (< 100) and ...
hi i; have met a function declaration. like below;
void asdf(int a, int d, ...){}
here as we can easily understand "..." means function can take more than two parameters.
my question for ...
Placing my mouse on a specific version of a directory in Clearcase Version spells out the names of four
files that are uncataloged. What does this mean? I don't see these files in the direc...
The technique used to be big to prevent assembly programs being hacked.
Can/Has this been done for C?
Just a link or two :)
where can i download curses.h from ?
advantage of using pointer in C programming?
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: @...
Hello folks,
I have never worked in C as Java & C# are my areas of interest. I dont have enough time to do it myself and so I am looking for some help here. As there are some programming re...
hello guys this is my program and this simply converts
int to binary however I could not understand
printf( " %i ", (arg1 & 1 << x ) > 0 ? 1 : 0 );
the 1 near arg1 , what is this 1 do...
hi, I am doing a simple circular queue program. below is waht I did so far. I have some question about this program.
1. there is a compile error after I add disp() function (like the code b...
Hi,
When i compiled my program, i got this following errors:
In file included from test.c:4:
test.h:5: error: array type has incomplete element type
test.c: In function 'main':
test....
Does anyone have a code snippet in C that retrieves a Hard Disk Drive serial number (manufacturers number not Volume Serial Number) Most graeful if you would share.
hi!!
i want to convert a string to int..
but i guess the value is bit too long to be stored as int....so i want to store it as unsigned int...but cant figure out how to make this conversion....
How do I merge 2 sorted singly linked lists ?
Thanks,
Parag.
How can you make a program that would convert a decimal value to hexadecimal value and viseversa. And decimal value to octal value and viseversa?
Hi All,
I am actually doing a robot.The robot can be moved at a number of positions,torso, shoulder, elbow, waist, hips and knees. I should use the following keys presses to facilitate thes...
hi,
i know this question has been answer a million times before but for some reason i can't find a proper answer to this problem
i have a char * that consists in 3 values separated by com...
Can anybody tell me how to use binary searh on linked list? I really have no idea.Thanks
Hey Experts!
I want to read an INI file using C. I wouldnt say im very familar with C (beginner/intermediate). Could someone give me code samples on how to read an INI file's values? Ive do...
Syncsort ? Did you use this utility? Can I use it to sort a fixed width ascii file?
What would be the syntax, having the input file name infile and the output xx.x?
Thanks
Emad
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!
I am currently getting frustrated about a problem I have been thinking about for ages.
If I have a function:
void in_array_cp(char *haystack[],char *needle)
{
...
}
which is...
What I want to do is take an integer as input. How do I declare main?
Would I say:
int main(int argc, int* argv[])???
If so, how then do I copy the argument I passed into a new variable?...