want to write apllication programs for windows - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

want to write apllication programs for windows

i know a bit about basic c&c++ programming,like hello world & data structures but i want to write windows programs say a simple web browser or a media player.But i dont know where to start.suggestions anyone?

Comments

  • LundinLundin Posts: 3,711Member
    To write such programs you will need extensive knowledge of programming. Modern web browsers are for example quite complex, with lots of multi-threading etc. You need to learn socket programming and a lot of Windows API.

    If you just have basic knowledge I would instead recommend getting a RAD-tool (rapid application development) such as Borland Builder or Visual Studio. Both of them have freeware versions. Then make some basic programs using them. There is a lot of stuff built-in, you can for example make a media player without knowing anything of what's going on behind the pre-made components, but instead focus on the graphical user interface.

    Then in the future when you have deeper knowledge of programming, you should learn the Windows API.
  • Malcolm_McLeanMalcolm_McLean Posts: 254Member ✭✭
    : i know a bit about basic c&c++ programming,like hello world & data
    : structures but i want to write windows programs say a simple web
    : browser or a media player.But i dont know where to start.suggestions
    : anyone?

    You start with "Hello World". But "Hello World" in a window rather than in a console.

    I don't do much Windows programming these days, and I still use the old C Windows API. However there are more modern tools out there. What they all have in common is that it isn't trivial to set up the system to get your first window.

    [link=http://www.personal.leeds.ac.uk/~bgy1mm/BASICcalc/BASICcalc.html]Here [/link] is a Windows program I wrote a while back. You can use it as a skeleton for yours.
  • binnyktbinnykt Posts: 30Member
    : To write such programs you will need extensive knowledge of
    : programming. Modern web browsers are for example quite complex, with
    : lots of multi-threading etc. You need to learn socket programming
    : and a lot of Windows API.
    :
    : If you just have basic knowledge I would instead recommend getting a
    : RAD-tool (rapid application development) such as Borland Builder or
    : Visual Studio. Both of them have freeware versions. Then make some
    : basic programs using them. There is a lot of stuff built-in, you can
    : for example make a media player without knowing anything of what's
    : going on behind the pre-made components, but instead focus on the
    : graphical user interface.
    :
    : Then in the future when you have deeper knowledge of programming,
    : you should learn the Windows API.

    Thanks for the info but what is this windows 'API'?

  • binnyktbinnykt Posts: 30Member
    : : i know a bit about basic c&c++ programming,like hello world & data
    : : structures but i want to write windows programs say a simple web
    : : browser or a media player.But i dont know where to start.suggestions
    : : anyone?
    :
    : You start with "Hello World". But "Hello World" in a window rather
    : than in a console.
    :
    : I don't do much Windows programming these days, and I still use the
    : old C Windows API. However there are more modern tools out there.
    : What they all have in common is that it isn't trivial to set up the
    : system to get your first window.
    :
    : [link=http://www.personal.leeds.ac.uk/~bgy1mm/BASICcalc/BASICcalc.htm
    : l]Here [/link] is a Windows program I wrote a while back. You can
    : use it as a skeleton for yours.
    :
    Thanks,but the preprocessor, its the first time i am seeing one
    is it available in all compilers.
  • Ed HallEd Hall Posts: 395Member
    : i know a bit about basic c&c++ programming,like hello world & data
    : structures but i want to write windows programs say a simple web
    : browser or a media player.But i dont know where to start.suggestions
    : anyone?

    Personally, I would suggest starting with Dev-C++ and Forger's Tutorial. These will give an idea of what is going on and provide you some examples of windows programming. For reference, use Google with search terms like "msdn createfile" to see the details for createfile, etc.

    Dev-C++ can be found at:

    http://www.bloodshed.net/devcpp.html

    and, Forger's Tutorial can be found here:

    http://www.winprog.org/tutorial/

    This will not get to you a state of being able to write complex applications, but it will give you a good start into Windows programming.

    Take Care,
    Ed

  • Malcolm_McLeanMalcolm_McLean Posts: 254Member ✭✭
    : Thanks,but the preprocessor, its the first time i am
    : seeing one
    : is it available in all compilers.
    :
    windows.h contains the prptotypes for the C API to the MS Windows system.
    You ought to be able to get windows.h and the functions from any Windows C or C++ compiler. However it often requres a bit of fiddling with include and library paths and the like.
    Getting the compiler set up correctly is half the battle.




  • binnyktbinnykt Posts: 30Member
    : : i know a bit about basic c&c++ programming,like hello world & data
    : : structures but i want to write windows programs say a simple web
    : : browser or a media player.But i dont know where to start.suggestions
    : : anyone?
    :
    : Personally, I would suggest starting with Dev-C++ and Forger's
    : Tutorial. These will give an idea of what is going on and provide
    : you some examples of windows programming. For reference, use Google
    : with search terms like "msdn createfile" to see the details for
    : createfile, etc.
    :
    : Dev-C++ can be found at:
    :
    : http://www.bloodshed.net/devcpp.html
    :
    : and, Forger's Tutorial can be found here:
    :
    : http://www.winprog.org/tutorial/
    :
    : This will not get to you a state of being able to write complex
    : applications, but it will give you a good start into Windows
    : programming.
    :
    : Take Care,
    : Ed
    :
    : [color=green]
    Thanks Ed i will look into it.
    [/color]

Sign In or Register to comment.