Click here to Skip to main content
15,925,868 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Codes for capturing and viewing live video. Pin
Naveen22-Jul-08 23:08
Naveen22-Jul-08 23:08 
AnswerRe: Codes for capturing and viewing live video. Pin
Rajesh R Subramanian23-Jul-08 0:33
professionalRajesh R Subramanian23-Jul-08 0:33 
QuestionChange date color in CMonthCalCtrl Pin
Paulraj G22-Jul-08 20:25
Paulraj G22-Jul-08 20:25 
Questioninject code in .net exe file Pin
zon_cpp22-Jul-08 20:17
zon_cpp22-Jul-08 20:17 
Questionlink list Pin
paul crescent22-Jul-08 20:05
paul crescent22-Jul-08 20:05 
AnswerRe: link list Pin
Cedric Moonen22-Jul-08 20:18
Cedric Moonen22-Jul-08 20:18 
GeneralRe: link list Pin
paul crescent22-Jul-08 20:29
paul crescent22-Jul-08 20:29 
GeneralRe: link list Pin
Cedric Moonen22-Jul-08 20:38
Cedric Moonen22-Jul-08 20:38 
Ok but is it your own class or are you using an existing class ?
Anyway, there's no support for that by default in a linked list, but you could maybe add it yourself if you wrote the code. For example after adding two elements, you can increase your 'middle' pointer by one (so, make it point to the next element). It becomes more complex when you want to remove elements, in which case I think you will have to recompute it (retrieve the nr of elements in the list and move the middle pointer by half of this number).

Cédric Moonen
Software developer

Charting control [v1.4]
OpenGL game tutorial in C++

GeneralRe: link list Pin
paul crescent22-Jul-08 20:47
paul crescent22-Jul-08 20:47 
QuestionRe: link list Pin
Rajesh R Subramanian22-Jul-08 21:18
professionalRajesh R Subramanian22-Jul-08 21:18 
AnswerRe: link list Pin
paul crescent22-Jul-08 21:45
paul crescent22-Jul-08 21:45 
GeneralRe: link list Pin
Rajesh R Subramanian22-Jul-08 22:01
professionalRajesh R Subramanian22-Jul-08 22:01 
RantRe: link list Pin
Rajesh R Subramanian22-Jul-08 23:26
professionalRajesh R Subramanian22-Jul-08 23:26 
AnswerRe: link list Pin
David Crow23-Jul-08 3:56
David Crow23-Jul-08 3:56 
QuestionHow can i know a software or application is run or install on any computer at first time? [modified] Pin
Le@rner22-Jul-08 19:58
Le@rner22-Jul-08 19:58 
AnswerRe: How can i know a software or application is run or install on any computer at first time? Pin
Sauce!22-Jul-08 20:35
Sauce!22-Jul-08 20:35 
GeneralRe: How can i know a software or application is run or install on any computer at first time? Pin
Le@rner22-Jul-08 20:51
Le@rner22-Jul-08 20:51 
GeneralRe: How can i know a software or application is run or install on any computer at first time? Pin
Sauce!22-Jul-08 22:20
Sauce!22-Jul-08 22:20 
AnswerRe: How can i know a software or application is run or install on any computer at first time? Pin
KarstenK22-Jul-08 21:08
mveKarstenK22-Jul-08 21:08 
QuestionRe: How can i know a software or application is run or install on any computer at first time? Pin
David Crow23-Jul-08 3:48
David Crow23-Jul-08 3:48 
QuestionSelect tree item on right click Pin
john563222-Jul-08 19:52
john563222-Jul-08 19:52 
Questionclear combo box list Pin
ani_ikram22-Jul-08 19:50
ani_ikram22-Jul-08 19:50 
AnswerRe: clear combo box list Pin
pallaka22-Jul-08 20:07
pallaka22-Jul-08 20:07 
GeneralRe: clear combo box list Pin
ani_ikram22-Jul-08 20:28
ani_ikram22-Jul-08 20:28 
AnswerRe: clear combo box list Pin
pallaka22-Jul-08 20:31
pallaka22-Jul-08 20:31 

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.