How can you combine different c++ programs into one full software.

I am using the Code::blocks IDE

Recommended Answers

If you want different programmes to communicate with each other when they're running at the same time, you need interprocess communication.

http://en.wikipedia.org/wiki/Interprocess_communication

If you actually mean different cpp files into one …

Jump to Post

All 2 Replies

If you want different programmes to communicate with each other when they're running at the same time, you need interprocess communication.

http://en.wikipedia.org/wiki/Interprocess_communication

If you actually mean different cpp files into one programme, you need to compile each cpp file into an object file and then link them together with the linker. If you're using Code::Blocks, you don't need to worry about that so long as you put all the cpp files into the same project.

Well you could create a process launcher.

If you include windows and shellapi you can ShellExecuteEx(SHELLEXECUTEINFO); More information about that is on the MSDN.

For seamless integration, you're going to find it extremely difficult unless they expose some kind of COM interop or have some API you can use.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.