February 9th, 2011, 09:19 AM
Problem with const int.
Sorry to ask simple question, but, even after googling I couldn't solve my problem. Hope you guys can help me.
It compiles but when I run the .exe file it gives an error. The error is like:
const int i=100000;
const int j=32;
But, when I decrease one zero in i's value (i.e. when const int i=10000 it works fine.
.exe has encountered a problem and needs to close. We are sorry for the inconvenience. ....... Send error report/Don't send.
What is the problem here and how can I solve it?
Last edited by ritika_sharma82; February 9th, 2011 at 09:23 AM.
Tags for this Thread
Click Here to Expand Forum to Full Width