|
-
September 19th, 2010, 08:13 AM
#3
Re: Printing a String
Thanks for offering some help.
Still not getting the results I expect.
fprintf(fp, "[%d] <%s>\n", j, lpBuffer[0].lpData);
returns
[0] <>
[1] <>
[2] <>
[3] <>
[4] <>
[5] <>
[6] <>
[7] <>
[8] <>
[9] <>
[10] <>
[11] <>
[12] <>
.
.
.
fprintf(fp, "[%d] <%s>\n", j, &lpBuffer[0].lpData[j]);
returns
[0] <>
[1] <>
[2] <>
[3] <>
[4] <>
[5] <>
[6] <>
[7] <>
[8] <ÀÔ>
[9] <Ô>
[10] <>
[11] <>
[12] <>
.
.
.
fprintf(fp, "[%d] <%s>\n", j, lpBuffer[0].lpData[j]);
returns
Unhandled exception error
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|