I am very new to this and i want to use lcc as c++ compiler but it
doesnt compile the easiest code I can imagine: ( The "Hello World"
Program)
#include <iostream.h>
void main(void)
{
cout << "Hello World";
}
The error msg is
Error c:\t3\cpp.c 6 undefined reference to _cout
Error c:\t3\cpp.c 6 undefined reference to
__op_leftshift_iostream_char
What shall I do?
> Hello,
>
> I am very new to this and i want to use lcc as c++ compiler but it
> doesnt compile the easiest code I can imagine: ( The "Hello World"
> Program)
You can not use lcc as a C++ compiler becaus it is an Ansi-C
compiler. So you have to find a C++ compiler, e.g gcc.
www.gnus.org
There is a C++ Frontend which might work with lcc-win32. You can get
it from here.
www.comeaucomputing.com
Regards
Friedrich
This is the homepage of the newsreader for emacs. http://gcc.gnu.org is the
way to go. I would recommend http://www.mingw.org.
--
Klaus Rotter * mailto:kl...@rotters.de
The mingw poject hasn't been updated and appears to be dead since Nov 1999
.
Jacob, Perhaps you ought to take a quick look at http://www.mingw.org/,
especially the ``News'' section and the downloads area, before making
such a statement.
Regards,
Mumit
Of course it is "ideal" assembler, but assembler nonetheless.
Another small problem is that it is impossible to set any breakpoint
(hardware or otherwise) at a specific address... You have a choice of
"events" where you set a breakpoint, but they are somehow not triggered (I
set a breakpoint when starting a thread, the program started one, and
nothing happened).
I do not want to say this debugger hasn't some utility but...
Well, it is free of charge, but I know of another debugger (free of charge
too), that does a little more stuff.
You have an interesting signature "desperado".
> -----BEGIN DESCRAMBLE SIGNATURE-----
>
> #define m(i)(x[i]^s[i+84])<<
> unsigned char
x[5],y,s[2048];main(n){for(read(0,x,5);read(0,s,n=2048);write(1,s
> ,n))if(s[y=s[13]8+20]/164==1){int
i=m(1)17^256+m(0)8,k=m(2)0,j=m(4)17^m(3)9^k
But here, s[13]8 you have a syntax error you see?
I am sorry Mumit, I was misled by this sentence in that page:
---> Begin quote
Latest release: gcc-2.95.2. The release pack includes Mingw runtime
1999-11-07, gcc-2.95.2, and binutils-2.9.4, gdb-4.18.1, make-3.77. (Nov 7,
1999)
<--- end quote
But I stand corrected. In any case, as long as you go on working on it, that
project is not dead at all. You were the driving force in that enormous
work, and I have a great respect for you and that project..
I apologize for this misunderstanding.