 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
JK Guest
|
Posted: Mon May 07, 2007 9:01 am Post subject: segmentation error |
|
|
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
|
Posted: Mon May 07, 2007 9:01 am Post subject: Re: segmentation error |
|
|
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
|
Posted: Tue May 08, 2007 7:43 am Post subject: Re: segmentation error |
|
|
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.. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|