User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 392,216 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,678 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 8 of 8
Search took 0.01 seconds.
Posts Made By: DevonMcC++
Forum: Legacy and Other Languages May 9th, 2008
Replies: 5
Views: 4,644
Posted By DevonMcC++
Re: Pascal's Triangle

I suppose anything is cryptic if you make no effort to understand it.

Even so, your statement is very odd. Apparently you are under the mis-apprehension that your failure to understand is the...
Forum: Legacy and Other Languages Apr 28th, 2008
Replies: 5
Views: 4,644
Posted By DevonMcC++
Re: Pascal's Triangle

These seem rather elaborate in comparison to something like (in J):
Pascal =: i. !/ i.

See http://www.jsoftware.com/jwiki/NYCJUG/Projects/Pascal or...
Forum: VB.NET Apr 24th, 2008
Replies: 4
Views: 419
Posted By DevonMcC++
Forum: Pascal and Delphi Apr 24th, 2008
Replies: 6
Views: 1,004
Posted By DevonMcC++
Re: Generate N random different numbers

I hope you noticed, though no one commented on it, that the suggestion I made scales much better than the original algorithm. That is, if you're doing this for 10,000 numbers instead of 10, the...
Forum: Software Developers' Lounge Apr 13th, 2008
Replies: 6
Views: 623
Posted By DevonMcC++
Re: Love to learn it but don't know where

Try J at jsoftware.com - it's interactive and the forum is very helpful.
Forum: Pascal and Delphi Apr 12th, 2008
Replies: 6
Views: 1,004
Posted By DevonMcC++
Re: Generate N random different numbers

The problem is that, apparently, what you really want is a permutation - it looks like you want only 10 random numbers between 1 and 10. There are any number of ways to do this. One is to go to...
Forum: Legacy and Other Languages Mar 10th, 2008
Replies: 3
Views: 715
Posted By DevonMcC++
Re: Running an equation a million times

Try summing the results of the equation - printing out a million things is absolutely useless - then dividing by 1e6 at the end of the loop. Better yet, use an array-based language to avoid finding...
Forum: Computer Science and Software Design Feb 22nd, 2008
Replies: 3
Views: 588
Posted By DevonMcC++
Re: Bits

Assuming by 256MB you mean 2^28, you'd need 28 bits to address all the bytes; to address only words, you'd need (2^28)/16 = (2^28)/(2^4) = 2^24, or 24 bits.

However, the number of bits needed...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 4:58 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC