If I have to make a desktop application which deals with one screen taking in data, querying database, and then based on that display the data in other screen, what tutorial shall I see. |
It depends on how demanding you are. If you want just most minimal program that can use a database (any single database) and input and output data with it, you only need the standard library and something like SQLite or any other embedded database engine.
If you want to get more sophisticated with a GUI and a client-server DBMS, well that's much more complicated.
If I have to make a simple web application as counterpart of above desktop application, How does that go? |
Pretty much: don't use C++. There are cases where it's justifiable, but most of the time it isn't. It's just pointless when there are other languages and frameworks that can do it and are designed to do it.
in C++, one has to first gather so much material to start with, like Compilers, IDE, Library etc, and then start with development |
Yes and no.
The IDE is for the most part a personal preference. Visual Studio is, IMO, a good choice when developing under Windows. Alternatively, in some places you'll just use whatever IDE everyone else in the group uses.
The compiler is a choice determined mainly by whether you need to interface with existing, compiled C++ code. If you need to interface with such code, you use the compiler that code was compiled with, period.
Other than that, the compiler choice isn't all that relevant, as long as the compiler version is recent. There are minor differences with regards to standards compliance (e.g. GCC and Clang are the most standard-compliant), quality (performance) of generated code (e.g. ICC is considered the best compiler for x86 and x86-64), and other features (e.g. Clang does static code analysis as an inherent step of compilation and optimization, which is nice).
If you can choose any compiler, you can literally choose
any compiler. The particular choice isn't very important.
Which libraries you choose will depend, as I said before, on your requirements. You can go for minimalism and make the simplest program that
just performs its function (but does it well), or you can put all the bells and whistles you want.