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

C / C++ / MFC

 
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 
GeneralRe: Adding more than 9 pages to a Wizard created using VC++ 6.0 Pin
Subhobroto24-Jul-06 0:25
Subhobroto24-Jul-06 0:25 
GeneralRe: Adding more than 9 pages to a Wizard created using VC++ 6.0 Pin
Naveen24-Jul-06 0:42
Naveen24-Jul-06 0:42 
GeneralRe: Adding more than 9 pages to a Wizard created using VC++ 6.0 Pin
Subhobroto24-Jul-06 0:45
Subhobroto24-Jul-06 0:45 
Questionweb SMS Pin
Ram Murali18-Jul-06 19:02
Ram Murali18-Jul-06 19:02 
AnswerRe: web SMS Pin
Divyang Mithaiwala18-Jul-06 19:46
Divyang Mithaiwala18-Jul-06 19:46 
GeneralRe: web SMS Pin
Ram Murali18-Jul-06 19:54
Ram Murali18-Jul-06 19:54 
Questioncopying circular buffer Pin
thathvamsi18-Jul-06 16:38
thathvamsi18-Jul-06 16:38 
AnswerRe: copying circular buffer Pin
ankita patel19-Jul-06 10:36
ankita patel19-Jul-06 10:36 
QuestionConversion from int to char Pin
Kuroro Rucilful18-Jul-06 15:57
Kuroro Rucilful18-Jul-06 15:57 
AnswerRe: Conversion from int to char Pin
charlieg18-Jul-06 16:09
charlieg18-Jul-06 16:09 
GeneralRe: Conversion from int to char Pin
Kuroro Rucilful18-Jul-06 16:15
Kuroro Rucilful18-Jul-06 16:15 

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.