Click here to Skip to main content
15,921,028 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Needing noob help 7z Archive Pin
Member 416282714-Mar-09 8:56
Member 416282714-Mar-09 8:56 
AnswerRe: Needing noob help 7z Archive Pin
Joe Woodbury15-Mar-09 18:07
professionalJoe Woodbury15-Mar-09 18:07 
QuestionHow to store the data into access database in MFC Pin
Febin Elizabeth13-Mar-09 18:35
Febin Elizabeth13-Mar-09 18:35 
AnswerRe: How to store the data into access database in MFC Pin
shaina223113-Mar-09 19:43
shaina223113-Mar-09 19:43 
QuestionHelp testing a CDialog based class Pin
bulg13-Mar-09 13:52
bulg13-Mar-09 13:52 
AnswerRe: Help testing a CDialog based class Pin
Iain Clarke, Warrior Programmer13-Mar-09 23:31
Iain Clarke, Warrior Programmer13-Mar-09 23:31 
QuestionInserting string and increasing file size in istream ? Pin
mmayur13-Mar-09 13:24
mmayur13-Mar-09 13:24 
AnswerRe: Inserting string and increasing file size in istream ? Pin
Stuart Dootson13-Mar-09 13:42
professionalStuart Dootson13-Mar-09 13:42 
Appending the second onto the first? Something like this ought to work:

std::ofstream firstFile(whatever, std::ios_base::ate|std::ios_base::binary|std::ios_base::out);
std::istream secondFile(somethingElse, std::ios_base::in|std::ios_base::binary);
std::copy(std::istream_iterator<char>(secondFile), std::istream_iterator<char>(), std::ostream_iterator(firstFile));</char></char>


Inserting the second file in the first file at a position other than at the end? Yeah, you do that by constructing a third file from the first and second and then (if that's what you want to do) replacing the first file with the third file.

You can't easily insert something into an existing file.

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

GeneralRe: Inserting string and increasing file size in istream ? Pin
mmayur13-Mar-09 13:48
mmayur13-Mar-09 13:48 
GeneralRe: Inserting string and increasing file size in istream ? Pin
Stuart Dootson13-Mar-09 14:06
professionalStuart Dootson13-Mar-09 14:06 
Answer[Message Deleted] Pin
zzgzzgok13-Mar-09 12:56
zzgzzgok13-Mar-09 12:56 
RantRe: Hight price looking for talent c/c++ guru, Pin
CPallini13-Mar-09 13:12
mveCPallini13-Mar-09 13:12 
General[Message Deleted] Pin
zzgzzgok13-Mar-09 13:14
zzgzzgok13-Mar-09 13:14 
GeneralRe: Hight price looking for talent c/c++ guru, Pin
Yusuf13-Mar-09 13:34
Yusuf13-Mar-09 13:34 
QuestionRegular expression Pin
Demian Panello13-Mar-09 12:26
Demian Panello13-Mar-09 12:26 
AnswerRe: Regular expression Pin
BobInNJ13-Mar-09 12:44
BobInNJ13-Mar-09 12:44 
GeneralRe: Regular expression Pin
Demian Panello13-Mar-09 14:19
Demian Panello13-Mar-09 14:19 
QuestionI Think I need to free Something Pin
BobInNJ13-Mar-09 11:38
BobInNJ13-Mar-09 11:38 
AnswerRe: I Think I need to free Something Pin
Stuart Dootson13-Mar-09 13:54
professionalStuart Dootson13-Mar-09 13:54 
GeneralRe: I Think I need to free Something Pin
BobInNJ14-Mar-09 13:16
BobInNJ14-Mar-09 13:16 
GeneralRe: I Think I need to free Something Pin
Stuart Dootson14-Mar-09 13:24
professionalStuart Dootson14-Mar-09 13:24 
GeneralRe: I Think I need to free Something Pin
BobInNJ14-Mar-09 14:16
BobInNJ14-Mar-09 14:16 
GeneralRe: I Think I need to free Something Pin
Stuart Dootson14-Mar-09 18:53
professionalStuart Dootson14-Mar-09 18:53 
QuestionMemory Leakege Reporting without line number Pin
Member 349347313-Mar-09 11:09
Member 349347313-Mar-09 11:09 
AnswerRe: Memory Leakege Reporting without line number Pin
Stuart Dootson13-Mar-09 13:50
professionalStuart Dootson13-Mar-09 13:50 

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.