Click here to Skip to main content
15,919,245 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to check wheter a specified path is a dir? Pin
Ravi Bhavnani11-Mar-05 14:42
professionalRavi Bhavnani11-Mar-05 14:42 
AnswerRe: How to check wheter a specified path is a dir? Pin
Michael Dunn11-Mar-05 15:15
sitebuilderMichael Dunn11-Mar-05 15:15 
GeneralGetting rights for OpenSCManager Pin
bepperso11-Mar-05 11:02
bepperso11-Mar-05 11:02 
Generaldisplay a html page which is in memory Pin
includeh1011-Mar-05 10:31
includeh1011-Mar-05 10:31 
GeneralRe: display a html page which is in memory Pin
Ravi Bhavnani11-Mar-05 10:55
professionalRavi Bhavnani11-Mar-05 10:55 
Generalmemory allocation in dll Pin
NMiceli11-Mar-05 8:59
NMiceli11-Mar-05 8:59 
GeneralRe: memory allocation in dll Pin
Chris Losinger11-Mar-05 9:43
professionalChris Losinger11-Mar-05 9:43 
GeneralRe: memory allocation in dll Pin
NMiceli11-Mar-05 10:30
NMiceli11-Mar-05 10:30 
GeneralRe: memory allocation in dll Pin
cmk11-Mar-05 15:56
cmk11-Mar-05 15:56 
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 

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.