C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

segmentation error

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C Language
View previous topic :: View next topic  
Author Message
JK
Guest





PostPosted: Mon May 07, 2007 9:01 am    Post subject: segmentation error Reply with quote



Hi,

I am getting segmentation error with the below mentioned code and I am
not able to make out why.

typedef struct sd {
Back to top
Dave Vandervies
Guest





PostPosted: Mon May 07, 2007 9:01 am    Post subject: Re: segmentation error Reply with quote



In article <1178510515.311158.113700 (AT) o5g2000hsb (DOT) googlegroups.com>,
JK <krishna.janumanchi (AT) gmail (DOT) com> wrote:
Quote:
Hi,

I am getting segmentation error with the below mentioned code and I am
not able to make out why.

typedef struct sd {


I rather doubt you're getting far enough to get a segfault with the code
you posted.


dave

--
Dave Vandervies dj3vande (AT) csclub (DOT) uwaterloo.ca
I've never seen the detailed design for Babbage's "anticipating carriage"
[...] but if he could design that, he might well have been able to design
a Vector Analytical Engine too. --Steve VanDevender in the SDM
Back to top
Old Wolf
Guest





PostPosted: Tue May 08, 2007 7:43 am    Post subject: Re: segmentation error Reply with quote



On May 8, 9:43 am, rober...@ibd.nrc-cnrc.gc.ca (Walter Roberson)
wrote:
Quote:
JK's original posting had *only* that one line of code, quoted
above. No closing brace, no semi-colon, no main, no #include's at all.
It seems unlikely that that one line of code by itself would compile to an
executable on any compiler.

Ah, that post didn't appear where I'm reading, but his subsequent
correct post did. Throw in a few more faulty assumptions and
you get my post..Smile
Back to top
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C Language All times are GMT
Page 1 of 1

 
 


Powered by phpBB © 2001, 2006 phpBB Group