thanks a lot, this is really baffling me as well :confused:
Type: Posts; User: zmerlinz
thanks a lot, this is really baffling me as well :confused:
GETLED is defined in ioctl.h, i searched for kbio.h and it seems that it is used mainly for SPARC systems
i have this code to determine which lights are on, on a keyboard.
but if i run it in x windows it doesn't work, i get the error
ioctl: Invalid Argument
but if i press ctrl+alt+f1 for...
is this what you are on about ??
http://junk.dawnshadow.se/yp010.swf
my high score 302.6
or you could print it out, and then scan it in using OCR, failing that just copy it out :p
i got OS2 warp
http://www.ucomics.com/foxtrot/index.phtml
that one went round out uni, and then there was another email telling how to put it back :rolleyes:
i still think that the funniest was when one of the lectures told their whole class to delete...
Thank you ever so much,it is finally working :D
and i have learnt a lot from this to
sorry about all the questions
Thanks to all that helped :D
i see what you say, and i have implemented that now,
but it still prints out 1000 lines of 0.000000000000000
it is driving me mad !!
well you need to find the Mean weight of the phones (add them all together and divide by the amount of phones)
they you will get a average weight, then print out all the ones that are < average :)
and here is the txt file :D
thanks for your help :D
ok
here is the C file and text file that it is reading in
i have done that now, but it still doesn't seem to work, all it prints out is 1000 lines of 0.000000000000000
so it seems that it isn't working with those values at all
any idea where it is...
personally i have never got on with either McAffe or Norton and Sophos is a waste of time IMHO
so i have always used AVG it is brilliant, and their free version is free just a few things that you...
atof doesn't seem to work properly
here is a copy of the txt file if it helps ??
so if i were to use sscanf()
i would do something like this ?/
sscanf(nums, numbers[i], float);
the file that i am reading in contains a long double on every line
so how would i remedy it so that it enters these into the array ?
thankyou for your speedy response :D
i have a text file that contains numbers and i am reading them in line by line, this is not a problem
but the problems come when i try to get these numbers and put each number in the array, for...