-
Input and Output from another App
Hi
How am I able to provide inputs and get output from another program I wrote in C++. For example, I have a program I wrote, and I need to test its output against a already generated outputs. It uses cin and cout. Please advice, I would really appreciate it.
Thanks
-
You should use some form of IPC (interprocess communication) such as sockets or pipes. Another way to communicate between processes is by using a file that one process updates and another process reads. You will need to use locks of course.
Danny Kalev
Similar Threads
-
By Darkrider in forum C++
Replies: 1
Last Post: 04-24-2008, 06:03 AM
-
By spiritt in forum VB Classic
Replies: 1
Last Post: 08-16-2007, 02:47 PM
-
By Darkrider in forum Database
Replies: 0
Last Post: 11-28-2005, 12:56 PM
-
By adohelp in forum Database
Replies: 1
Last Post: 01-09-2002, 07:23 PM
-
By adohelp in forum VB Classic
Replies: 0
Last Post: 12-26-2001, 11:32 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks