Hi all,
can any one tell me how to pass parameters to a callback function?
i have a callback function "mycallback" which is called as parameter in another function.
please check the sam...
Hi,
i have a windows application written in C(only C).
in some scenario , if a condition fails, i have to make my main window visible = false;
initially i am creating a window with prede...
I was wondering if I could get any help on decoding this code. It involves a linked list, and I believe it modifies the nodes. I have posted part of the code, and I was wondering if I could ...
Hello,
I have a string of the following type:
"my picture.JPG myPicture 2.BMP third picture.bmp"
I need to parse this string to:
my picture.JPG
myPicture 2.BMP
third picture.bmp
I...
I have built a new c rogram to check the given number is a palindrome
Can you please check what is the error as it is not working correctly
#include<stdio.h>
void main()
{
int n;
print...
Hello,
Here is my problem. I'm modifying an old C program, and I haven't worked with C in 10+ years (I am a full time programmer in .Net though!)
Basically, the program is reading from ...
hi sir, i am facing problem in checkin whether user is connected with internet or not
i am sending you the code attached with my mail, this is written in vc++ 6.0, it is an win32 application....
how can i merge two character arrays that both merge but similar elements only once apper in third array.thanks plz help me soon.
Hi
I have some C code where I have a
char myChar = fgetc(file);
What I want to do next is "rewind" two characters back so the next time i call fgetc(file) it will give me the character t...
Hi, in C is there a way I can write a function that returns a pointer to data, in a way that ensures that the calling function can't modify the data that the pointer points to?
For example,...
Hi,
I know in windows I can run my dll through something like UPX which will hide strings etc. But when I compile on Solaris and Linux, I do a "strings my.so" and I see all the strings. Is ...
K so i have everything working up to the point, where it has to calculate the total interest accumulated thru out the months. I thought i had the correct formula for it, but it seems tho it on...
I have a C program that gives me the following warnings
[Warning] passing arg 1 of `fprintf' from incompatible pointer type
[Warning] passing arg 2 of `fprintf' makes pointer from intege...
i want a turbo C++ code which gives me the dump of the whole memory
using pointers ???
i am using Turbo C++ and Dev C++ compilers ???
I want to use perl script in windows mibile application i am already having.
How to use perl script in c programming.
I need a way to check the length of a string without using strlen, but does the same thing. A simple loop. I can't seem to figure out a good boolean expression. Suggestions?
Hi guys, greetings...........
One of my friend send me a program he wrote it or found somewhere, I don't know. And told me to identify what programme is all about and put it in...
Hi,
I currently have a header file and a source file.
The header file has a reference to CreateClient function which I'd like to call from the cpp source file. The header file is include...
I need to write a c program that Calculates eigenvalues and eigenvectors of a 3x3 real symmetric matrix and without using libraries. Does any one have the smaple code...Help please!
hi,
could anyone pls help.
when i try to set a position, i am getting error :
error: incompatible types in assignment
pos=4;
fsetpos(fp,&pos))
ta,
zizi
I'm trying to read a data file below
apple; red
mango; yellow
watermelon; red
and place the data in a struct array. It shoud output
apple
red
mango
yellow
watermelon
red
Ho...
I'm using ubuntu terminal to run both files - client.c and server.c Each on separate windows...
I'm trying to fix the problem of unable to exit from the program.
Any kind soul can pinpoi...
Hi guys, Greetings...
I wrote a programme to find mean, median and mode of entered numbers.
Mode is the element that is repeated highest in a given set of numbers. My pro...
I need to creat a method called ClearList that initializes my dual linked list, if the list isnt empty, i should return all the memory that was allocated. I need to call the free() method wit...
I'm trying to understand memory management for C code, I had a look at http://www.c.happycodings.com/Data_Structures/code9.html and wrote similar code to fit my problem which I've added below....