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 

Your C++ Homework
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++)
View previous topic :: View next topic  
Author Message
Fred Astair
Guest





PostPosted: Tue Oct 26, 2004 7:05 pm    Post subject: Your C++ Homework Reply with quote



I used this site for a c++ homework assignment that my teacher left me no
clue on how to do it. http://www.betterteachers.com. Check it out.

Fred


Back to top
Pedro Graca
Guest





PostPosted: Tue Oct 26, 2004 7:44 pm    Post subject: Re: Your C++ Homework Reply with quote



Fred Astair wrote:
Quote:
I used this site for a c++ homework assignment that my teacher left me no
clue on how to do it. http://www.betterteachers.com. Check it out.

Fred

Don't forget main() returns an int.
--
USENET would be a better place if everybody read: | to mail me: simply |
http://www.catb.org/~esr/faqs/smart-questions.html | "reply" to this post, |
http://www.netmeister.org/news/learn2quote2.html | *NO* MIME, plain text |
http://www.expita.com/nomime.html | and *NO* attachments. |

Back to top
JKop
Guest





PostPosted: Tue Oct 26, 2004 8:13 pm    Post subject: Re: Your C++ Homework Reply with quote



Fred Astair posted:

Quote:
I used this site for a c++ homework assignment that my teacher left me no
clue on how to do it. http://www.betterteachers.com. Check it out.

Fred



Since when does one need a teacher to learn C++?!

I'm living proof of the contrary.


-JKop

Back to top
Julie
Guest





PostPosted: Tue Oct 26, 2004 8:57 pm    Post subject: Re: Your C++ Homework Reply with quote

JKop wrote:
Quote:

Fred Astair posted:

I used this site for a c++ homework assignment that my teacher left me no
clue on how to do it. http://www.betterteachers.com. Check it out.

Fred



Since when does one need a teacher to learn C++?!

I'm living proof of the contrary.

-JKop

Having a teacher isn't an either/or situation.

Back to top
Jonathan Turkanis
Guest





PostPosted: Tue Oct 26, 2004 10:06 pm    Post subject: Re: Your C++ Homework Reply with quote


"JKop" <NULL (AT) NULL (DOT) NULL> wrote

Quote:
Fred Astair posted:

I used this site for a c++ homework assignment that my teacher left me no
clue on how to do it. http://www.betterteachers.com. Check it out.

Fred



Since when does one need a teacher to learn C++?!

I'm living proof of the contrary.

I wouldn't stress that one example too much.

However, there's something to be said for learning C++ independently from
textbooks, since some excellent C++ books are widely available and good C++
teachers seem to be in short supply.

Jonathan



Back to top
Cy Edmunds
Guest





PostPosted: Tue Oct 26, 2004 11:32 pm    Post subject: Re: Your C++ Homework Reply with quote

"JKop" <NULL (AT) NULL (DOT) NULL> wrote

Quote:
Fred Astair posted:

I used this site for a c++ homework assignment that my teacher left me no
clue on how to do it. http://www.betterteachers.com. Check it out.

Fred



Since when does one need a teacher to learn C++?!

I'm living proof of the contrary.


-JKop

Given that you recently threw one on line fit because you couldn't add an
integer to a string and another because you couldn't return a stream by
value, I would say this proof is a little leaky.

--
Cy
http://home.rochester.rr.com/cyhome/



Back to top
Catalin Pitis
Guest





PostPosted: Wed Oct 27, 2004 5:57 am    Post subject: Re: Your C++ Homework Reply with quote


"JKop" <NULL (AT) NULL (DOT) NULL> wrote

Quote:
Fred Astair posted:

I used this site for a c++ homework assignment that my teacher left me no
clue on how to do it. http://www.betterteachers.com. Check it out.

Fred



Since when does one need a teacher to learn C++?!

I'm living proof of the contrary.

Depends on the teacher. With a good teacher(s), you may learn faster and

spend less time for digging in books, manuals and other materials. I missed
that a lot. But I took care to guide other's study in the companies that I
worked.

Catalin



Back to top
JKop
Guest





PostPosted: Wed Oct 27, 2004 8:15 am    Post subject: Re: Your C++ Homework Reply with quote

Jonathan Turkanis posted:

Quote:

"JKop" <NULL (AT) NULL (DOT) NULL> wrote in message
news:6eyfd.40103$Z14.14659 (AT) news (DOT) indigo.ie...
Fred Astair posted:

I used this site for a c++ homework assignment that my teacher left
me no clue on how to do it. http://www.betterteachers.com. Check it
out.

Fred



Since when does one need a teacher to learn C++?!

I'm living proof of the contrary.

I wouldn't stress that one example too much.


Any particular reason why?


-JKop

Back to top
JKop
Guest





PostPosted: Wed Oct 27, 2004 8:16 am    Post subject: Re: Your C++ Homework Reply with quote

Cy Edmunds posted:

Quote:
"JKop" <NULL (AT) NULL (DOT) NULL> wrote in message
news:6eyfd.40103$Z14.14659 (AT) news (DOT) indigo.ie...
Fred Astair posted:

I used this site for a c++ homework assignment that my teacher left
me no clue on how to do it. http://www.betterteachers.com. Check it
out.

Fred



Since when does one need a teacher to learn C++?!

I'm living proof of the contrary.


-JKop

Given that you recently threw one on line fit because you couldn't add
an integer to a string and another because you couldn't return a
stream
by value, I would say this proof is a little leaky.


