Code::Blocks Forums

User forums => Help => Topic started by: flu on May 23, 2005, 08:29:04 AM

Title: problem with conio2 and constream
Post by: flu on May 23, 2005, 08:29:04 AM
Hi!

I want to use conio2 / constream in console project (import-Dev-C++ project) but when I compile program code::blocks studio give me message:

error: no match for 'operator<<' in 'conio::operator<< [with CharT... etc.

I want to use constream such as:

 for(int j = 2; j < 25; j++){
   for(int i = 1; i < 81; i++)
     cout << setbk(0) << setclr(0) << setxy(i,j) << " ";
 }
Title: problem with conio2 and constream
Post by: mandrav on May 23, 2005, 09:14:35 AM
Conio is a borland (AFAIK) lib for writing console programs. C::B doesn't come with it. You can either grab it from a working dev-cpp installation, or wait for the devpak plugin and install from it...

Yiannis.
Title: problem with conio2 and constream
Post by: Anonymous on May 23, 2005, 09:19:07 AM
I have DevPak plugin :) and I copy conio2.h and constream... to C::B before I wrote post
Title: problem with conio2 and constream
Post by: Anonymous on May 23, 2005, 10:50:35 AM
C:\Program Files\CodeBlocks\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lconio
Title: problem with conio2 and constream
Post by: Anonymous on May 23, 2005, 10:55:42 AM
I forget about *.a :( Now it's OK :)