User forums > Using Code::Blocks
_setcursortype(); problem
Deamon:
--- Quote ---
--- Quote from: Deamon on March 21, 2006, 09:35:09 pm ---EDIT: Is there any online documentation or docs for download that explain all the functions of the ANSI .h's ?
--- End quote ---
Yes, here http://www.cppreference.com/
--- End quote ---
Thanks. But it looks like it doesn't describe all the C++ headers.
--- Quote from: PsYhLo on March 22, 2006, 02:51:45 pm ---Deamon use conio2 this is an opensource project on sourceforge.net http://conio.sourceforge.net/
it is very useful
--- End quote ---
Hey conio is back ! :) Found it just yesterday. This is great actualy, cose my console app builds heavily on it. It's so damn handy.
How to make it work with C::B ?
Is it enough to just drop it in to the include folder of gcc or Borland 5.5 ?
And what do i do with the DevPack file of it ?
EDIT: BTW is there a way to change the resolution of the console ?
regards
Deamon
Michael:
--- Quote from: Deamon on March 22, 2006, 04:24:28 pm ---And what do i do with the DevPack file of it ?
--- End quote ---
C::B has a plugin for it, i.e., Dev-C++ DevPacks updater/installer :).
Best wishes,
Michael
Deamon:
--- Quote from: Michael on March 22, 2006, 04:36:01 pm ---
--- Quote from: Deamon on March 22, 2006, 04:24:28 pm ---And what do i do with the DevPack file of it ?
--- End quote ---
C::B has a plugin for it, i.e., Dev-C++ DevPacks updater/installer :).
Best wishes,
Michael
--- End quote ---
Sorry for my newbishness but what am i supposed to do with this DevPack now ?
Should i put it into some folder or open it with what ?
regards
Deamon
Michael:
--- Quote from: Deamon on March 22, 2006, 05:18:29 pm ---Sorry for my newbishness but what am i supposed to do with this DevPack now ?
Should i put it into some folder or open it with what ?
--- End quote ---
Hello,
There are (IIRC) one or two posts which should help you out. Try a search on the Code::Blocks forum.
Best wishes,
Michael
Deamon:
Ok i unziped the devpack but one question remain: How do i make the conio2.h run ? I putted it in to the include folder of the Borland 5.5 compiler but when i include it in the code it gives me error messages. I also tried to include it from another folder but with the same results:
Error E2238 D:\Programme\DevPack\conio_content\include\conio2.h 30: Multiple declaration for 'BLACK'
Error E2344 D:\Programme\CodeBlocks\share\CodeBlocks\plugins\compilers\BCC55\Include\conio.h 56: Earlier declaration of 'BLACK'
Error E2238 D:\Programme\DevPack\conio_content\include\conio2.h 31: Multiple declaration for 'BLUE'
Error E2344 D:\Programme\CodeBlocks\share\CodeBlocks\plugins\compilers\BCC55\Include\conio.h 57: Earlier declaration of 'BLUE'
Error E2238 D:\Programme\DevPack\conio_content\include\conio2.h 32: Multiple declaration for 'GREEN'
Error E2344 D:\Programme\CodeBlocks\share\CodeBlocks\plugins\compilers\BCC55\Include\conio.h 58: Earlier declaration of 'GREEN'
Error E2238 D:\Programme\DevPack\conio_content\include\conio2.h 33: Multiple declaration for 'CYAN'
Error E2344 D:\Programme\CodeBlocks\share\CodeBlocks\plugins\compilers\BCC55\Include\conio.h 59: Earlier declaration of 'CYAN'
Error E2238 D:\Programme\DevPack\conio_content\include\conio2.h 34: Multiple declaration for 'RED'
So how to make it run ?
Is it meant to run only with MingW compiler ?
I also tried it with MingW, means i putted it in to the include folder of MingW but it then complains:
.objs\main.obj(.text+0x24):main.cpp: undefined reference to `_setcursortype'
Deamon
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version