The reason they teach DOS programming is because its a lot easier to learn then win32 api. New programmers don't yet have the skills needed to program win32 api.
Another reason may be the old and ancient compilers/IDEs some schools use, such as Turbo C. They are too old to code for win32 api.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
Why should a person learn win32 api?
It's fun and it's a challenge. It gives you another tool in your tool box to use when needed.
___________________________________________
What things I can do when i have learnt it?
Anything you want. Well, almost.
Understand what's behind Visual Basic and why you can't do certain things with this or other less flexible languages.
___________________________________________
Some people tell "There is no need to learn win32 api because literaly you will only design Window(box, messagebox etc), which you can easily do by MS Visual studio tools!". Is this true?
Visual Studio is a group of languages that can be used to create Windows based programs. It isn't a language in and of itself. You can use whichever tool suits your needs and knowledge base the best.
_____________________________________
And if i want to write a Video player software still I would have to use 3rd party library files(Header files)?
Quite possibly. There's no one tool that works for every job. Of course, you could always write your own functions etc, but if there's something already written that does what you want, go ahead and use it, unless you're a purist and want to do everything by yourself.
_______________________________
I am asking it because most of the colleges and schools teach only Dos programming in C/C++.. I don't why?
Not all schools do it that way.
DOS is an operating system, not a language.
Programming for a console allows people to learn the basics without all the falderall. Of course, using things like Visual Basic or other more "user friendly" tools is another way to go.
Lerner
Nearly a Posting Maven
2,382 posts since Jul 2005
Reputation Points: 739
Solved Threads: 396
It's just another environment where you can choose to take advantage of the benefits.
The same concept applies to other operating systems and operating environments like Unix/Linux, DOS, Dot Net, JVM, Apple, Mobile (Android, Windows, iOS, WebOS), etc.
Each environment has something for which it is well-suited.
thines01
Postaholic
2,424 posts since Oct 2009
Reputation Points: 445
Solved Threads: 402
You would want to learn QT if you want to write a cross-platform program. QT is a compiler that produces GUI programs for both *nix and MS-Windows from the same exact source code.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343