platform: linux 2.6.x
distro: debian
language: C
I'm trying to send a signal to my usb mouse. I don't want it to move, return coordinates to the screen, nothing of the sort. Let's say...I just...
Type: Posts; User: el_chupacabra
platform: linux 2.6.x
distro: debian
language: C
I'm trying to send a signal to my usb mouse. I don't want it to move, return coordinates to the screen, nothing of the sort. Let's say...I just...
This code requests some heap memory with the initial buffer size of 10.
If the user enters 10 or less items, I'm ok.
but let's say he enters 4. Although I free() the array later on, I think...
Why can't I just put grade[0] in the if statement below inside the for loop?
Different code from my project but illustrates what I'm talking about.
/*
Determine the average of a elements of...
Which is the de facto standard, the social rule if you will for function prototyping?
I'm using gcc 4.0.0. Either way, the compiler doesn't complain and the program gives the correct results.
...