Article View: alt.comp.lang.learn.c-c++
Article #103Re: Problematic Program
From: CM
Date: Sun, 20 Oct 2002 22:30
Date: Sun, 20 Oct 2002 22:30
75 lines
3349 bytes
3349 bytes
--
CM
"Victor Bazarov" <vAbazarov@dAnai.com> wrote in message
news:ur6a8ldf3qqc31@corp.supernews.com...
> "CM" <mckenzie992@comcast.net> wrote...
> > [...]
> > I didn't copy over the correct instance .. here is the runtime error.
> >
> > #include <string>
> > #include <iostream>
> > using namespace std;
> > #include <stdlib.h>
> > void main()
>
> Weren't you told to make it
>
> int main()
>
> > { [...]
>
>
> Besides, _what_ runtime error?
>
> Victor
> --
> Please remove capital A's from my address when replying by mail
>
>
Runtime error is that is allows one to type the first name of the student
but errors thereafter
a copy of below..
I changed to int main () however, there is no effect at the moment.
Enter information for Student #1:
Name: Craig
ID:
Grade #1:
Grade #2:
Grade #3: Enter information for Student #2:
Name:
ID:
Grade #1:
Grade #2:
Grade #3: Enter information for Student #3:
Name:
ID:
Grade #1:
Grade #2:
Grade #3: Enter information for Student #4:
Name:
ID:
Grade #1:
Grade #2:
Grade #3: Enter information for Student #5:
Name:
ID:
Grade #1:
Grade #2:
Grade #3:
Name C � � � �
ID r � � � �
Grade
-9.25596e+061 -9.25596e+061 -9.25596e+061 -9.25596
e+061 -9.25596e+061
Grade
-9.25596e+061 -9.25596e+061 -9.25596e+061 -9.25596
e+061 -9.25596e+061
Grade
-9.25596e+061 -9.25596e+061 -9.25596e+061 -9.25596
e+061 -9.25596e+061
GPA 4 4 4 4 4Press any key to continue
Technical Details
Message-ID:
<7FidnZKg45Ttsy6gXTWcoQ@comcast.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!nntp-relay.ihug.net!ihug.co.nz!west.cox.net!cox.net!nntp2.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mailReferences:
<ESudnc40b4i4hS6gXTWcow@comcast.com> <3db31a56$1_1@mk-nntp-1.news.uk.worldonline.com> <BR2cndXHZoH7vi6gXTWcqg@comcast.com> <ur6a8ldf3qqc31@corp.supernews.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 114592,635d58b7486c58ea X-Google-Attributes: gid114592,public X-Google-Thread: 10d4ba,635d58b7486c58ea X-Google-Attributes: gid10d4ba,public X-Google-Thread: 109fba,635d58b7486c58ea X-Google-Attributes: gid109fba,public X-Google-ArrivalTime: 2002-10-20 15:30:09 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!nntp-relay.ihug.net!ihug.co.nz!west.cox.net!cox.net!nntp2.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 20 Oct 2002 17:30:08 -0500 From: "CM" <mckenzie992@comcast.net> Newsgroups: alt.comp.lang.learn.c-c++,att.lang.c++,comp.lang.c++ References: <ESudnc40b4i4hS6gXTWcow@comcast.com> <3db31a56$1_1@mk-nntp-1.news.uk.worldonline.com> <BR2cndXHZoH7vi6gXTWcqg@comcast.com> <ur6a8ldf3qqc31@corp.supernews.com> Subject: Re: Problematic Program Date: Sun, 20 Oct 2002 18:30:09 -0400 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: <7FidnZKg45Ttsy6gXTWcoQ@comcast.com> Lines: 77 X-Trace: sv3-SA2P5BrriakcX6ItKSDEWZg/j0L+v0+f8vJVQXP6tkv5WP62AQIB0s460r/v0j1sva+TyelDnNwFZjH!xTL3bwnyM1gJxOwarXyhEJumrjokIHGae1/10EQfylzo+a/N5kkVb8QtsqQ= X-Complaints-To: abuse@comcast.com X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1