You learn something new everyday.

-JKop

Back to top
JKop
Guest





PostPosted: Wed Oct 27, 2004 8:18 am    Post subject: Re: Your C++ Homework Reply with quote


Quote:
Depends on the teacher. With a good teacher(s), you may learn faster
and spend less time for digging in books, manuals and other materials.
I missed that a lot. But I took care to guide other's study in the
companies that I worked.


Definitely agree with you there! While having a teacher (for anything in
life really) will make you learn faster, still there's no need for the
teacher. I've yet to find a book which has a good explanation on why:


int *p_k;

*p_k = 4;


is illegal.


-JKop

Back to top
Catalin Pitis
Guest





PostPosted: Wed Oct 27, 2004 8:25 am    Post subject: Re: Your C++ Homework Reply with quote


"JKop" <NULL (AT) NULL (DOT) NULL> wrote

Quote:

Depends on the teacher. With a good teacher(s), you may learn faster
and spend less time for digging in books, manuals and other materials.
I missed that a lot. But I took care to guide other's study in the
companies that I worked.


Definitely agree with you there! While having a teacher (for anything in
life really) will make you learn faster, still there's no need for the
teacher. I've yet to find a book which has a good explanation on why:


int *p_k;

*p_k = 4;


is illegal.

When you find it, tell me Smile. I'm curious.

Catalin



Back to top
Gernot Frisch
Guest





PostPosted: Wed Oct 27, 2004 9:17 am    Post subject: Re: Your C++ Homework Reply with quote


"Catalin Pitis" <catalin.pitis (AT) iquestint (DOT) com.renameme> schrieb im
Newsbeitrag news:2u94aeF26c2m9U1 (AT) uni-berlin (DOT) de...
Quote:

"JKop" <NULL (AT) NULL (DOT) NULL> wrote in message
news:LRIfd.40135$Z14.14731 (AT) news (DOT) indigo.ie...

Depends on the teacher. With a good teacher(s), you may learn
faster
and spend less time for digging in books, manuals and other
materials.
I missed that a lot. But I took care to guide other's study in the
companies that I worked.


Definitely agree with you there! While having a teacher (for
anything in
life really) will make you learn faster, still there's no need for
the
teacher. I've yet to find a book which has a good explanation on
why:


int *p_k;

*p_k = 4;


is illegal.

When you find it, tell me Smile. I'm curious.

Don't understand: Is there no book that tells you that it's illegal?
I'm gonna write one. Title:
"Dereferencing an uninitialized pointer is illegal".

Content:
Dereferencing an uninitialized pointer is illegal. Example:
int* p_k; *p_k=4; [1]

References:
[1] JKob in comp.lang.c++, 27.10.2004

Am I gonna be rich?
-Gernot







Back to top
Patrick Kowalzick
Guest





PostPosted: Wed Oct 27, 2004 9:26 am    Post subject: Re: Your C++ Homework Reply with quote

Hi Fred,

Quote:
I used this site for a c++ homework assignment that my teacher left me no
clue on how to do it. http://www.betterteachers.com. Check it out.

Nice. Did it help? Did you learn a lot?

Regards,
Patrick



Back to top
Catalin Pitis
Guest





PostPosted: Wed Oct 27, 2004 9:40 am    Post subject: Re: Your C++ Homework Reply with quote


"Gernot Frisch" <Me (AT) Privacy (DOT) net> wrote

Quote:

"Catalin Pitis" <catalin.pitis (AT) iquestint (DOT) com.renameme> schrieb im
Newsbeitrag news:2u94aeF26c2m9U1 (AT) uni-berlin (DOT) de...

"JKop" <NULL (AT) NULL (DOT) NULL> wrote in message
news:LRIfd.40135$Z14.14731 (AT) news (DOT) indigo.ie...

Depends on the teacher. With a good teacher(s), you may learn faster
and spend less time for digging in books, manuals and other materials.
I missed that a lot. But I took care to guide other's study in the
companies that I worked.


Definitely agree with you there! While having a teacher (for anything in
life really) will make you learn faster, still there's no need for the
teacher. I've yet to find a book which has a good explanation on why:


int *p_k;

*p_k = 4;


is illegal.

When you find it, tell me Smile. I'm curious.

Don't understand: Is there no book that tells you that it's illegal? I'm
gonna write one. Title:
"Dereferencing an uninitialized pointer is illegal".

Content:
Dereferencing an uninitialized pointer is illegal. Example:
int* p_k; *p_k=4; [1]

References:
[1] JKob in comp.lang.c++, 27.10.2004

Am I gonna be rich?
-Gernot

It should be a missundertanding Smile. By illegal I meant that the compiler
doesn't allow me to do it. But I'm allowed to do it. I surely wouldn't do it
Smile.

Catalin



Back to top
JKop
Guest





PostPosted: Wed Oct 27, 2004 12:32 pm    Post subject: Re: Your C++ Homework Reply with quote


Quote:
Given that you recently threw one on line fit because you couldn't add
an integer to a string and another because you couldn't return a stream
by value, I would say this proof is a little leaky.


Actually, don't you think that destroys your own argument? You've just
expressed that at one time I didn't know how to append a number in digit
form to a string, and that I didn't know why a stream could not be copied.
Evidently, I posted enquiring about these, and now I know how. Emphasis on
"now I know". Quit living in the past.


-JKop

Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++) All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.