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

C / C++ / MFC

 
Questionstdin always the keyboard ? Pin
Joezer BH26-Nov-07 6:17
professionalJoezer BH26-Nov-07 6:17 
AnswerRe: stdin always the keyboard ? Pin
Luc Pattyn26-Nov-07 6:30
sitebuilderLuc Pattyn26-Nov-07 6:30 
GeneralRe: stdin always the keyboard ? Pin
Joezer BH26-Nov-07 6:45
professionalJoezer BH26-Nov-07 6:45 
AnswerRe: stdin always the keyboard ? Pin
David Crow26-Nov-07 7:25
David Crow26-Nov-07 7:25 
GeneralRe: stdin always the keyboard ? Pin
Florin Crişan26-Nov-07 21:26
Florin Crişan26-Nov-07 21:26 
Questionfclose(f_ptr2) - "Access Violation or memery can not be read" Pin
mrby12326-Nov-07 6:07
mrby12326-Nov-07 6:07 
AnswerRe: fclose(f_ptr2) - "Access Violation or memery can not be read" Pin
Mark Salsbery26-Nov-07 6:15
Mark Salsbery26-Nov-07 6:15 
GeneralRe: fclose(f_ptr2) - "Access Violation or memery can not be read" Pin
mrby12326-Nov-07 6:32
mrby12326-Nov-07 6:32 
I checked that the program open the fist file without problem in the loop and the program also read the data of the first file correctly, but it can not close the file - giving error message like: "Access Violation or memery can not be read"


I need the program to close the file and open the next file in the array of the file using the same file pointer p_ftr2.

Thanks a lots for looking onto the problem.
AnswerRe: fclose(f_ptr2) - "Access Violation or memery can not be read" Pin
Luc Pattyn26-Nov-07 6:33
sitebuilderLuc Pattyn26-Nov-07 6:33 
GeneralRe: fclose(f_ptr2) - "Access Violation or memery can not be read" Pin
mrby12326-Nov-07 6:52
mrby12326-Nov-07 6:52 
GeneralRe: fclose(f_ptr2) - "Access Violation or memery can not be read" [modified] Pin
Luc Pattyn26-Nov-07 7:03
sitebuilderLuc Pattyn26-Nov-07 7:03 
GeneralRe: fclose(f_ptr2) - "Access Violation or memery can not be read" Pin
David Crow26-Nov-07 7:22
David Crow26-Nov-07 7:22 
GeneralRe: fclose(f_ptr2) - "Access Violation or memery can not be read" Pin
Luc Pattyn26-Nov-07 7:39
sitebuilderLuc Pattyn26-Nov-07 7:39 
QuestionRe: fclose(f_ptr2) - "Access Violation or memery can not be read" Pin
David Crow26-Nov-07 7:18
David Crow26-Nov-07 7:18 
AnswerRe: fclose(f_ptr2) - "Access Violation or memery can not be read" Pin
Luc Pattyn26-Nov-07 7:48
sitebuilderLuc Pattyn26-Nov-07 7:48 
AnswerRe: fclose(f_ptr2) - "Access Violation or memery can not be read" Pin
mrby12326-Nov-07 8:12
mrby12326-Nov-07 8:12 
GeneralRe: fclose(f_ptr2) - "Access Violation or memery can not be read" Pin
David Crow26-Nov-07 10:37
David Crow26-Nov-07 10:37 
GeneralRe: fclose(f_ptr2) - "Access Violation or memery can not be read" Pin
Mark Salsbery26-Nov-07 13:23
Mark Salsbery26-Nov-07 13:23 
GeneralRe: fclose(f_ptr2) - "Access Violation or memery can not be read" Pin
David Crow26-Nov-07 15:46
David Crow26-Nov-07 15:46 
GeneralRe: fclose(f_ptr2) - "Access Violation or memery can not be read" Pin
Sunil Shindekar26-Nov-07 23:47
Sunil Shindekar26-Nov-07 23:47 
GeneralRe: fclose(f_ptr2) - "Access Violation or memery can not be read" Pin
David Crow27-Nov-07 3:46
David Crow27-Nov-07 3:46 
GeneralRe: fclose(f_ptr2) - "Access Violation or memery can not be read" Pin
Sunil Shindekar27-Nov-07 21:06
Sunil Shindekar27-Nov-07 21:06 
QuestionRe: fclose(f_ptr2) - "Access Violation or memery can not be read" Pin
David Crow28-Nov-07 2:32
David Crow28-Nov-07 2:32 
Questionfclose(f_ptr2) - "Access Violation or memery can not be read" Pin
mrby12326-Nov-07 5:59
mrby12326-Nov-07 5:59 
AnswerRe: fclose(f_ptr2) - "Access Violation or memery can not be read" Pin
Mark Salsbery26-Nov-07 6:05
Mark Salsbery26-Nov-07 6:05 

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.