Click here to Skip to main content
15,915,336 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralXML Validator Pin
Brian Delahunty19-Jun-03 9:33
Brian Delahunty19-Jun-03 9:33 
GeneralRe: XML Validator Pin
Ravi Bhavnani19-Jun-03 11:56
professionalRavi Bhavnani19-Jun-03 11:56 
GeneralC++ Pin
Mark J Jackson19-Jun-03 9:27
Mark J Jackson19-Jun-03 9:27 
GeneralRe: C++ Pin
Maximilien19-Jun-03 9:54
Maximilien19-Jun-03 9:54 
GeneralRe: C++ Pin
basementman19-Jun-03 9:59
basementman19-Jun-03 9:59 
GeneralVisual Studio Design Time Bug Pin
Qarash19-Jun-03 9:08
Qarash19-Jun-03 9:08 
General(Different) Question About Declarations Pin
yashraj121519-Jun-03 8:49
yashraj121519-Jun-03 8:49 
GeneralRe: (Different) Question About Declarations Pin
David Crow19-Jun-03 9:24
David Crow19-Jun-03 9:24 
yashraj1215 wrote:
char myvar[21];
myvar[21] = "text";

The second method seems to cause problems with my compiler (Dev-C++) when used in certain situations.


It's actually problematic in all situations. What is says is that the 22nd "position" of myvar points to "text", but since myvar only has 21 characters (0-20) to begin with, whatever happens to follow myvar in memory is being stepped on.
GeneralRe: (Different) Question About Declarations Pin
Brian Delahunty19-Jun-03 10:14
Brian Delahunty19-Jun-03 10:14 
GeneralRe: (Different) Question About Declarations Pin
Michael Dunn19-Jun-03 12:06
sitebuilderMichael Dunn19-Jun-03 12:06 
GeneralRegistry/String Questions Pin
yashraj121519-Jun-03 8:01
yashraj121519-Jun-03 8:01 
GeneralRe: Registry/String Questions Pin
AlexO19-Jun-03 8:09
AlexO19-Jun-03 8:09 
GeneralRe: Registry/String Questions Pin
yashraj121519-Jun-03 8:28
yashraj121519-Jun-03 8:28 
GeneralRe: Registry/String Questions Pin
David Crow19-Jun-03 9:06
David Crow19-Jun-03 9:06 
GeneralRe: Registry/String Questions Pin
AlexO20-Jun-03 4:14
AlexO20-Jun-03 4:14 
GeneralRe: Registry/String Questions Pin
David Crow19-Jun-03 9:19
David Crow19-Jun-03 9:19 
GeneralFirewall question Pin
Kuniva19-Jun-03 7:28
Kuniva19-Jun-03 7:28 
GeneralRe: Firewall question Pin
Joel Lucsy19-Jun-03 7:51
Joel Lucsy19-Jun-03 7:51 
GeneralRe: Firewall question Pin
basementman19-Jun-03 7:57
basementman19-Jun-03 7:57 
GeneralRe: Firewall question Pin
Kuniva19-Jun-03 11:36
Kuniva19-Jun-03 11:36 
GeneralRe: Firewall question Pin
Joel Lucsy19-Jun-03 14:34
Joel Lucsy19-Jun-03 14:34 
GeneralRe: Firewall question Pin
Robert Little19-Jun-03 8:04
Robert Little19-Jun-03 8:04 
Generalcapture wm_char message Pin
lucy19-Jun-03 7:19
lucy19-Jun-03 7:19 
GeneralRe: capture wm_char message Pin
Kuniva19-Jun-03 7:38
Kuniva19-Jun-03 7:38 
GeneralRe: capture wm_char message Pin
lucy19-Jun-03 8:00
lucy19-Jun-03 8:00 

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.