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:
helllppp!!!
Started by Maisnam, Jun 09 2010 10:03 PM
4 replies to this topic
#1
Posted 09 June 2010 - 10:03 PM
|
|
|
#2
Posted 09 June 2010 - 10:16 PM
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.
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
Posted 09 June 2010 - 10:19 PM
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
Posted 09 June 2010 - 11:39 PM
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.
[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
Posted 10 June 2010 - 06:10 AM
THANKS DUDE. I really appreciate the help


Sign In
Create Account

Back to top









