So, I've installed raspbian and managed to program somethings in C with CodeBlocks
I wish I could use Geany but I couldn't execute the programs.. even the simplest "Hello World"
it opens a cmd windows the shows nothing and says at the top, in the window title, something about "geany script". Even googled the problem but nothing helped me.
Codeblocks needs to be opened as sudo user and it crashes one in a while..
Other than that, I'm making some progress. I can manipulate the GPIO and write to a .txt file when - date and time - some input gets it's state changed. Next step is getting that .txt file copied to a usb drive automatically when inserted. Can I do it in C/C++? I'm guessing it would be better so I can fclose the file, copy it to the usb drive and then reopen it to continue writing the events.
Any help would be apreciated