If, in C++ mode, you get linker errors such as:
c2.o: In function `main':
c2.o(.text+0x14): undefined reference to `cout'
c2.o(.text+0x19): undefined reference to `ostream::operator<<(char const *)'
c2.o(.text+0x32): undefined reference to `cout'
c2.o(.text+0x37): undefined reference to `ostream::operator<<(char const *)'
c2.o(.text+0x42): undefined reference to `ostream::operator<<(int)'
c2.o(.text+0x55): undefined reference to `endl(ostream &)'
c2.o(.text+0x6e): undefined reference to `cout'
c2.o(.text+0x73): undefined reference to `ostream::operator<<(char const *)'
c2.o(.text+0x7e): undefined reference to `ostream::operator<<(int)'
c2.o(.text+0x91): undefined reference to `endl(ostream &)'
collect2: ld returned 1 exit status
then it is possible that you have not built libcomo properly and/or have not told Comeau C++ to use libcomo after you built it (the source file may have compiled because it picked up the g++ iostreams headers). To resolve this, ensure you've built libcomo properly and also that you've run como4301.setup properly.