-
Builder 5 v's bcc32.exe
Hi guys,
I;ve just finished using the free complier to do a bit coding, thinking the code was ok i now tried testing it in borlands C++ builder 5........ and its displaying errors
As below
Code:
(Info :Compiling C:\Borland\BCC55\Bin\code\standev.cpp
Warn :string.cc(658,2):Cannot create pre-compiled header: code in header
Error:standev.cpp(188,16):'cout' is not a member of 'std'
Error:standev.cpp(206,15):'cout' is not a member of 'std'
Error:standev.cpp(253,15):'cout' is not a member of 'std'
Error:standev.cpp(316,15):'cout' is not a member of 'std'
Error:standev.cpp(324,1):Subscripting missing ]
Error:standev.cpp(417,16):'cout' is not a member of 'std'
Error:standev.cpp(418,16):'cout' is not a member of 'std'
Error:standev.cpp(420,16):'cout' is not a member of 'std'
Error:standev.cpp(422,35):'cout' is not a member of 'std'
Error:standev.cpp(424,27):'cout' is not a member of 'std'
Error:standev.cpp(424,39):'setw' is not a member of 'std'
Error:standev.cpp(430,13):'cout' is not a member of 'std'
Error:standev.cpp(432,17):'cout' is not a member of 'std'
Error:standev.cpp(434,35):'cout' is not a member of 'std'
Error:standev.cpp(439,14):'cout' is not a member of 'std'
Error:standev.cpp(439,26):'setw' is not a member of 'std'
Error:standev.cpp(446,16):'cout' is not a member of 'std'
Error:standev.cpp(448,17):'cout' is not a member of 'std'
Error:standev.cpp(450,35):'cout' is not a member of 'std'
Error:standev.cpp(455,14):'cout' is not a member of 'std'
Error:standev.cpp(455,26):'setw' is not a member of 'std'
Error:standev.cpp(464,18):'cout' is not a member of 'std'
Error:standev.cpp(466,17):'cout' is not a member of 'std'
Error:standev.cpp(468,35):'cout' is not a member of 'std'
Error:standev.cpp(473,35):'cout' is not a member of 'std'
Error:standev.cpp(473,35):Too many error or warning messages
)
can any one shade some light on this
later
M
-
What version of the iostream and iomanip headers are you using, the one with or without the .h. You should be using the ones without.
Code:
#include <iostream>
#include <iomanip>
...
std::cout << std::setw(5) << etc...
-
using the ones without the h
the complier drags me to the string.cc function
about here
Code:
#ifdef RWSTD_NO_SPEC_OVERLOAD
istream & RWSTDExport operator>> (istream & is, string & s)
{
char c;
s.remove();
string::traits_type::char_in(is,c);
while (is.good() && string::traits_type::is_del(c))
string::traits_type::char_in(is,c);
typename string::size_type i = 0;
while (is.good() && i < s.npos && !string::traits_type::is_del(c))
{
s.append(1,c);
string::traits_type::char_in(is,c);
i++;
}
it means nothing to me cant see whats wrong
-
Have you also included the string header. How are handling the namespace issue? Show a small sample of code you are trying that demonstrates these errors you are getting.