Your C++ Homework

J

Julie

JKop said:
Fred Astair posted:




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.
 
J

Jonathan Turkanis

JKop said:
Fred Astair posted:




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
 
C

Cy Edmunds

JKop said:
Fred Astair posted:




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.
 
C

Catalin Pitis

JKop said:
Fred Astair posted:




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
 
J

JKop

Cy Edmunds posted:
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
 
J

JKop

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
 
C

Catalin Pitis

JKop said:
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
 
G

Gernot Frisch

Catalin Pitis said:
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
 
C

Catalin Pitis

Gernot Frisch said:
Catalin Pitis said:
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
 
J

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.


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
 
I

Ioannis Vranos

Catalin said:
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.


I do not think that a teacher for C++ will help learning any programming
language faster. In the end, you will have to do the reading. Actually,
there is the additional time cost (meaning lost time) of the lesson
which makes things worse. It is better to get learning by reading a good
book since the beginning.


In a large scale learning however, for example studies, where you learn
many things simultaneously, a teacher/professor helps to maintain focus.
 
C

Catalin Pitis

Ioannis Vranos said:
I do not think that a teacher for C++ will help learning any programming
language faster. In the end, you will have to do the reading. Actually,
there is the additional time cost (meaning lost time) of the lesson which
makes things worse. It is better to get learning by reading a good book
since the beginning.


In a large scale learning however, for example studies, where you learn
many things simultaneously, a teacher/professor helps to maintain focus.
I ment something else. I missed someone to guide my studies in C++ when I
started to learn it. Starting with good books and ending with some good
explanations to some issues that I couldn't easy understand. Of course the
teacher can't make you learn faster than your capacity. But he/she can
minimize your time to search for good materials. At least until you become
independent and can judge for yourself :).

So maybe teacher is not the right word. It might be mentor.

Catalin
 
C

chris

Fred said:
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

I'm somewhat suprised that no-one has commented on this...

It's clearly a total scam. I tried e-mailing them out of interest and
they are charging stupid amounts of money to write trivial 10 line
programs. I actualy bought one and found that it had a number of really
quite trivial mistakes ¬_¬.

Also, is anyone really so desperate that they would pay someone else to
write their programs for them? You still won't pass you exams...

Chris
 
J

Jonathan Turkanis

JKop said:
Jonathan Turkanis posted:


Any particular reason why?

I was trying to express what I thought was a pretty obvious point without being
overtly rude. As is so often the case, I probably should have kept my mouth
shut.

Jonathan
 
M

Mike Wahler

JKop said:
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

On 10/23/2004
JKop said:
Hello!

I'm an expert C++ programmer.

-Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,183
Messages
2,570,968
Members
47,518
Latest member
TobiasAxf

Latest Threads

Top