Click here to Skip to main content
15,891,372 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: memory allocation in dll Pin
Anonymous11-Mar-05 16:10
Anonymous11-Mar-05 16:10 
GeneralRe: memory allocation in dll Pin
cmk11-Mar-05 17:13
cmk11-Mar-05 17:13 
QuestionIs there a easy to move focus among controls using arrow key? Pin
transoft11-Mar-05 7:51
transoft11-Mar-05 7:51 
AnswerRe: Is there a easy to move focus among controls using arrow key? Pin
Michael Dunn11-Mar-05 9:23
sitebuilderMichael Dunn11-Mar-05 9:23 
GeneralRe: Is there a easy to move focus among controls using arrow key? Pin
transoft11-Mar-05 10:21
transoft11-Mar-05 10:21 
GeneralRe: Is there a easy to move focus among controls using arrow key? Pin
Branislav11-Mar-05 19:37
Branislav11-Mar-05 19:37 
GeneralNeed help on writing a library book keeping software Pin
Member 179669511-Mar-05 7:49
Member 179669511-Mar-05 7:49 
GeneralRe: Need help on writing a library book keeping software Pin
Zero_divide_111-Mar-05 20:35
Zero_divide_111-Mar-05 20:35 
As most of us here only help with understanding and small tidbits of code, you probably won't find your completed project, but here is a couple of pointers (no pun intended Big Grin | :-D ):

Adding items is easy: just append each item at the end of the list, then save just the appended data to the file. However, when you remove the items, depending on where it is in the file, you will have to remove the item and shift everything after it back 1 spot. Since you don't have a lot of programming experience, I suggest this: load the list into memory and do all the processing there. Each add will add to the list to memory, and append the item to the file. Each remove, however, will remove the item from memory and rewrite the file from scratch.
I know this process is can be slow when there are a lot of items, but its a surefire way to make it work. The other alternative is figure out some way to use ODBC or some other SQL server, which have much more efficient ways of inserting and removing items from databases.

Hope this helps you out a little. Happy coding!
GeneralCSocket crashes program inside thread Pin
MisterHim11-Mar-05 7:36
MisterHim11-Mar-05 7:36 
GeneralRe: CSocket crashes program inside thread Pin
Ravi Bhavnani11-Mar-05 10:57
professionalRavi Bhavnani11-Mar-05 10:57 
GeneralRe: CSocket crashes program inside thread Pin
MisterHim11-Mar-05 17:11
MisterHim11-Mar-05 17:11 
Generalcredit card transaction Pin
includeh1011-Mar-05 6:23
includeh1011-Mar-05 6:23 
GeneralRe: credit card transaction Pin
ThatsAlok12-Mar-05 1:59
ThatsAlok12-Mar-05 1:59 
Generalvolatile. Pin
developer_boy11-Mar-05 6:12
developer_boy11-Mar-05 6:12 
GeneralRe: volatile. Pin
Chris Losinger11-Mar-05 6:14
professionalChris Losinger11-Mar-05 6:14 
GeneralRe: volatile. Pin
developer_boy11-Mar-05 6:30
developer_boy11-Mar-05 6:30 
GeneralRe: volatile. Pin
Chris Losinger11-Mar-05 6:42
professionalChris Losinger11-Mar-05 6:42 
Generalunresolved external Pin
Lord Phoenix11-Mar-05 5:30
Lord Phoenix11-Mar-05 5:30 
GeneralRe: unresolved external Pin
Chris Losinger11-Mar-05 6:13
professionalChris Losinger11-Mar-05 6:13 
GeneralRe: unresolved external Pin
Lord Phoenix14-Mar-05 4:01
Lord Phoenix14-Mar-05 4:01 
GeneralRe: unresolved external Pin
Michael Dunn11-Mar-05 7:41
sitebuilderMichael Dunn11-Mar-05 7:41 
GeneralHiding the scroll bars in a IE ActiveX control window Pin
Rezwan Haque11-Mar-05 5:04
Rezwan Haque11-Mar-05 5:04 
GeneralRe: Hiding the scroll bars in a IE ActiveX control window Pin
includeh1011-Mar-05 10:33
includeh1011-Mar-05 10:33 
GeneralRe: Hiding the scroll bars in a IE ActiveX control window Pin
Rezwan Haque12-Mar-05 2:44
Rezwan Haque12-Mar-05 2:44 
GeneralCCW Pin
Pauwl11-Mar-05 4:03
Pauwl11-Mar-05 4:03 

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.