Hello I just bought a book about c++ and i was thinking that i would start learning to program c++ with this book....
And why im posting this is becouse i dont know anyhing about c++..
so the meaning of this topic that i wanted to Help other people that has a hard time know how to studieng books they can just look here and get help im starting from the very basic of c++. and the book is called "Standard C++ Bible" Its in swedish so its true name is "Standard c++ bibeln" I will Use the program Al Quincy 99, like it says on the book..
so the book has 28 chapters and i was thinking of Posting like to 10 or somthing like that then u get the point and can do it yourself
And here they are
1. introduction/history About c++ and main()
2. writing simple program in c++
3. Funktions
4. Expression if,else if,if else mm.
5. more about c++ data
6. pointer,adress and referencevariable
7. library functions
8. preprocessor
9. struktures and classes
10. template
Well this is what i was thinking of learning I dont really know how long time it will take but I was thinking of writing like one thing at the time in a kinda slow and newbie way so people will keep up and understand... Sorry for all the miss spelling
But before i start i need to know what u think about it... if u think its stupid please tell then i wont do it :p... this was just an idea so please tell.
C++
- Nerdz
- The Architect
- Posts: 1127
- Joined: 15 Jun 2005, 16:00
- 18
- Location: #db_error in: select usr.location from sucko_member where usr.id=63;
- Contact:
To learn a language, you need to code at the same time you learn something.... let's say you've just learned class, do a simple class
Then, use it with stuff you learn before like loop...
Then, when you'll learn about polymorphisme ans such, you will implement it with person doing a class Male and Female...
Have fun and if you have question, ask them in the coding section.
Good luck.
Code: Select all
class Person{
private:
m_name;
public:
Person();
std::string GetName()
{
return m_name;
}
void SetName(std::string name)
{
m_name = name;
}
};
Code: Select all
Person p[10];
for (int i = 0; i < 10; i++)
{
p[i].SetName("Person:" + i);
}
for (int i = 0; i < 10; i++)
{
std::cout << p[i].GetName();
}
Have fun and if you have question, ask them in the coding section.
Good luck.
Give a man a fish, you feed him for one day.
Learn a man to fish, you feed him for life.
Learn a man to fish, you feed him for life.