Re: C++ dynamic structures
- From: Jon Harrop <jon@xxxxxxxxxxxxxxxxx>
- Date: Tue, 29 Aug 2006 20:27:18 +0100
googlinggoogler@xxxxxxxxxxx wrote:
Could I use a class instead of a structure? whats best? where am I
going wrong?
struct TOKEN
{
string linetoken;
};
Yes: A struct is a class in C++:
class TOKEN
{
public:
string linetoken;
};
--
Dr Jon D Harrop, Flying Frog Consultancy
Objective CAML for Scientists
http://www.ffconsultancy.com/products/ocaml_for_scientists
.
- References:
- C++ dynamic structures
- From: googlinggoogler
- C++ dynamic structures
- Prev by Date: Re: Java or C++ College Path
- Next by Date: Re: Java or C++ College Path
- Previous by thread: Re: C++ dynamic structures
- Next by thread: Re: C++ dynamic structures
- Index(es):