473,382 Members | 1,368 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Need a little help with system fuction c++

Hi,
Im kindof new to c++... need a little help with system() function..
I use system to execute a dos program... but i want the rest of the program to continue imediately
after executing it. and not wait for the program which was executed...
any help would be appreciated...
Oct 12 '05 #1
2 1512
In article <QN********************@giganews.com>,
<so*****@somedomain.com.invalid> wrote:
Im kindof new to c++... need a little help with system() function..
I use system to execute a dos program... but i want the rest of the program to continue imediately
after executing it. and not wait for the program which was executed...
any help would be appreciated...


This is beyond the scope of C++. Have a look at some of the functions
at the end of http://www.comeaucomputing.com/techtalk/#system
as but some possibilities.
--
Greg Comeau / Celebrating 20 years of Comeauity!
Comeau C/C++ ONLINE ==> http://www.comeaucomputing.com/tryitout
World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90.
Comeau C/C++ with Dinkumware's Libraries... Have you tried it?
Oct 12 '05 #2
so*****@somedomain.com.invalid wrote:
Im kindof new to c++... need a little help with system() function..
I use system to execute a dos program... but i want the rest of the program to continue imediately
after executing it. and not wait for the program which was executed...


'system' behaviour is not specified by the Standard. Ask in a newsgroup
for your compiler. You are most likely in need of a platform-specific
way of starting a process.

V
Oct 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: orion30 | last post by:
I would like to know, if an allocated variable returning by a fuction is unallocated automatically ? If no how to proceed ? Best regards ...
1
by: orion30 | last post by:
I would like to know, if an allocated variable returning by a fuction is unallocated automatically ? If no how to proceed ? Best regards ...
13
by: vidalsasoon | last post by:
I need to send a pointer value to a fuction :( This is what it is expecting. BaseEffect.SetValue(Microsoft.DirectX.Direct3D.EffectHandle, void*, int) The problem is the void* part. I'm...
1
by: RSB | last post by:
I have Few <A href> tags with onclick javascript fuction. and in that javascript fuction i am using window.document.form1.submit(); to submit the page. Now this submit does a Validation before i...
3
by: mike | last post by:
i've already used static fuction to make website i wanna common module that's why i used static fuctions. may be it's more than 100 fuction ...is it ok?
1
by: jacuna | last post by:
the ______ keyword is used in a fuction header to indicate that a function does not return a value or to indicate that a function cotains no parameters
0
by: raypjr | last post by:
Hi everyone. I need a little help with some parts of a word guessing game I'm working on. I have some parts done but unsure about others and could use a little advice. Any help is very much...
3
by: joel_maina | last post by:
using the following recursive defination how do i write a fuction to compute this. X0=1 Xn= (Xn/2)2, if n>0 and n is even. Xn=X*(Xn/2)2, if n>0and n is odd
2
by: KUTTAN | last post by:
<System.ComponentModel.DataObjectMethodAttribute _ (System.ComponentModel.DataObjectMethodType.Select, False)> _ Public Function GetProductByProductID(ByVal productID As Integer) _ ...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.