Code compiles etc. but just hangs on run.
- by Aidan
Hey guys,
My program is meant to parse through a text file, extract relevant data and then save it in a SQL table. I compile it like so..
gcc -o parse parse.c -I/usr/include/mysql -L/usr/lib/mysql -lmysqlclient_r
then I run it like so...
./parse > tweets.rss
But it just hangs. it doesn't print any printf's I put in to debug. Whats wrong? here is my code...
http://pastebin.com/3R45zyMp
I'd appreciate any help!