Click here to Skip to main content
15,895,283 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDDX_CONTROL vs Create for Cricheditctrl and effects on Streaming Pin
ForNow13-Oct-09 13:47
ForNow13-Oct-09 13:47 
AnswerRe: DDX_CONTROL vs Create for Cricheditctrl and effects on Streaming Pin
Code-o-mat13-Oct-09 20:50
Code-o-mat13-Oct-09 20:50 
GeneralRe: DDX_CONTROL vs Create for Cricheditctrl and effects on Streaming Pin
ForNow14-Oct-09 3:34
ForNow14-Oct-09 3:34 
GeneralRe: DDX_CONTROL vs Create for Cricheditctrl and effects on Streaming Pin
Code-o-mat14-Oct-09 5:24
Code-o-mat14-Oct-09 5:24 
GeneralRe: DDX_CONTROL vs Create for Cricheditctrl and effects on Streaming Pin
ForNow14-Oct-09 7:05
ForNow14-Oct-09 7:05 
GeneralRe: DDX_CONTROL vs Create for Cricheditctrl and effects on Streaming Pin
Code-o-mat14-Oct-09 8:08
Code-o-mat14-Oct-09 8:08 
GeneralRe: DDX_CONTROL vs Create for Cricheditctrl and effects on Streaming Pin
ForNow14-Oct-09 12:21
ForNow14-Oct-09 12:21 
QuestionGet OS information Pin
includeh1013-Oct-09 10:52
includeh1013-Oct-09 10:52 
AnswerRe: Get OS information Pin
«_Superman_»13-Oct-09 11:18
professional«_Superman_»13-Oct-09 11:18 
QuestionBinary Tree traversal Pin
mood4813-Oct-09 6:39
mood4813-Oct-09 6:39 
AnswerRe: Binary Tree traversal Pin
David Crow13-Oct-09 7:03
David Crow13-Oct-09 7:03 
AnswerRe: Binary Tree traversal Pin
Alan Balkany15-Oct-09 4:40
Alan Balkany15-Oct-09 4:40 
QuestionI have problem with C for passing ARGS to main function in LINUX Pin
Mohamed_Khalil13-Oct-09 5:50
Mohamed_Khalil13-Oct-09 5:50 
QuestionRe: I have problem with C for passing ARGS to main function in LINUX Pin
David Crow13-Oct-09 6:20
David Crow13-Oct-09 6:20 
AnswerRe: I have problem with C for passing ARGS to main function in LINUX Pin
Mohamed_Khalil13-Oct-09 6:25
Mohamed_Khalil13-Oct-09 6:25 
AnswerRe: I have problem with C for passing ARGS to main function in LINUX Pin
David Crow13-Oct-09 6:28
David Crow13-Oct-09 6:28 
GeneralRe: I have problem with C for passing ARGS to main function in LINUX Pin
Mohamed_Khalil13-Oct-09 6:33
Mohamed_Khalil13-Oct-09 6:33 
GeneralRe: I have problem with C for passing ARGS to main function in LINUX Pin
Mohamed_Khalil13-Oct-09 6:39
Mohamed_Khalil13-Oct-09 6:39 
GeneralRe: I have problem with C for passing ARGS to main function in LINUX Pin
David Crow13-Oct-09 6:43
David Crow13-Oct-09 6:43 
AnswerRe: I have problem with C for passing ARGS to main function in LINUX Pin
Richard MacCutchan13-Oct-09 6:39
mveRichard MacCutchan13-Oct-09 6:39 
GeneralRe: I have problem with C for passing ARGS to main function in LINUX Pin
Mohamed_Khalil13-Oct-09 6:53
Mohamed_Khalil13-Oct-09 6:53 
GeneralRe: I have problem with C for passing ARGS to main function in LINUX Pin
Richard MacCutchan13-Oct-09 7:04
mveRichard MacCutchan13-Oct-09 7:04 
dr.nokia wrote:
not like your code execvp("ls","-1");


I didn't post any code Confused | :confused:

dr.nokia wrote:
but it's possible to put any command I prefer?


It's some while since I did this, or used Linux, but in theory I think you can put any command into the exec() functions. The key as always is getting your parameters organised correctly according to the version of the exec() call that you are making.

As I said before, I think the important thing is to get comfortable with parsing strings and using function calls and their parameters correctly. Once you have your head round those concepts then the second half is easy.
GeneralRe: I have problem with C for passing ARGS to main function in LINUX Pin
Mohamed_Khalil13-Oct-09 7:10
Mohamed_Khalil13-Oct-09 7:10 
GeneralRe: I have problem with C for passing ARGS to main function in LINUX Pin
Richard MacCutchan13-Oct-09 7:20
mveRichard MacCutchan13-Oct-09 7:20 
GeneralRe: I have problem with C for passing ARGS to main function in LINUX Pin
Mohamed_Khalil13-Oct-09 7:25
Mohamed_Khalil13-Oct-09 7:25 

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.