Click here to Skip to main content
16,006,348 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralTAPI related Pin
Ahmed Jahanzeb30-Mar-04 17:58
sussAhmed Jahanzeb30-Mar-04 17:58 
GeneralRe: TAPI related Pin
Michael P Butler30-Mar-04 21:59
Michael P Butler30-Mar-04 21:59 
GeneralRe: TAPI related Pin
Filomela5-May-04 5:18
Filomela5-May-04 5:18 
GeneralInteresting problems Pin
FlyingDancer30-Mar-04 15:08
FlyingDancer30-Mar-04 15:08 
GeneralRe: Interesting problems Pin
Maxwell Chen30-Mar-04 16:24
Maxwell Chen30-Mar-04 16:24 
GeneralRe: Interesting problems Pin
FlyingDancer30-Mar-04 18:45
FlyingDancer30-Mar-04 18:45 
GeneralRe: Interesting problems Pin
ohadp30-Mar-04 19:16
ohadp30-Mar-04 19:16 
GeneralRe: Interesting problems Pin
FlyingDancer30-Mar-04 21:39
FlyingDancer30-Mar-04 21:39 
Problem: "slice[j][i]=(float)(slice[j][i]+0.01F);" is executed faster than "slice[i][j]=(float)(slice[i][j]+0.01F);"

I think it should be answered from two aspects

1. In VC, A two-dimension array is stored according to its row first, then its col,...
2. Virtual memory technology. Paging and Swaping
In this problem every row of that array couldn't get enough free space
so when accessing to any data of another row a swapping action will happen

therefore one runs faster than the other

Am I right?




GeneralRe: Interesting problems Pin
Maxwell Chen30-Mar-04 22:20
Maxwell Chen30-Mar-04 22:20 
GeneralRe: Interesting problems Pin
Paul Ranson31-Mar-04 1:57
Paul Ranson31-Mar-04 1:57 
GeneralRe: Interesting problems Pin
FlyingDancer31-Mar-04 13:30
FlyingDancer31-Mar-04 13:30 
GeneralC to Visual C++.Net Pin
gyrogearloose30-Mar-04 15:04
gyrogearloose30-Mar-04 15:04 
GeneralRe: C to Visual C++.Net Pin
Christian Graus30-Mar-04 15:14
protectorChristian Graus30-Mar-04 15:14 
GeneralRe: C to Visual C++.Net Pin
Maxwell Chen30-Mar-04 15:37
Maxwell Chen30-Mar-04 15:37 
GeneralRe: C to Visual C++.Net Pin
Christian Graus30-Mar-04 15:38
protectorChristian Graus30-Mar-04 15:38 
GeneralRe: C to Visual C++.Net Pin
Maxwell Chen30-Mar-04 15:46
Maxwell Chen30-Mar-04 15:46 
GeneralRe: C to Visual C++.Net Pin
gyrogearloose31-Mar-04 13:23
gyrogearloose31-Mar-04 13:23 
GeneralRe: C to Visual C++.Net Pin
gyrogearloose31-Mar-04 14:03
gyrogearloose31-Mar-04 14:03 
GeneralCImageList serialization under XP and NT Pin
Heywood30-Mar-04 13:41
Heywood30-Mar-04 13:41 
GeneralRe: CImageList serialization under XP and NT Pin
Michael Dunn30-Mar-04 14:47
sitebuilderMichael Dunn30-Mar-04 14:47 
QuestionWinXP : how to hide my console-app from the taskbar ? Pin
L.Denninger30-Mar-04 11:43
L.Denninger30-Mar-04 11:43 
AnswerRe: WinXP : how to hide my console-app from the taskbar ? Pin
Christian Graus30-Mar-04 14:03
protectorChristian Graus30-Mar-04 14:03 
AnswerRe: WinXP : how to hide my console-app from the taskbar ? Pin
Prakash Nadar30-Mar-04 15:03
Prakash Nadar30-Mar-04 15:03 
AnswerRe: WinXP : how to hide my console-app from the taskbar ? Pin
gUrM33T31-Mar-04 17:14
gUrM33T31-Mar-04 17:14 
GeneralClose dialog box on loss of focus Pin
Anonymous30-Mar-04 11:25
Anonymous30-Mar-04 11:25 

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.