C++ Practice Programs [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 11 years ago.
I am currently learning C++ and now understand things like classes and pointers, etc.
Anyone have an idea of what programs I should practice writing when teaching myself C++?

Try reading books that have exercises at the end of every chapter and try making them.

You can check Thinking in C++. The books are available online and they have exercises at the end of each chapter.

Related

CPP Socket Programming [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 9 years ago.
I am new to C++. I want to study socket programming. firstly like a simple chat with a client/server. I don't know where to start and how to start.
Is there any good guides and example programs for beginners. I searched a lot of things in net and its too difficult to understand.
Boost Asio isn't that hard to learn. Take time to read its tutorials and examples.
i found http://beej.us/guide/bgnet/ great easy understand and get into programming mode faster

Advice on Creating a DBMS [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 am looking at ways of creating my own DBMS from scratch in C++ (just for fun and educational purposes). I am stuck with the place to start it. Can anybody tell me how I should begin (design) this. Will postgresql code and the architecture be of any help?
Thanks in advance.
Have a look at SQLite and its doccumentation. it might be a good point to start.
Start by reading "Transaction Processing: Concepts & Techniques" by Gray and Reuter. It goes through all the major components of a DBMS. Following the references is very interesting.
It is almost 20 years old now, but still very relevant.

Call a function from a prototype in C++ [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.
How to call a function from a prototype in c++?
Any suggestions?
see example ...
http://msdn.microsoft.com/en-us/library/a5s9345t(v=vs.80).aspx
I would rather suggest you to get an introductory C++ book from this list and read it properly :
The Definitive C++ Book Guide and List
Then you'll know what you're asking. You need to study a book first, before asking such questions!

Multiple inheritance in C++ [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 12 years ago.
As you know, C++ allows multiple inheritance. But, would it be a good programming approach to use multiple inheritance or it should be avoided?
Thanks.
In general, it's not needed and can make your code more complex.
But there are cases where it's useful. As long as it's useful and isn't causing your code to become unmanageable, I see no reason to avoid it.

Why is C faster than C++ in code execution? [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 12 years ago.
Before I knew that C was faster than C++ I was able to write some simple code where C executed faster than C++'s speed.
So my question is: please explain then reason behind this.
If this has already been explained elsewhere on this site or the internet, please share a link.
The reason behind this is your poor test.
C is not faster than C++ because C++
is a superset of C.
Here it is!