Click here to Skip to main content
15,914,608 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionNeed to get Command line argument and add to this simple function Pin
andreas_sweden6-Dec-05 2:55
andreas_sweden6-Dec-05 2:55 
QuestionRe: Need to get Command line argument and add to this simple function Pin
David Crow6-Dec-05 3:59
David Crow6-Dec-05 3:59 
AnswerRe: Need to get Command line argument and add to this simple function Pin
andreas_sweden6-Dec-05 4:09
andreas_sweden6-Dec-05 4:09 
GeneralRe: Need to get Command line argument and add to this simple function Pin
David Crow6-Dec-05 4:11
David Crow6-Dec-05 4:11 
GeneralRe: Need to get Command line argument and add to this simple function Pin
andreas_sweden6-Dec-05 4:16
andreas_sweden6-Dec-05 4:16 
GeneralRe: Need to get Command line argument and add to this simple function Pin
David Crow6-Dec-05 4:43
David Crow6-Dec-05 4:43 
GeneralRe: Need to get Command line argument and add to this simple function Pin
andreas_sweden6-Dec-05 4:49
andreas_sweden6-Dec-05 4:49 
GeneralRe: Need to get Command line argument and add to this simple function Pin
David Crow6-Dec-05 4:57
David Crow6-Dec-05 4:57 
andreas_sweden wrote:
BytesToWrite = sprintf( (char *)szBuffer,
"\033F\r\033B 512 600 4 1 2 3 150 1 "&Argument&"\r\033I\r");


Try:

sprintf(szBuffer, "\033F\r\033B 512 600 4 1 2 3 150 1 %s\r\033I\r", argv[1]);



"Take only what you need and leave the land as you found it." - Native American Proverb


GeneralRe: Need to get Command line argument and add to this simple function Pin
andreas_sweden6-Dec-05 6:07
andreas_sweden6-Dec-05 6:07 
QuestionOverloading << operator? Pin
Cristoff6-Dec-05 2:03
Cristoff6-Dec-05 2:03 
AnswerRe: Overloading << operator? Pin
toxcct6-Dec-05 2:37
toxcct6-Dec-05 2:37 
GeneralRe: Overloading << operator? Pin
Cristoff6-Dec-05 2:53
Cristoff6-Dec-05 2:53 
GeneralRe: Overloading << operator? Pin
toxcct6-Dec-05 2:55
toxcct6-Dec-05 2:55 
GeneralRe: Overloading << operator? Pin
Cristoff6-Dec-05 6:08
Cristoff6-Dec-05 6:08 
AnswerRe: Overloading << operator? Pin
toxcct6-Dec-05 6:13
toxcct6-Dec-05 6:13 
GeneralRe: Overloading << operator? Pin
Cristoff6-Dec-05 11:16
Cristoff6-Dec-05 11:16 
GeneralRe: Overloading << operator? Pin
S. Senthil Kumar6-Dec-05 4:06
S. Senthil Kumar6-Dec-05 4:06 
Question[Message Deleted] Pin
Eytukan6-Dec-05 4:46
Eytukan6-Dec-05 4:46 
AnswerRe: Overloading << operator? Pin
toxcct6-Dec-05 5:43
toxcct6-Dec-05 5:43 
AnswerRe: Overloading << operator?Correct way Pin
Amol Ravatale6-Dec-05 20:15
Amol Ravatale6-Dec-05 20:15 
GeneralRe: Overloading << operator?Correct way Pin
Amol Ravatale6-Dec-05 21:27
Amol Ravatale6-Dec-05 21:27 
AnswerRe: Overloading << operator? Pin
Cristoff10-Dec-05 8:36
Cristoff10-Dec-05 8:36 
GeneralRe: Overloading << operator? Pin
Cristoff10-Dec-05 8:38
Cristoff10-Dec-05 8:38 
QuestionRS-232 Serial port Communication? Pin
madhu_v6-Dec-05 1:46
madhu_v6-Dec-05 1:46 
AnswerRe: RS-232 Serial port Communication? Pin
kakan6-Dec-05 2:53
professionalkakan6-Dec-05 2:53 

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.