Mail Archives: djgpp/1999/04/26/15:30:26
This is a multi-part message in MIME format.
You need a MIME compliant mail reader to completely decode it.
--=_-=_-JMDEHKOMDDBJAAAA
Content-Type: text/plain; charset=us-ascii
Content-Length: 388
Content-Transfer-Encoding: 7bit
I don't know if this is a complier bug or just a mistake that I am not catching.
141a.cc is an example from a book that is suposed to demonstrate static member variables in a class. However the thing is it will not compile it gives me the error messages in output.txt.
Thanks for any help
PAJ
Free web-based email, anytime, anywhere!
ZDNet Mail - http://www.zdnetmail.com
--=_-=_-JMDEHKOMDDBJAAAA
Content-Type: text/plain; charset=us-ascii; name="141a.cc"
Content-Length: 388
Content-Transfer-Encoding: 7bit
#include <iostream.h>
#include <conio.h>
class stack
{
public:
static int stack_count ;
public:
static int get_count(void)
{
return(stack_count);
}
stack()
{
++stack_count;
}
};
main()
{
stack a_stack;
stack b_stack;
stack c_stack;
clrscr();
cout << stack::get_count;
}
--=_-=_-JMDEHKOMDDBJAAAA
Content-Type: text/plain; charset=us-ascii; name="output.txt"
Content-Length: 2016
Content-Transfer-Encoding: base64
RDpccHJvZ3JhbXM+Z3h4IC1vICAxNDFhLmV4ZSAxNDFhLmNjIC12DQpSZWFkaW5nIHNwZWNz
IGZyb20gZDovZGpncHAvbGliL2djYy1saWIvZGpncHAvMi44MS9zcGVjcw0KZ2NjIHZlcnNp
b24gMi44LjENCiBkOi9kamdwcC9saWIvZ2NjLWxpYi9kamdwcC8yLjgxL2NwcC5leGUgLWxh
bmctYysrIC12IC11bmRlZiAtRF9fR05VQ19fPTIgLURfX0dODQpVR19fPTIgLURfX2NwbHVz
cGx1cyAtRF9fR05VQ19NSU5PUl9fPTggLUR1bml4IC1EaTM4NiAtREdPMzIgLURNU0RPUyAt
RERKR1BQPTIgLQ0KRERKR1BQX01JTk9SPTEgLURfX3VuaXhfXyAtRF9faTM4Nl9fIC1EX19H
TzMyX18gLURfX01TRE9TX18gLURfX0RKR1BQX189MiAtRF9fREoNCkdQUF9NSU5PUl9fPTEg
LURf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kamdwcC8yLjgxIC1M
ZDovZGpncHAvYmluIC1MZDovZGpncHAvbGliIGQ6L2QNCmpncHAvdG1wL1JIM2NhYWFhXGNj
Y3F4MmVoIC1sc3RkY3h4IC1sbSAtbGdjYyAtbGMgLWxnY2MgLVRkamdwcC5kamwNCmQ6L2Rq
Z3BwL3RtcC9SSDNjYWFhYVxjY2NxeDJlaCgudGV4dCsweDVkKToxNDFhLmNjOiB1bmRlZmlu
ZWQgcmVmZXJlbmNlIHRvIGBzdGFjDQprOjpzdGFja19jb3VudCcNCmQ6L2RqZ3BwL3RtcC9S
SDNjYWFhYVxjY2NxeDJlaCgudGV4dCsweDcxKToxNDFhLmNjOiB1bmRlZmluZWQgcmVmZXJl
bmNlIHRvIGBzdGFjDQprOjpzdGFja19jb3VudCcNCg0K
--=_-=_-JMDEHKOMDDBJAAAA
Content-Type: text/plain; charset=us-ascii; name="v2.out"
Content-Length: 443
Content-Transfer-Encoding: 7bit
go32/v2 version 2.0 built Nov 15 1998 14:36:43
Usage: go32 coff-image [args]
Rename this to go32.exe only if you need a go32 that can run v2 binaries as
well as v1 binaries (old makefiles). Put ahead of the old go32 in your PATH
but do not delete your old go32 - leave it in the PATH after this one.
Set GO32_V2_DEBUG=y in the environment to get verbose output.
DPMI memory available: 50865 Kb
DPMI swap space available: 25571 Kb
--=_-=_-JMDEHKOMDDBJAAAA
Content-Type: text/plain; charset=us-ascii; name="environ.lst"
Content-Length: 538
Content-Transfer-Encoding: 7bit
TMP=C:\WINDOWS\TEMP
TEMP=C:\WINDOWS\TEMP
PROMPT=$p$g
winbootdir=C:\WINDOWS
COMSPEC=C:\WINDOWS\COMMAND.COM
PATH=D:\DJGPP\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND
DJGPP=D:\DJGPP\DJGPP.ENV
windir=C:\WINDOWS
BLASTER=A220 I5 D1 T4
DJDIR=d:/djgpp
USER=dosuser
GROUP=root
TMPDIR=d:/djgpp/tmp/RH3caaaa
EMU387=d:/djgpp/bin/emu387.dxe
LFN=y
TEXMFMAIN=d:/djgpp/share/texmf
RHIDE_TYPED_LIBS_DJGPP.cc=stdcxx
INFOPATH=d:/djgpp/info;d:/djgpp/gnu/emacs/info
INFO_COLORS=0x1f.0x31
INFO_LINES=40
ESCDELAY=100
CMDLINE=gxx -o 141a.exe 141a.cc
--=_-=_-JMDEHKOMDDBJAAAA--
- Raw text -