Tip Bank

DevX - Software Development Resource

All About Bool.h

Question: In my computer science class our teacher wants us to find information about Bool.h, which is supposedly in C++. No one in my class can find anything. Also, we

DevX - Software Development Resource

Implicit Function Declaration

Question: I am a Computer Science student, and I am trying to compile a program where I use multiple files and my own header file for the first time. But

DevX - Software Development Resource

Memory Stack vs. Free Store

Question: When using C++, is it better to use stack or free store memory for data objects of medium to large size? I have multiplatform concerns on the answer. The

DevX - Software Development Resource

Circular Pointers

Question: I’m trying to make two classes point to one another. I know the syntax is weird, but it’s just to illustrate: class x{ y* ptry; }class y{ x* ptrx;

DevX - Software Development Resource

Exporting Templates Under C++

Question: How do I create a template library so that I can export templates and use them in different programs? Answer: I’m not sure I understand what you mean by

DevX - Software Development Resource

Values Resulting to Null

Question: I want to add two numeric fields with values like these: Example 1: One field named Amount contains 565.25 and other field named Ticket contains null. select amount +

DevX - Software Development Resource

Select Statement Not Working

Question: I am trying to code an event that will transfer information from the current form into the display of another form. Information like company name and address, and contact

DevX - Software Development Resource

T-SQL Data Conversion

Question: I want to convert a signed integer into a 16-bit binary as part of a SELECT statement. For example: select myint, howeveritsdone as Binaryfrom mytablemyint Binary—- —————–137 1111111101110111-100 1111111110011100

DevX - Software Development Resource

Forcing a Linefeed in SQL

Question: How do I force a linefeed character using SQL? I created a report (see below) but when I e-mailed this report from Unix the carriage return was not interpreted