Adding lines to a TStrings Type Property
Question: What am I doing wrong? I can insert the date and time to a Label component very easily (see first proc below), but not into a RichEdit component. I
Question: What am I doing wrong? I can insert the date and time to a Label component very easily (see first proc below), but not into a RichEdit component. I
Question: I’ve downloaded some components for use in Delphi 2.0, but I can’t get them to install into the VCL. Even the 32-bit dedicated ones come up with an error
Question: I want to create paradox-type tables at runtime, which I am generally doing in this way:Table1.FieldDefs.Add(‘IDnum’, ftInteger, 0, False)….Table1.CreateTableHowever, there seems to be no FieldType for an auto-increment number
Question: I wasn’t able to find out what all the command line switches for dbexport do. The only ones I found were -o and -c.Is there a way to export
Question: I have two enumerated types: enum suit_type{club,diamond,heart,spade} and enum rank_type{ace,two,…,queen,king}. In structure CARD, I have the variables suit_type suit and rank_type rank. In class PILE, I have a private
Question: Can static variables (of a class) be accessed and modified by any member function (static/otherwise) of that class?Also, what are the typical instances of having a static function in
Question: Is it reliable to mix cout statements withfprintf statements in the same C++ code ifcout.sync_with_stdio() is used? Does thiscreate one single buffered file I/O stream? Answer: In general, there
Question: I would like to see examples of overloading the inserter and extractor operators. Answer: class MyClass{public: void operator
Question: Why do I get with the following program, this error: general protection exeption, 0x215f:0x1ef3timer(1) 0x215f:0x1ef3 Processor fault.Program (very small):#include #include int get_value (int _value);void main (void){ int _time=0; int