Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: sadiq on December 27, 2010, 10:06:27 am
-
my questions are:
1.Why code blocks is showing error when i use clrscr();
2.Why code blocks is showing error when i use void main()
3.why code block not supportin <dos.h>...
wat settings should i change inorder to solve above three problems.............i have installed currently codeblocks-10.05mingw-setup
THANX IN ADVANCE!!!!
-
3.why code block not supportin <dos.h>...
simple answer:
Mingw does not support building dos applications.
-
better of with open watcom if you need to develop for dos, an alternative is djgpp if you prefer using bash.
-
thnx a lot........
but wat about d first two ques,,,,,,,,is dis also because of failure in supporting <dos.h>
-
investigate. void main() is simply not standard C++, therefore it is not supported. standard C++ is int main().