| View previous topic :: View next topic |
| Author |
Message |
Fred Astair Guest
|
Posted: Tue Oct 26, 2004 7:05 pm Post subject: Your C++ Homework |
|
|
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
|
|
| Back to top |
|
 |
JKop Guest
|
Posted: Tue Oct 26, 2004 8:13 pm Post subject: Re: Your C++ Homework |
|
|
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
|
Posted: Tue Oct 26, 2004 8:57 pm Post subject: Re: Your C++ Homework |
|
|
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
|
Posted: Tue Oct 26, 2004 10:06 pm Post subject: Re: Your C++ Homework |
|
|
"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
|
Posted: Tue Oct 26, 2004 11:32 pm Post subject: Re: Your C++ Homework |
|
|
"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
|
Posted: Wed Oct 27, 2004 5:57 am Post subject: Re: Your C++ Homework |
|
|
"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
|
Posted: Wed Oct 27, 2004 8:15 am Post subject: Re: Your C++ Homework |
|
|
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
|
Posted: Wed Oct 27, 2004 8:16 am Post subject: Re: Your C++ Homework |
|
|
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
|
Posted: Wed Oct 27, 2004 8:18 am Post subject: Re: Your C++ Homework |
|
|
| 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
|
Posted: Wed Oct 27, 2004 8:25 am Post subject: Re: Your C++ Homework |
|
|
"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 . I'm curious.
Catalin
|
|
| Back to top |
|
 |
Gernot Frisch Guest
|
Posted: Wed Oct 27, 2004 9:17 am Post subject: Re: Your C++ Homework |
|
|
"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 . 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
|
Posted: Wed Oct 27, 2004 9:26 am Post subject: Re: Your C++ Homework |
|
|
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
|
Posted: Wed Oct 27, 2004 9:40 am Post subject: Re: Your C++ Homework |
|
|
"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 . 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 . 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
.
Catalin
|
|
| Back to top |
|
 |
JKop Guest
|
Posted: Wed Oct 27, 2004 12:32 pm Post subject: Re: Your C++ Homework |
|
|
| 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 |
|
 |
|