Any c++ programmers hear?

wedagedara

Member
Oct 31, 2010
312
68
0
Abampola
I like programming.

I have built several software using java and also posted in elakiri.com,
Now i decided that c++ is the best for native windows application. I have learn about basic c++. Now i have to decide to use win API directly or use MFC.

If you are a professional in programming, please tell me are you programming using WIN API or MFC?
What is the best ?
What is professionals use?
Tell me what you think?
..............................Thanks.............................
 

Van Helsing

Member
Sep 28, 2011
83
18
0
I like programming.

I have built several software using java and also posted in elakiri.com,
Now i decided that c++ is the best for native windows application. I have learn about basic c++. Now i have to decide to use win API directly or use MFC.

If you are a professional in programming, please tell me are you programming using WIN API or MFC?
What is the best ?
What is professionals use?
Tell me what you think?
..............................Thanks.............................

oh man great I saw this accidentally. these kind of questions are very rare
in here. you would have to made this on yahoo answers or somewhere else where you can find plenty of professional programmers anyway
it's nice to see move on with c++. I suggest you if you intend to
harvest the full potential of a specific platform you definitely have to move
with its NATIVE API. Windows API is only for Windows
and not for Linux flavors ,Unix flavors(like Mac, freeBSD) so you have to
think twice in that case but if you really into Windows Programming
I suggest you select API or MFC or QT or Wxwidget. now let's see some
advantages and disadvantages of each library. API is really suitable
but you have to make lot of codes. as an example if you really want to develop a simple application then probably it might take 50 to 60 lines.
but don't worry. and WINAPI is not natively built for c++ it's entirely written for C language but still it's possible for using with any langauge
even with Java. WIN API is NOT just GUI that can be used with for
many purposes even GUI, networking, com, etc.......
the advantage is WINAPI is totally free so no need to pay for microsoft heavily I think that's quite benefit compare with QT and MFC.

so please note MFC is not free you have to buy that with Visual Studio.
then you can get it but need to pay Microsoft when you are going to sell
software developed with MFC. really suitable if you want to deal with messy codes much easily. in fact this was built targeted for C++
language. but there are plenty of disadvantages those are MFC is really weak for developing applications not even optimized properly. so you would see
some bugs. in these days Microsoft heavily invests on C# so probably
then forgot it intentionally.

so we got again QT which is a nice library for developing GUI applications
but still you can't perform many functions available for native API.
I strongly suggest you select QT for developing GUI and use some
native function when it's necessary. that means don't move on entirely
with WinAPI or QT or MFC. use QT for developing GUI apps. and use MFC
for user interfaces and some functions but when those are not available
with that libraries move on with WINAPI

I suggest you this book.
pw5.png

http://www.ziddu.com/download/14090904/Petzoldi.chm.html
 
Last edited:

wedagedara

Member
Oct 31, 2010
312
68
0
Abampola
Thanks, this solved my all problems.

Thanks a lot Van Helsing, this solved my all problems now. Thanks for your time, nice describe. Any elakirians, new to c++ read this.
 

Van Helsing

Member
Sep 28, 2011
83
18
0
Thanks a lot Van Helsing, this solved my all problems now. Thanks for your time, nice describe. Any elakirians, new to c++ read this.

Yeah it's cool for helping you actually. keep in touch with c++ latest updates
I heard they are going to develop the next version soon which will be c++0x.