santosh wrote:
>
nikhil wrote:
Hello every one,
Can any one tell me the syntax for opening and closing a file in
associated program from C++.
[ ... ]
What makes you think a C++ question is topical in a C group?
Post to news:comp.lang.c++
Given that he doesn't want to open the file in his program, but rather
how to get the "associated program" (ie: MS-Word in his case) to open
and close it, I doubt that clc++ is the right place, either. This is
clear by the unquoted part of the OP:
For an instance I got a MS word file. How can I open it in MS word
from a console program in C++. and also how can I close any
application from the console program ( like closing MS word opened in
previous step).
The right place would be one of the Windows-specific groups, but I
don't know which one.
--
+-------------------------+--------------------+-----------------------+
| Kenneth J. Brody |
www.hvcomputer.com | #include |
| kenbrody/at\spamcop.net |
www.fptech.com | <std_disclaimer.h|
+-------------------------+--------------------+-----------------------+
Don't e-mail me at: <mailto:Th*************@gmail.com>