tut

i got to say the tut on this site is not the best to learn from starts out good but in the last part it forgetts about us ENGLISH speaking people


still going on though
Last edited on
That is one abstract complaint.
Do elaborate.
even though it makes use of the examples,doing elaborate yet simple things to show the languages flexibility at around page 90,give or take, it cuts the explainations short
going to stop complain now and get back to learning xD
but am i the only one who thinks so

phhh maybe im just tired and cranky
zander wrote:
at around page 90,give or take, it cuts the explainations short
At that point I believe it assumes you become adept, and begins to rely on you to learn more independently.

You can't really expect the tutorials to hold your hand through the entire process.

Be grateful, someones worked really hard to write it for you :)
i know that but............ahh your right a good programmer will adapt to any situation
Although the prototype of a function operator+ can seem obvious since it takes what is at the right side of the
operator as the parameter for the operator member function of the object at its left side, other operators may not
be so obvious. Here you have a table with a summary on how the different operator functions have to be declared

here should have been formatted better



its now official and im not being ungrateful the more i went on the less i understood. maybe your tut is right for someone but its not me atleast now i know the basic concept im going to try and find a next one or a book any suggestions

i was looking at the c++ programming language by bjourne styrup
Last edited on
zander wrote:
more i went on the less i understood.
Have you had a rest break? ;) People do need to sleep to assimilate knowledge.

zander wrote:
i was looking at the c++ programming language by bjourne styrup
I bought that book as it was in my courses "suggested reading" list. I found it overly complicated and bulky in places. You might want to try a C++ For Dummies book, or Sam Teach Yourself C++ (in a ridiculous amount of time). They're written with beginners in mind.

If you wanted to try a different set of tutorials, here are another set: http://www.cprogramming.com/tutorial.html#c++tutorial
Last edited on
oh i eventually came to understnd it i did need a break any way i wrote this and even though i can prob tell u whats wrong with it and how to fix it i just wanted to know if u guys were thinking my solution/answer also

#include <iostream>
using namespace std;
class add{
public:
int x=5;
int y=8;
int operater+(add);
};
int add::operator+(add b)
{
add temp;
temp=a.x+b.x;
return(temp);
}
int main()
{
add a,b;
cout<<a.x+b.x<<endl;
return 0;
}
Topic archived. No new replies allowed.