I kinda was surprised when a single declaration of "ret" as an int crashes my program. What i'm trying to say is that,no matter how small a program is-- if i declare this exact word -- ret -- as an int,my program crashes but on its removal,programs executes normally. Please what might be the cause?I use Dev-Cpp 4.9.9.2 on XP SP2.
I don't know if ret is a protected keyword. Try to provide us a code that makes your program crash.
EDIT: Dev-C++ is considered Outdated.
Use Code::Blocks with MingW or VisualStudio08 Express.
The main reason i read in the article is that Dev C++ has an obsolete Minimalist GNU Windows(MinGW) because the lead programmer on the project is gone(that was with v4.9.9.2) but another release is out since last February. Is it advisable to switch to this or i should let go of Dev and switch over to Code::Blocks completely?