How to proceed to C++ application development [closed] - c++

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
i just covered The C++ Language by B. Stroustrup and looking for some application development.
How to start for it. Means GUI, networking databases and other related stuffs.
Should i use individual libraries or use some big ones like .net or something..
please recommend me the books and other resources to begin.
Thanks.

SO is not the best place to ask such questions (try some resources for newbies), but here are some tips from my experience:
Do not start practising C++ by doing GUI, networking, databases and other enterprise stuff. Try to start with something simple and try to avoid using much frameworks (or try to understand what is happening under the hood).
If you need to learn how to make enterprise applications (forms + database), do not do it C++, as there are more suitable languages for this, e.g. Java or C#.
But it you want to master your C++ skills, try to make, for example, a simple game. And try to do as much things as possible manually. C++ is a hard language which offers infinite ways of writing bad code and you need to understand how does it work before going deep into frameworks. This will teach you how to (and how not to) design and write C++ code.
If you decide to make a game, I would suggest www.libsdl.org and www.gamedev.net (there are a lot of tutorials and other learning materials).
As for a big framework, have a look at Qt (qt-project.org).

Related

OS development. How to start? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am java developer. I always wanted to write my own kernel and develop an small os, I don't know what this kernel or os will look like or what they will do but I have a passion develop something useful to contribute to this vast and beautiful open source world. I want to do this but my problem is that I don't know how to start. I had studied c/c++ in my college days, now I don't remember much of these programming languages but I can brush that up to get started. I know this journey would be difficult and long but each long journey starts with a single step.
To make sure I take correct step in right direction I need help of experts on this forum to guide me to correct direction. I am not expecting spoon feeding but your thoughts on this and references to the good books and links that could help a newbie like me to get started with such programming.
Thanks
To be honest:
I don't know what this kernel or os will look like or what they will do but I have a passion develop something useful to contribute to this vast and beautiful open source world.
If your aim is to contribute to the Open Source software pool, do not attempt to write an operating system, but pick a different thing to do. There are literally hundreds of OS projects, some of them several years in the making, and the general consensus of the OS development community over at OSDev.org is that it is interesting and fun, but not necessarily productive.
If you insist, follow that link I gave; you will find information and further links there.
Edit: If you are looking for an interesting project to learn a new language with, pick something that you would want to use. There's a reason why so many people have programmed a calculator or an address management in their early days. But seriously, C++ in kernel space is so very much different from C++ in application development that they could just as well be different languages.

Need a recommendation for a C++ GUI library [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I want to make remote administration tool. I want to take the first step by implementing the GUI or part of it (since it will be fun while being my first real experience with C++).
I need the following features in the GUI library:-
1) Modern easy-to-work-with paradigm
2) Modern kool features.
3) OS-independent. i.e. works on Mac OSx, Linux Ubuntu, and Win 7. And if could be, Android also.
Sounds to me you're looking for Qt.
Use Qt ... it offers pretty much everything you need.
Although there are already similar answers, it cannot be said often enough: Qt definitely offers everything you're looking for. I highly recommend it!
Have you looked at http://www.wxwidgets.org/ ? I've never used it in C++, but I have used the python bindings for it and found it pretty easy and very powerful. Believe they have a nice demo/sample code application for most of the features in the library too.

How to encrypt a text [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I need to implement a simple text encryption in C++ without using any existing framworks. This is purely for educational purpose to learn the in-and-outs and to learn the way to implement such a system. I am not planning to implement this in production code. I can use Windows APIs but it won't be cross platform. I am trying to learn something can work across multiple platforms. the best way to implement this is implement using C/C++. Please share good resources or links in this regard.
Depending on what you actually want, you could look at the CipherSaber project: instructions to implement your own RC4 encryption code for a simple IV+text format.
However this is an academic exercise only: you should never use your own crypto code in production unless you really know what you're doing. You could also read Schneier's Applied Cryptography for a good introduction to all of this stuff.

Forum written in Python? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am looking to make an interactive forum in Python/Django. I googled up things, looked up on your site ( there is a question where a person wants to implement a Digg like system ) but nothing definite has come up for what I want an answer to.
Is it possible to write a basic interactive forum in Python which allows say login system for one with defined roles for users, different categories say Literature and Science for now. Upload and download feature in each of the category. Also, I would like to have some good GUI.
So, is it possible? ( my search uptil now says it is ) but it would then require for me to go through PHP or something else.
What I really want to know is that is it possible to do it entirely in Django/Python ( includes everything for managing database and stuff )? If not, how much PHP and other stuff do I need?
And how much work am I looking at it in Python/Django? ( Like is it a good thing to have over PHP and/or any other system already in place)
Any help is much appreciated!
Yes. Python is a general purpose programming language, thus, it is completely capable of creating just about any kind of interactive forum you can imagine. You would not have to use any PHP... this could be done completely in Python. There are many forums already created in Django.

Free C++ code samples [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I would like to download some code samples (or even full projects) to learn from. The only place I know of is Sourceforge, but I want top-notch, flawless* code. Not to say there is anything wrong with SF but it's a toss up, and I don't want to learn from someones bad habits.
I've been through gametutorials.com and nehe.gamedev.net, but I would prefer to find something that's been done recently with best practices in mind.
*Obviously nothing is going to be perfect
Boost.
You could look at the source of web browsers like Chrome or Firefox.
Use an open source search engine like Koders
Qt is written pretty well.
Everyone's got different ideas of what's top-notch, as there are fundamental design trade-offs with no correct answer (e.g. performance, memory usage, maintainability, reusability/generality, simplicity, clarity, concision, portability...), and one programmer's idea of elegance is another's pompous over-engineering, and yet another's over-simplistic amateurism... :-/.
Boost code is good, but complicated by a different balance of concerns than most application code: generally portability, performance & memory usage, generality, elegance of usage, and minimising misusage are prioritised massively above simplicity, clarity or concision of implementation.
I think you're better off picking some code that does something you're interested in, then in your passion to change it you'll learn see the implications of the design compromises, good and bad. A smaller project where you can rearchitect the solution and experiment with alternatives is great. No substitute for experience.