I want to get the value returned by process when running a C++ program, How do I do that ?
for Ex. when I run my program and it says :
Process returned -1073741819 (0xC0000005) execution time : 23.724 s then I want to obtain the value
-1073741819 (0xC0000005) , how do I get that value ? what C++ library OR function should I use ?
My code works like this : I have implemented an XML parser and I have implemented some query language like
UPDATE tag.tag.tag=value ,
so lets say I have an XML file which have only 4 tags and user enters query for 5th tag (which doesn't exist), so my program will obviously throw error and will return some weird exit status, based on that exit status I want to print some message to user, like if
exitstatus is 0 then
print "operation was successfully completed", something like that, what approach should I use ?
I am running my program using CodeBlocks over Windows
User contributions licensed under CC BY-SA 3.0