User forums > Help

problem with conio2 and constream

(1/1)

flu:
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:

 
--- Code: ---for(int j = 2; j < 25; j++){
    for(int i = 1; i < 81; i++)
      cout << setbk(0) << setclr(0) << setxy(i,j) << " ";
  }
--- End code ---

mandrav:
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.

Anonymous:
I have DevPak plugin :) and I copy conio2.h and constream... to C::B before I wrote post

Anonymous:
C:\Program Files\CodeBlocks\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lconio

Anonymous:
I forget about *.a :( Now it's OK :)

Navigation

[0] Message Index

Go to full version