Tip Bank

DevX - Software Development Resource

How portable is C++?

Question: How portable is C++ as a programming language (in terms of different operating systems andhardware)? Answer: C++ is a fairly new language that until recently did not specify anystandard

DevX - Software Development Resource

Manipulating and using large integers

Question: In several programs, I need to use integers larger than those that can be held by unsigned long ints. I need to be able to multiply, divide, and mod

DevX - Software Development Resource

Helpful C/C++ newsgroups

Question: Do you know of any good C/C++ mailing lists? I’m a computer science major and I’d like to join one. Answer: I am not aware of any mailing lists

DevX - Software Development Resource

String tokenizing

Question: I often need to split a string into a number oftokens based on delimiters specifiedby the user. I would appreciate information on how to tokenize a string in a

DevX - Software Development Resource

Declaring a bit field for a variable

Question: Is there a way to explicitly declare the number of bits to allocate to a specific variable? For example, can I declare an integer that would be stored in

DevX - Software Development Resource

Compilation Warning

Question: I got a warning when I compiled my C++ program onHP-UX:Line 219: Warning: Namespace is a future reserved keyword (215).What does this mean? Answer: It means exactly what it

DevX - Software Development Resource

Persistent Cookies with JavaScript

Question: How can I write a cookie in one page and then read that cookie in another? or alternatively pass data gathered in one page (not a remote!) and then

DevX - Software Development Resource

undefined vs. null

Question:   Answer: You are probably familiar with a special value in JavaScript called null. This is a value you can assign to a variable when you want to indicate