* mathudiv@gmail.com:
> On Feb 18, 10:38 am, "Alf P. Steinbach"
>> * mathu...@gmail.com:
>>
>>
>>
>>> i want to call main( ) in one program as a fuction from some other
>>> main().
>> You can't call 'main' in C++.
>>
>> If what you describe is actually what you need to do, then rename it.
>>
>> However, it may be that you're really looking for process handling, and
>> in that case first consider the 'system' function; next e.g. Boost; and
>> next operating system API-level functions.
>>
>> Cheers, & hth.,
>>
>> - Alf
>>
>> --
>> A: Because it messes up the order in which people normally read text.
>> Q: Why is it such a bad thing?
>> A: Top-posting.
>> Q: What is the most annoying thing on usenet and in e-mail?
> thanks..
> if i rename main() then no problem will come in wrapper class???
You will also be immune against all common illnesses, guaranteed to win
in any state lottery you'd care to participate in, and perceieved as
extremely attractive by all Miss Universe girls. Renaming 'main' is
simply the solution to everything. Better than cheese cake!
Cheers, & hth.,
- Alf
PS: Please don't quote signatures.
--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?