473,387 Members | 1,548 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,387 software developers and data experts.

exit codes

Hi all,

I'd like to know the meaning of this exit code :
( c++ program compiled with vc++)

"Exit Code -1073741819."

Is there a table for exit codes ?

Thanks
G
Nov 13 '08 #1
3 5194
=?ISO-8859-1?B?R+ln6Q==?= <va****@gmail.comwrites:
>Hi all,
>I'd like to know the meaning of this exit code :
( c++ program compiled with vc++)
>"Exit Code -1073741819."
>Is there a table for exit codes ?
Sometimes - sysexits.h is on some systems for example, and <stdlibshould,
I think, have a little table - but it might be better to look at the
program's doc and source.

Nov 13 '08 #2
James Kanze wrote:
I'm far less familiar with Windows, but I think it returns the
value without mapping (as opposed to the modulo 256 which Unix
uses); I'm also unsure of what it does if the process was
terminated. There's also a possibility that the program was
generated with a pre-standard compiler, and simply fell off the
end of main, effectively generating a random exit code. (The
C++ standard requires an exit code of 0 in such cases, but C
doesn't, and pre-standard C++ compilers likely won't guarantee 0
either.)
Well, that is - if main's return type was int. I'm not sure what compilers
do if you define it (illegally) as void. Most compilers do allow it, but I
don't know what return value you'll get in such a case.

Nov 13 '08 #3
Hi all

This error was due to a recursive function that reached the recursion
threshold.
I changed my function to an iterative one, now it works fine.

Thank you all for your comments

Regards
G
Nov 13 '08 #4

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

Similar topics

12
by: Ivan Voras | last post by:
In a code such as: if len(sys.argv) < 2: print "I need arguments!" sys.exit(1) Is sys.exit() really a good choice? Is there something more elegant? (I tried return but it is valid only in a...
1
by: Mark McEahern | last post by:
Is there a straightforward way to get the exit code from a windows process? I want to write a script that runs a bunch of .sql files against SQL Server using osql. I want it to stop if there's...
3
by: oktave | last post by:
Hi, Anybody would like to tell me ther defference between Application.Exit() and End? I can use End to end my application no matter how many forms and codes after the End statement. But since...
8
by: Zeno Lee | last post by:
What is the best way to return an exit code from a VB.NET windows forms app? My Forms application is dual purpose. It is an interactive windows app. It is also automated and run via a script and...
2
by: GGerard | last post by:
Hello Is there a way to exit all running procedures with one command? Sometimes a procedure(1) will call another procedure(2) which could call a third procedure(3) and what I would like to...
8
by: Atanas Banov | last post by:
i ran onto this weirdness today: seems like close() on popen-ed (pseudo)file fails miserably with exception instead of returning exit code, when said exit code is -1. here is the simplest...
2
by: Ian | last post by:
Monitor::Enter and Monitor::Exit must be called in pairs. Is there a way to determine if Monitor::Exit has been called so that it does not get called a second time? The psuedocode below...
2
by: Lennart | last post by:
I cant seem to find a list of possible exit codes from db2. I know I've seen somewhere that 4 means error, and 0 is ok. Experimenting a bit further I get 1 and 2 as warnings (but I dont know the...
3
by: asearle | last post by:
Hallo everyone, I have a perl script which can return error codes. I have done this with, for example, 'exit 11;', which would (I imagine) send the exit code 11 (instead of 0) back to the calling...
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: 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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.