Been using an eeepc for the past 2 years. Top notch quality, not a single problem. Heard that service centres are few in number, the dealer himself discouraged me from buying asus! Took a leap of faith, didn't have to visit one until now. :)
I implemented doubly linked list using the following program in C but the create function is not working as intended. strangely the insert functions work great.
if i create a list with more than two values and display it it enters an infinite loop.
#include <stdio.h>
#include <stdlib.h>...
thanks guys.... managed to get it working by creating a new thread using pthread.h (have to get a better understanding of threading though)
heres the program incase anyone's interested
#include <unistd.h>
#include <curses.h>
#include <stdlib.h>
#include <pthread.h>
int wx,wy,x,y;
int...
How do i keep running a loop until user presses a key.
I'm coding a snake game with ncurses (linux) and its all done except that the snake does not move automatically :D
i heard it can be done be creating a seperate thread using pthreads?