Tip Bank

DevX - Software Development Resource

Java Applet Environment

Question: Could you please elaborate on the difference between working in a Javaapplet environment and in a distributed client server environment. Answer: Applets can be used to implement client server

DevX - Software Development Resource

Assigning C-strings

Question: I am just beginning to learn C++ and I’ve stumble on an error that I cannot figure out despite all my efforts. Here is the code where I’m having

DevX - Software Development Resource

Initialization of an Array of Classes

Question: A common practice in C is to do something like this to initialize an array of structs: typedef struct {float x,y,z;} Vector3;Vector3 VecList[] = {{1,0,0},{0,1,0},{0,0,1}};// Now VecList[0] = {1,0,0};//

DevX - Software Development Resource

Buffered Object Streams and Sockets

Question: How can I use buffered I/O Object streams over a socket and guaranteetransmission even when the packet object is smaller than the buffersize? I want the efficiency benefits of

DevX - Software Development Resource

Linking a *.c with a *.h File

Question: As a developer new to C (I’m using Borland C/C++ version 5), I am trying to understand the method of linking *.c and *.h files within an application. First

DevX - Software Development Resource

EJB Scalability

Question: One of EJB’s obvious design goals was to provide an environment thatcan scale up to meet the demands of enterprise applications. I’mcurious, however, about the other end of the

DevX - Software Development Resource

Use a Where Clause in SQL Instead of a Filter

Question: Here is a snippet of my code: set conn = Server.CreateObject(“ADODB.Connection”)conn.open “gorillaclasses”set rs = Server.CreateObject(“ADODB.Recordset”)stmt = “SELECT class,time,instructor FROM ” & clubtable rs.open clubtable, conn, adOpenStatic,,adCmdTable %>rs.filter = “dayslot

DevX - Software Development Resource

Pure Virtual Destructors

Question: I heard someone saying that C++ standardization does not allow pure virtual destructors not to have a definition. As far as I know, this is not true. Could you