C programming question
February 15, 2009 8:19 AM
Subscribe
Seeking some direction in learning C for a project.
I have an project I want to work up to, and I am planning on writing it in C.
I have written simple command line programs in C. I have experience in simple shell and perl scripts.
I'll be writing and running this program on an old box running Kubuntu 7.10.
The ultimate project would be similar to an 8bit sprite/tile editor for bin dumps from toys.
I did write a perl script which read in my dump and generated html files as 480 byte snapshots to look for the fullscreen graphics of the toy. This functionally worked, but took time to generate, used alot of space, and was slow to go through results.
I downloaded several actual tile editors and tried my bin dump just to try. I found it of course much better than my method - loaded imediately with a scroll window to scan through quickly. What did not work was they were 8x8, 16x16, not a custom size.
My end goal is to have an ajustable size scroll window which will allow me to identify offset by mouseover/click.
My intial goal is just to write a gui app that renders the bits as pixels in a window.
I am looking for recommendations of online tutorials or books with projects that will build in the gui direction. What I have found seems to just be command line with output going to terminal or file.
posted by sailormouth to computers & internet (13 comments total)
2 users marked this as a favorite
Second, here's an online tutorial by Ritchie, the developer of C.
posted by IAmBroom at 9:08 AM on February 15 [3 favorites]