anyone?
Type: Posts; User: Milhas
anyone?
Because i want it to return a Int, can you correct it plz? :)
Why is my ceilling allways getting me ZERO as result?
code: http://pastebin.com/m765144af
(Dont tell me to use C's ceilling, i'm trying to make one)
Picture: http://xs227.xs.to/xs227/08194/draw931.jpg
I have this matrix where each cell has N of width and M of height. (I know they appear to have diferent sizes but paint s*cks :P)
I have...
is there any error here:
xmax = (((float)x1 + ((float)wire_data[0] /2)) > xmax) ? ((float)x1 + ((float)wire_data[0] /2)) : xmax;
xmin = (((float)x1 - ((float)wire_data[0] /2)) < xmin) ?...
I've tried to do this:
#include <stdio.h>
int main() {
int a=3,b=2;
Omg, this is so strange... i'm gona kill myself, i cant solve it any way..... :(
http://www.concentric.net/~ttwang/sort/sort.htm
Found one!
Thanks ;)
can't find good examples of sorts in google.
I want an algorithm not belonging to libraries.
I'm planning to sort only one int array of 1000.
I can't include that library, can i have some source code?
Yes, that solves it, &x2 instead of x2.
This tiny details still make me confusion sometimes..
Thanks ;)
I know there's a lot of sort scripts, i'm trying to find one that's fast for C (everything is fast in C anyway... :P).
I have this
int array {3,8,1,9,7,2,5,...}
I want to sort it this way:
...
Yes, it must be the computation..
When i'm using unsigned long long int, what cares should i take manipulating them?
Its there, is this one:
unsigned long long int area_camada,boxes_camada,wires_camada; ///HERE!!!!!!
The source code is here:
http://pastebin.com/m658c4c0b
I placed a "//////HERE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" marking the lines or functions where the error begins
If you dont want to see the...
I'm trying to implement unsigned long long int.
But i'm getting this errors (after replacing every %i into &lli or %llu):
http://xs126.xs.to/xs126/08142/pic183.jpg
The green line is given...
Please someone.. :'(
I'm getting errors. OMG i'm doomed :'(
I need to turn int into unsigned long long int for this to work but this functions give me errors when area_camada,boxes_camada,wires_camada are unsigned...
right, i forgot that.. lol
Corrected!
And if i wanna use unsigned long long int?
(i really need this answer, its for an exam :()
Thanks,
so i'll have to make that function to return a result right? :( (not being void)
I had some Int that i had to turn into Long Long Int.
But now all my conversions are mazed!
I dont know the difference between long long int to char and int to char..
i tried this example...
What's the best debugger to do it?
Ok i know the error now,
its a "Segmentation fault (core dumped)" error as usual in critical moments... :(