Author Topic: problem with conio2 and constream  (Read 9541 times)

flu

  • Guest
problem with conio2 and constream
« 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:

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

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
problem with conio2 and constream
« Reply #1 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.
Be patient!
This bug will be fixed soon...

Anonymous

  • Guest
problem with conio2 and constream
« Reply #2 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

Anonymous

  • Guest
problem with conio2 and constream
« Reply #3 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

Anonymous

  • Guest
problem with conio2 and constream
« Reply #4 on: May 23, 2005, 10:55:42 am »
I forget about *.a :( Now it's OK :)