Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!

1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Member Since 12 Aug 2011
Offline Last Active Apr 12 2012 07:18 AM

Topics I've Started

Where can I find a decent tutorial?

08 April 2012 - 02:06 AM


I've been wandering around and looking at tutorial after tutorial, following them line by line and failing at hello world every time. Quite frankly it's frustrating. The reason? I use Fedora and C. I don't use C++, I can't use Python (won't install correctly...long story) and Java is completely out of the question. So I went and learned C.

So far, it's been a great language to learn, very precise and useful. Of course, there's a few things that I'd like to do the easy way, but I've found that actually bashing a problem through with C gives me not only a much better understanding but a faster program. (I'm happy with C, don't want to change).

Now. This is where the problem comes in. If I want to create an 'interface' things become...tricky. Now I've heard that GTK+ is one of the better ones and if I really want to jump in the deep end...OpenGL. Can I get either of them to work? No.

Every site that I have found thus far has told me I need "this package", "that package", "the other package". Unfortunately it doesn't tell me what they're likely to be called, nor does it tell me how I can find them, where to download them from or the like. Just to be a pain in the... I believe. I believe I've tracked down many of the problems.

I write down the hello world basic program, use GCC to compile...and I get error. Pkg_config/Gtk-config doesn't exist...something that the tutorial failed to mention I needed in the first place and not a package name in sight...

Can someone please provide me with a usable, accurate, C based, linux orientated tutorial!

Or heck, is someone open to email communique to introduce me to the subject matter?

All I need to do at the moment is just to create a basic hello world program in either C/OpenGL or C/GTK+. I am pretty sure after that I can go on my merry way.

Thanks for reading!

Ps. I don't need a C++ tutorial, I don't need a C# tutorial. I need a C...I hear it's sometimes called Objective C...the one shortly after B and before C++. Thanks.

Critique Code?

12 August 2011 - 10:30 AM


I have some code, using LazyFoo's SDL and leancpp.com's cpp... (which turns out to be mostly c apparently XD) it's not the most advanced code in the world, but I do have a little ball jumping around (albeit quite quickly, 'can't figure out timers yet') and interacting with a chest...

Anyway... where can I go to get some good honest constructive criticism? (I've lost direction ahem and I know the code needs more work, I'm just not sure where to go from here).

Thank you,

/*attached files. Using zip. The 'multi-uploaded' even
though i'm using chromium doesn't work so well for me*/