Data Conversion
Question: What is the most efficient method of converting Informix data in a Unix operating system to text or dbf data in an NT operating system (size = 8GB)? Answer:
Question: What is the most efficient method of converting Informix data in a Unix operating system to text or dbf data in an NT operating system (size = 8GB)? Answer:
Question: How can I write a function in C++ that would create a folder/subfolder on the hard-disk? Answer: Standard C or C++ don’t define such a function. However, most platforms
Question: Is there a macro that returns the name of a function which calls the macro? If not, how can I define such a macro? Answer: Yes and no. The
Question: The following code produces an error when compiled on Microsoft Visual C++ 6 SP3: for (int i = 0; i < 10; i++) cout
Question: I want to create a system error object that will take care of system errors and database errors. Should I inherit it from the error object, or should I
Question: I am trying to develop an MSSQL ASP application that ties real-time into customer’s existing databases at remote locations. The customers use everything from IBM mainframes to SQL or
‘ Return True if the number is primeFunction IsPrime(ByVal number As Long) As Boolean ‘ manually test 2 and 3 If number > 3 Then If number Mod 2 =
‘ A random number in the range (low, high)Function Rnd2(low As Single, high As Single) As Single Rnd2 = Rnd * (high – low) + lowEnd Function
‘ the Greatest Common Divisor of two integers’ (it uses the Euclide’s algorithm)’ if either argument is zero you get a “Division by Zero” errorFunction GCD(ByVal n1 As Long, ByVal