bonjour,
Parceque je ne suis pas bien en français, je peux parler en anglais. Si tu ne comprends pas, je veux poser ma question en français. Puis...
I've found This program in c, on this great site: Mastermind, copyright jeromedu94. I have a problem compiling this code, although I really need it, to get the knowledge of what the program do. So I can use this knowledge for school. It's my first year in c, so I'm quite noobisch. Can someone help me please with this problem. I would be really thankfull.
the code you find here:
http://www.cppfrance.com/code.aspx?ID=20785Here's the problem:
I use Borland's CbuilderX to compile the .c en .h files into one project. But then I get error that it doenst find the codes that are in mastermind.h. I even got this .h in the include of the directory. After this error, I got the .h's all in the in .c and then compiled. I got only one error:
"File1.c": E2063 Illegal initialization in function SetCursorType at line 84
these are the lines that give me error:
CONSOLE_CURSOR_INFO CursorInfo = { cur, visible };
SetConsoleCursorInfo (STDOUT, &CursorInfo);
What can I do about this error, I tried a lot without succes, or do I need an other compiler?
Help would be appreciated,
thx
Ken