Click here to Skip to main content
16,008,469 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Dlg Tool Tip Problem Pin
PJ Arends6-Dec-01 18:59
professionalPJ Arends6-Dec-01 18:59 
GeneralRe: Dlg Tool Tip Problem Pin
7-Dec-01 7:58
suss7-Dec-01 7:58 
GeneralOutlook stationary setup Pin
6-Dec-01 13:05
suss6-Dec-01 13:05 
GeneralMaking a dialog dox show on the taskbar Pin
IGx896-Dec-01 11:45
IGx896-Dec-01 11:45 
GeneralRe: Making a dialog dox show on the taskbar Pin
Shog96-Dec-01 12:24
sitebuilderShog96-Dec-01 12:24 
GeneralRe: Making a dialog dox show on the taskbar Pin
Michael Dunn6-Dec-01 13:17
sitebuilderMichael Dunn6-Dec-01 13:17 
GeneralRe: Writing a flat file with NULL separators Pin
Mike Osbahr6-Dec-01 11:12
Mike Osbahr6-Dec-01 11:12 
GeneralRe: Writing a flat file with NULL separators Pin
Michael Dunn6-Dec-01 13:28
sitebuilderMichael Dunn6-Dec-01 13:28 
Marc M. wrote:
char String1[11] = "My String 1";
fprintf(f, "%s", String1);

I'm surprised that code hasn't crashed. Your char arrays are not declared right -- "My String 1" has 12 characters, not 11. Declare them either with the right length, or just leave out the size and the compiler will figure it out.

char String1[12] = "My String 1";
char String2[] = "My String 2";

--Mike--
http://home.inreach.com/mdunn/
Help! Help! I'm being repressed!!
Heart | [heart] your Green Alien | [Alien] with Good Stuff | [The good stuff] and Beer | [beer]
Sonork - 100.10414 AcidHelm
GeneralRe: Writing a flat file with NULL separators Pin
Cliff Dabrowski6-Dec-01 16:49
Cliff Dabrowski6-Dec-01 16:49 
GeneralRe: Writing a flat file with NULL separators Pin
Jon Hulatt6-Dec-01 22:26
Jon Hulatt6-Dec-01 22:26 
GeneralRe: Writing a flat file with NULL separators Pin
gh7-Dec-01 3:38
gh7-Dec-01 3:38 
GeneralVisual C++ Editor Tooltips Pin
Peter Molnar6-Dec-01 9:46
Peter Molnar6-Dec-01 9:46 
GeneralRe: Visual C++ Editor Tooltips Pin
Christian Graus6-Dec-01 11:03
protectorChristian Graus6-Dec-01 11:03 
Generalsubclassing menu items Pin
Otto Walter6-Dec-01 9:10
Otto Walter6-Dec-01 9:10 
GeneralCView in a Dialog box Pin
#realJSOP6-Dec-01 8:57
professional#realJSOP6-Dec-01 8:57 
GeneralRe: CView in a Dialog box Pin
Brad Bruce6-Dec-01 9:10
Brad Bruce6-Dec-01 9:10 
GeneralRe: CView in a Dialog box Pin
#realJSOP6-Dec-01 10:08
professional#realJSOP6-Dec-01 10:08 
GeneralRe: CView in a Dialog box Pin
Brad Bruce6-Dec-01 10:37
Brad Bruce6-Dec-01 10:37 
GeneralRe: CView in a Dialog box Pin
#realJSOP7-Dec-01 0:25
professional#realJSOP7-Dec-01 0:25 
GeneralRe: CView in a Dialog box Pin
Carlos Antollini7-Dec-01 2:25
Carlos Antollini7-Dec-01 2:25 
GeneralRe: CView in a Dialog box Pin
Lars Dirks7-Dec-01 1:33
Lars Dirks7-Dec-01 1:33 
GeneralRe: CView in a Dialog box Pin
#realJSOP7-Dec-01 1:49
professional#realJSOP7-Dec-01 1:49 
GeneralRe: CView in a Dialog box Pin
Giles7-Dec-01 2:59
Giles7-Dec-01 2:59 
GeneralRe: CView in a Dialog box Pin
#realJSOP7-Dec-01 3:14
professional#realJSOP7-Dec-01 3:14 
GeneralPropertysheet of ActiveX Pin
Mazdak6-Dec-01 7:15
Mazdak6-Dec-01 7: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.