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.
plz Send me the answer of the following question.
what is the persistent c++ system?
A persistent C++ system could be a software layer or an entire ORM responsible for the persistence of C++ objects in a database,
The persistent C++ system doesn't mean anything out of context.
A persistent C++ system uses persistent C++ objects.
Those are objects that continue to exist after the method exits.
For example see persistent C++
Sounds like homework, but:
Persistence in C++ is generally usually handled by serialization.
Related
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 was going through Scott Meyer's podcast on CPU CACHES AND WHY YOU CARE It seems this will make code run faster, is there any open source where such coding is done for reference.
Or anybody has example of design of data structures/algorithms based on CPU caches aware
Sure, the entire Linux kernel is implemented to be cache-aware.
For more details there is highly recommended paper What Every Programmer Should Know About Memory.
Linear algebra is sensitive to cache problems. The BLAS subroutines allow one to abstract away from these concerns
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.
Here's what I am trying to accomplish.
I want program1 to create a shared memory segment where I store various arrays.
Then, I want program2 to read in the arrays and modify them.
This sounds pretty simple, but for some reason, I cannot find a single example online that shows how this is done. Every example I have found uses a single program (e.g the initialize, read and write are both done by program1).
If somebody can provide an example here, I'm sure this would be hugely beneficial for pretty much everybody that wants to use IPC in C++.
Boost.Interprocess has a guide for the impatient.
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 have to create a simple application for accademic use, where I have to instantiate an authentication run using diffie hellman and other stuff. I need to know how I can create a connection between two instance of the program. Can I create some type of connection (maybe TCP) with c++ function?? There's some libraries to do the networking?
You can use boost, here are some examples:
http://www.boost.org/doc/libs/1_36_0/doc/html/boost_asio/examples.html
The term for such communication is Inter Process Communication (IPC)... you might start by reading http://en.wikipedia.org/wiki/Inter-process_communication
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.
hey i need c++ program to edit windows registry
One good program is Regedit.exe. It is probably written in C++.
Qt has an excellent framework for editing registy - that is, QSettings. And for bonus points, if you happen to change your mind and go Linux, your code would still work, storing your data in .ini-style configuration files.
Take note that Qt is very fat for a C++ library, but also very functional. There's a crazy lot you can do with it. I also absolutely recommend it for GUI.
There are probably a thousand small C++ wrappers for registry access. Of course I wrote my own, too. See the class RegistryKey in my envvc program. It's only read-only access, but you'll get the idea.
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.
Please, could you explain, which technique is common for developing API for C/C++ programs?
One example is sockets. And what else?
Thanks...
Have a look at the APIs standardised by the Khronos Group. They have a well-established convention of defining library interfaces in a concise way.
No, they probably don't hold the Guiness record for "Most convenient API", but they indeed could have one for "Most consistent API stanard", "Best legacy API deprecation model" or something of those sorts.
One example of such API is the OpenGL's.
Don't develop your own system API. There's plenty of documentation on them already.