Jump to content

helllppp!!!

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
4 replies to this topic

#1
Maisnam

Maisnam

    Newbie

  • Members
  • Pip
  • 3 posts
Hey everyone . i need a big help. i am new to programming , I have learnt the basics of c ( structure, loops, sorting algorithms, etc ,etc). I want to step it up a bit higher and want to do some simple application development like text editors and calculators. Can someone advice me on what i need to do next. :crying:

#2
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts
Work on small projects, say you wanted to build a calculator. Create classes and generate a clone of the one Microsoft provides (or any other platform's basic calculator application). Note you should do this in console and make it well-formed and clean (you'll need to implement buffers, types, vectors, etc.)

Once you're done this look at GTK, QT, WxWidgets or any other library you wish to create an application. If you're on Windows than there is enough to start GUI programming there, there's plenty of tutorials online for that and you can officially implement your calculator program into something useful (non-console binded).

This of course is just an example, you'll need to write clean and proper code, and much of it to continue learning. It's a good idea to grab a good book on the language and most will provide advanced details into a more robust application's code.

Saying that, look at open source applications as well, it is a key source of knowledge to get to see hands on how many programmers tackle the problems they need to daily.

#3
Maisnam

Maisnam

    Newbie

  • Members
  • Pip
  • 3 posts
thanks.. one more thing what do i need to learn to add interfaces to applications . I mean the simple interfaces like adding windows and buttons

Edited by Maisnam, 09 June 2010 - 10:21 PM.
mistake


#4
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts
I meantioned some cross-platform libraries (QT, GTK, WxWidgets) but of course if you're only going to develop on Windows there's no need for anything external, all you really need is to include the windows.h header file, here's a short tutorial for the Win32 API:
[Link: Windows API Tutorial ]

There's more online, but just note it won't be such a straightforward task, there is a lot in OO you need to use for simple things.

#5
Maisnam

Maisnam

    Newbie

  • Members
  • Pip
  • 3 posts
THANKS DUDE. I really appreciate the help