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
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
Question: I created a class such as this: class foo { int a; int b; char *atext; float anum; int c;public : void set_a(int newa); int get_a(); void set_b(int newb);
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};//
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
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
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
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
Private Type SYSTEMTIME wYear As Integer wMonth As Integer wDayOfWeek As Integer wDay As Integer wHour As Integer wMinute As Integer wSecond As Integer wMilliseconds As IntegerEnd TypePrivate Type FILETIME
Private Declare Function GetFileVersionInfoSize Lib “version.dll” Alias _ “GetFileVersionInfoSizeA” (ByVal lptstrFilename As String, _ lpdwHandle As Long) As LongPrivate Declare Function GetFileVersionInfo Lib “version.dll” Alias _ “GetFileVersionInfoA” (ByVal lptstrFilename As