Click here to Skip to main content
15,926,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Maximum function Pin
ZoogieZork28-Jun-03 14:46
ZoogieZork28-Jun-03 14:46 
GeneralDynamic Matrix! Pin
Sunnygirl28-Jun-03 10:54
Sunnygirl28-Jun-03 10:54 
GeneralRe: Dynamic Matrix! Pin
Neville Franks28-Jun-03 11:48
Neville Franks28-Jun-03 11:48 
GeneralRe: Dynamic Matrix! Pin
MAAK28-Jun-03 12:10
MAAK28-Jun-03 12:10 
GeneralRe: Dynamic Matrix! Pin
Toni7828-Jun-03 14:11
Toni7828-Jun-03 14:11 
GeneralRe: Dynamic Matrix! Pin
Peter Weyzen28-Jun-03 17:21
Peter Weyzen28-Jun-03 17:21 
GeneralRe: Dynamic Matrix! Pin
Toni7829-Jun-03 14:42
Toni7829-Jun-03 14:42 
GeneralRe: Dynamic Matrix! Pin
Peter Weyzen29-Jun-03 19:53
Peter Weyzen29-Jun-03 19:53 
I've had more than one programming job in the past working for companies that developed spreadsheets. They used a pretty fancy algorithm, based on something called "sparse matrix arrays" [You can search on the net for that, and you'll find all kinds of sites, with people posting and discussing these algorithms.]

It was all about letting you create a spreadsheet with a virtual array of large proportions, and making it both quick to access entries in the array, and make it occupy as little memory as possible.

Excel does a virtual array of 64K rows, 255 columns, and a third dimension of page accesses -- a 3D sparse array... with a possible capcity of 4,261,413,375 array entries (cells).

There's no way you can pre-allocate an array of that size... But the arrays do allow you to place data anywhere, and it works and it remains small and fast.

People get paid a lot of money to develop data structures like these... too bad it wasn't me.

-p



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
Peter Weyzen<br />
Staff Engineer<br />
Santa Cruz Networks

GeneralRe: Dynamic Matrix! (I am wrong) Pin
MAAK29-Jun-03 5:40
MAAK29-Jun-03 5:40 
Generalthe cheapest computer books Pin
chester16328-Jun-03 10:20
chester16328-Jun-03 10:20 
GeneralRe: the cheapest computer books - Beware SPAM Pin
Neville Franks28-Jun-03 11:49
Neville Franks28-Jun-03 11:49 
GeneralRe: the cheapest computer books Pin
Trollslayer28-Jun-03 12:01
mentorTrollslayer28-Jun-03 12:01 
GeneralRe: the cheapest computer books Pin
Toni7828-Jun-03 12:06
Toni7828-Jun-03 12:06 
GeneralTab order in win32 dialog Pin
Melekor28-Jun-03 9:02
Melekor28-Jun-03 9:02 
GeneralRe: Tab order in win32 dialog Pin
Michael Dunn28-Jun-03 9:49
sitebuilderMichael Dunn28-Jun-03 9:49 
GeneralRe: Tab order in win32 dialog Pin
Melekor28-Jun-03 10:21
Melekor28-Jun-03 10:21 
GeneralRe: Tab order in win32 dialog Pin
Neville Franks28-Jun-03 11:51
Neville Franks28-Jun-03 11:51 
GeneralRe: Tab order in win32 dialog Pin
Melekor28-Jun-03 13:38
Melekor28-Jun-03 13:38 
GeneralPrinting in an Area Problem -- Need Help! Pin
Larry J. Siddens28-Jun-03 8:07
Larry J. Siddens28-Jun-03 8:07 
QuestionResource folder? Pin
DaveE9th28-Jun-03 8:05
DaveE9th28-Jun-03 8:05 
GeneralPassing message to thread Pin
Samrah Saulat Mirza28-Jun-03 5:51
Samrah Saulat Mirza28-Jun-03 5:51 
GeneralRe: Passing message to thread Pin
Nitron28-Jun-03 6:02
Nitron28-Jun-03 6:02 
GeneralRe: Passing message to thread Pin
Shah Shehpori28-Jun-03 6:56
sussShah Shehpori28-Jun-03 6:56 
GeneralRe: Passing message to thread Pin
valikac28-Jun-03 6:53
valikac28-Jun-03 6:53 
GeneralRe: Passing message to thread Pin
Shah Shehpori28-Jun-03 6:59
sussShah Shehpori28-Jun-03 6:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.