
‘Structs and classes
Question: Please examine my code and tell me what I am doing wrong!This is the first part of my program:#include #include class LinkedLst{ public: LinkedLst(); //Constructor void AddToFront(int Value); //Add

Question: Please examine my code and tell me what I am doing wrong!This is the first part of my program:#include #include class LinkedLst{ public: LinkedLst(); //Constructor void AddToFront(int Value); //Add

Question: How does one convert a double to an int? Is there a function like floor that actually returns an int? Answer: There are many things you can do to

Question: What happens to dangling pointers in Java? Supposedly there is garbage collection, but when is it performed? From what Ihave read, it seems really easy to have persistent danglingpointers

Question: Does Delphi support ActiveX? If so, do I need something extra to run ActiveX controls in Delphi? Answer: As long as the OCX is registered (which you can do

Question: I am puzzled at the way in which the assignment operator is overloaded in C++. Would you please show an example as to what efficient code for overloading this

Question: How can I access my comport? How can I send bytes to the datatransfer pin? I’m using Delphi 1.0I’ve tried writecomm and transmitcommchar (and I’ve opened the port with

Question: How can I dynamically declare a 2D array and pass it as a parameter to a function?Here’s an example of what I’m trying to do:#include #include #include const SIZE

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