Search Results

Showing results 1 to 8 of 8
Search took 0.01 seconds.
Search: Posts Made By: eCharisma
Forum: C Apr 20th, 2006
Replies: 2
Views: 1,140
Posted By eCharisma
The result of division is 0 and the remainder is x. 2 % 6 would result in 2. If you assign the result back to x, the behavior is a no-op because the same value is assigned back.

Yes. Let's say...
Forum: C++ Apr 19th, 2006
Replies: 19
Views: 2,505
Posted By eCharisma
Then all you need to do is apply it. Rather than think of how many classes you need or the relationships between classes this early, think of a solution and map the unique collections of data and...
Forum: C++ Apr 19th, 2006
Replies: 5
Views: 4,031
Posted By eCharisma
The file format and any inherent capabilities or limitations of the file format. A DOS program is what people tend to call executable files with the COM format, and a Windows program is what you...
Forum: Java Apr 17th, 2006
Replies: 6
Views: 19,235
Posted By eCharisma
Returning the reversed list as a string is even easier than actually changing the links. When you get to the end of the list, return the value as a string. On the way back, append a comma and the...
Forum: C Apr 17th, 2006
Replies: 11
Views: 1,878
Posted By eCharisma
Oh, forgive me. I misunderstood. Unfortunately, I can't see how your program would be able to correctly parse an expression with no spaces unless you force a certain number of digits on each operand....
Forum: C++ Apr 17th, 2006
Replies: 1
Views: 14,495
Posted By eCharisma
It's as simple as connecting a socket to the web server and speaking HTTP to it. That's hardly simple, of course, but the two stops you need to make are http://www.faqs.org/rfcs/rfc2616.html and...
Forum: C Apr 17th, 2006
Replies: 11
Views: 1,878
Posted By eCharisma
There are several different uses for the static keyword. When applied to a global variable, static means that the variable has internal linkage. In other words, the variable is only visible to the...
Forum: C Apr 17th, 2006
Replies: 2
Views: 1,655
Posted By eCharisma
A type that depends on a template parameter needs to be qualified with the typename keyword.

template <typename T> int Histogram<T>::get_occurances(const T& obj)
{
typename...
Showing results 1 to 8 of 8

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC