User forums > General (but related to Code::Blocks)
regarding some ERRORS in code blocks!!! pls help
(1/1)
sadiq:
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!!!!
ollydbg:
--- Quote from: sadiq on December 27, 2010, 10:06:27 am ---3.why code block not supportin <dos.h>...
--- End quote ---
simple answer:
Mingw does not support building dos applications.
reckless:
better of with open watcom if you need to develop for dos, an alternative is djgpp if you prefer using bash.
sadiq:
thnx a lot........
but wat about d first two ques,,,,,,,,is dis also because of failure in supporting <dos.h>
frithjofh:
investigate. void main() is simply not standard C++, therefore it is not supported. standard C++ is int main().
Navigation
[0] Message Index
Go to full version