Click here to Skip to main content
15,920,801 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CHANGE COLOR Pin
Hamid_RT18-Jul-06 20:34
Hamid_RT18-Jul-06 20:34 
QuestionRe: CHANGE COLOR Pin
anu_8818-Jul-06 20:49
anu_8818-Jul-06 20:49 
AnswerRe: CHANGE COLOR Pin
Hamid_RT18-Jul-06 21:17
Hamid_RT18-Jul-06 21:17 
QuestionRe: CHANGE COLOR Pin
anu_8818-Jul-06 22:33
anu_8818-Jul-06 22:33 
AnswerRe: CHANGE COLOR Pin
Hamid_RT19-Jul-06 3:53
Hamid_RT19-Jul-06 3:53 
QuestionRe: CHANGE COLOR [modified] Pin
anu_8819-Jul-06 18:37
anu_8819-Jul-06 18:37 
GeneralRe: CHANGE COLOR Pin
yogendra kaushik18-Jul-06 21:58
yogendra kaushik18-Jul-06 21:58 
GeneralRe: CHANGE COLOR Pin
Hamid_RT18-Jul-06 22:24
Hamid_RT18-Jul-06 22:24 
GeneralRe: CHANGE COLOR Pin
Hamid_RT18-Jul-06 22:33
Hamid_RT18-Jul-06 22:33 
GeneralRe: CHANGE COLOR Pin
yogendra kaushik18-Jul-06 22:39
yogendra kaushik18-Jul-06 22:39 
GeneralRe: CHANGE COLOR Pin
Hamid_RT18-Jul-06 22:56
Hamid_RT18-Jul-06 22:56 
GeneralRe: CHANGE COLOR Pin
yogendra kaushik18-Jul-06 23:09
yogendra kaushik18-Jul-06 23:09 
GeneralRe: CHANGE COLOR Pin
David Crow19-Jul-06 3:14
David Crow19-Jul-06 3:14 
AnswerRe: CHANGE COLOR Pin
toxcct18-Jul-06 21:23
toxcct18-Jul-06 21:23 
QuestionHow can I get full path of the file name when tilde (~) operator is found in the file names. Pin
K. narasimharao18-Jul-06 20:10
K. narasimharao18-Jul-06 20:10 
AnswerRe: How can I get full path of the file name when tilde (~) operator is found in the file names. Pin
Naveen18-Jul-06 20:26
Naveen18-Jul-06 20:26 
QuestionRe: How can I get full path of the file name when tilde (~) operator is found in the file names. Pin
David Crow19-Jul-06 3:19
David Crow19-Jul-06 3:19 
Questionhook problem ! Pin
farshad.f18-Jul-06 19:49
farshad.f18-Jul-06 19:49 
QuestionRe: hook problem ! Pin
David Crow19-Jul-06 3:18
David Crow19-Jul-06 3:18 
farshad.f wrote:
heres is my code:

char host[1024], szModName[1024], *host1; // initialize these accordingly
if (! (host1 = strrchr(szModName, '\\'))) strcpy(host, szModName);
else strcpy(host, host1 + 1);
FILE *fout = fopen("out.txt", "a+");
fwrite(host, 1, strlen(host), fout); fclose(fout); }


So what's the problem? Do the variables contain the correct values? Do the functions return the expected results? Step through each statement using the debugger. Asking others (again) to do this for you will get you nowhere.


"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank

"Judge not by the eye but by the heart." - Native American Proverb


QuestionHow can I translate ~ from filenames using VC++ Pin
K. narasimharao18-Jul-06 19:24
K. narasimharao18-Jul-06 19:24 
AnswerRe: How can I translate ~ from filenames using VC++ Pin
Arman S.18-Jul-06 21:29
Arman S.18-Jul-06 21:29 
QuestionAdding more than 9 pages to a Wizard created using VC++ 6.0 Pin
Subhobroto18-Jul-06 19:07
Subhobroto18-Jul-06 19:07 
AnswerRe: Adding more than 9 pages to a Wizard created using VC++ 6.0 Pin
Naveen18-Jul-06 20:30
Naveen18-Jul-06 20:30 
GeneralRe: Adding more than 9 pages to a Wizard created using VC++ 6.0 Pin
Subhobroto24-Jul-06 0:06
Subhobroto24-Jul-06 0:06 
GeneralRe: Adding more than 9 pages to a Wizard created using VC++ 6.0 Pin
Naveen24-Jul-06 0:10
Naveen24-Jul-06 0:10 

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.