Click here to Skip to main content
15,908,015 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How To Execute Raw Binary From Within A Binary Pin
Luc Pattyn19-Feb-09 11:39
sitebuilderLuc Pattyn19-Feb-09 11:39 
AnswerRe: How To Execute Raw Binary From Within A Binary Pin
Stuart Dootson19-Feb-09 12:00
professionalStuart Dootson19-Feb-09 12:00 
AnswerRe: How To Execute Raw Binary From Within A Binary Pin
Rick York19-Feb-09 12:51
mveRick York19-Feb-09 12:51 
GeneralRe: How To Execute Raw Binary From Within A Binary Pin
V3RO19-Feb-09 13:30
V3RO19-Feb-09 13:30 
QuestionPlease please help with this simple Q from a C++ newbie Pin
meixiang619-Feb-09 10:11
meixiang619-Feb-09 10:11 
AnswerRe: Please please help with this simple Q from a C++ newbie Pin
Stuart Dootson19-Feb-09 10:35
professionalStuart Dootson19-Feb-09 10:35 
GeneralRe: Please please help with this simple Q from a C++ newbie Pin
meixiang619-Feb-09 10:53
meixiang619-Feb-09 10:53 
GeneralRe: Please please help with this simple Q from a C++ newbie Pin
Stuart Dootson19-Feb-09 11:42
professionalStuart Dootson19-Feb-09 11:42 
meixiang6 wrote:
Any chance of typing the entire code in C as well?


I'll leave that as an exercise for the reader...you remember I said it was easier in C++ Smile | :)

It's not too much different - fgets is roughly equivalent to getline. Rather than adding string objects together, you use strcpy to copy the command into a character buffer, then strcat to add the line you've read from the file to the end of the buffer. Then you pass the buffer to the system command.

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

GeneralRe: Please please help with this simple Q from a C++ newbie Pin
meixiang619-Feb-09 12:00
meixiang619-Feb-09 12:00 
GeneralRe: Please please help with this simple Q from a C++ newbie Pin
Stuart Dootson19-Feb-09 12:17
professionalStuart Dootson19-Feb-09 12:17 
GeneralRe: Please please help with this simple Q from a C++ newbie [modified] Pin
meixiang619-Feb-09 14:39
meixiang619-Feb-09 14:39 
GeneralRe: Please please help with this simple Q from a C++ newbie Pin
David Crow19-Feb-09 17:08
David Crow19-Feb-09 17:08 
GeneralRe: Please please help with this simple Q from a C++ newbie Pin
Stuart Dootson19-Feb-09 21:43
professionalStuart Dootson19-Feb-09 21:43 
Questionurgent : I need help Pin
D_Isaac19-Feb-09 9:38
D_Isaac19-Feb-09 9:38 
AnswerRe: urgent : I need help Pin
CPallini19-Feb-09 11:01
mveCPallini19-Feb-09 11:01 
GeneralRe: urgent : I need help Pin
Luc Pattyn19-Feb-09 11:41
sitebuilderLuc Pattyn19-Feb-09 11:41 
GeneralRe: urgent : I need help Pin
led mike19-Feb-09 11:44
led mike19-Feb-09 11:44 
GeneralRe: urgent : I need help Pin
Luc Pattyn19-Feb-09 11:54
sitebuilderLuc Pattyn19-Feb-09 11:54 
GeneralRe: urgent : I need help Pin
led mike19-Feb-09 11:56
led mike19-Feb-09 11:56 
GeneralRe: urgent : I need help Pin
Luc Pattyn19-Feb-09 12:01
sitebuilderLuc Pattyn19-Feb-09 12:01 
GeneralRe: urgent : I need help Pin
CPallini19-Feb-09 12:22
mveCPallini19-Feb-09 12:22 
GeneralRe: urgent : I need help Pin
led mike20-Feb-09 5:28
led mike20-Feb-09 5:28 
GeneralRe: urgent : I need help Pin
Rick York19-Feb-09 12:55
mveRick York19-Feb-09 12:55 
GeneralRe: urgent : I need help Pin
Luc Pattyn19-Feb-09 13:19
sitebuilderLuc Pattyn19-Feb-09 13:19 
GeneralRe: urgent : I need help Pin
CPallini19-Feb-09 21:51
mveCPallini19-Feb-09 21:51 

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.