Hi!
I'd like to convert 32int into float value.
Direct cast does not work in a way I expected.
ex:
in hex BFFFF2E5
singned int -1073745179
When I cast
Type: Posts; User: dereach
Hi!
I'd like to convert 32int into float value.
Direct cast does not work in a way I expected.
ex:
in hex BFFFF2E5
singned int -1073745179
When I cast
Thanks for help.
However I don't understand how to use Your tip.
Piece of code would help how to convert int to float and use "dereference-cast-to-float-pointer-address-of".
Why I need to store...
Yes.
num=3f800000
wynik=0000803f
Hi
I'd like to write files with binary content (.vtk)
I need to put to file some data-points.
I know that inside file should I get (I know because I compared with some other correct written...
Thats right.
Thanks for help.
Hi!
I'm trying read data from binary file.
File looks in hex editor:
12 1A 15 00 AD AE 11 00 16 00
I use getc to recive data.
Hi
You are right. Mistake was in ....
It takes some time to find it. Local variable cover global and there was no access.
But now it works correct.
Thanks a lot :-)
Daniel
Hello
I'm trying write program in GTK/C. Inside one callback function (called on button click) I read data from file and allocate them dynamic.
extern gfloat *X;
void...
Thanks for tips.
I also found inforamtion about function: lookup_widget() or glade_get_widget_tree (GTK_WIDGET (....));
It means I can find pointers to other wigets in window and use them.
Next...
Hi!
I started writing code in GTK+Glade and ... I stopped.
I don't have idea how to send information to callback function.
Mainly in GTK the is only one place to send variables to callback...
Thanks a lot.
I did not have idea how exactly works g_idle_add function.
Daniel
Hi
I tried make one of my first program with GTK, but I found problem.
I wanted to use g_idle_add, and I need also send to my function
function few informations:
GtkWidget *box_1, *box_2;