www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/03/23:41:43

From: stbarham AT es DOT co DOT nz (Sam Barham)
Newsgroups: comp.os.msdos.djgpp
Subject: learning objects
Date: 1 Feb 1997 01:23:19 GMT
Organization: Efficient Software Internet Service
Lines: 14
Message-ID: <5cu5u7$nfu@Chaos.es.co.nz>
Reply-To: stbarham AT es DOT co DOT nz
NNTP-Posting-Host: port26-athene.es.co.nz
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I'm trying to learn C++ and objects and stuff, but when I compile my program, I 
get an error for EVERY reference to a void in one of the classes I'm using

The error goes like:
request for member 'get_pusher' in 'map()', which is of non-aggregate tyor 
'board()()'

where get_pusher is the void, board is the object, and map is the instance

I compile it using:
gcc -Wall roboedit.cc -o roboedit.exe -lalleg 

Sorry if if this is a daft question, but I'm learning out of a book.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019