David wrote:
> Karthikeyan M a écrit :
>> I'm afraid the last two will not work !
>>
>>   
> Funny since they are the solutions.

Drat.  You beat me to the reply.

Sometimes I wish there was an Internet-based "compile and run online" 
site where you can paste some C/C++ code and it compiles and runs _on 
the host_ and displays the result all within a single browser session. 
Behind the scenes, it would run in a temporary sandbox environment set 
up solely for that compile and run (protecting the main environment from 
malicious code).  Then people wouldn't be lazy and not try out example 
code before making replies like the above.

BTW, Karthikeyan, all three solutions work - I actually fired up a real 
test project just to make sure.

-- 
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197

*NEW* VerifyMyPC 2.3
Change tracking and management tool.
Reduce tech. support times from 2 hours to 5 minutes.

Free for personal use, $10 otherwise.
http://www.CubicleSoft.com/VerifyMyPC/

Reply via email to