Welcome to Dream.In.Code
Getting C++ Help is Easy!

Join 105,765 C++ Programmers for FREE! Ask your question and get quick answers from experts. There are 1,594 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



Object Oriented Programming (oop) Tutorial

2 Pages V  1 2 >  
Reply to this topicStart new topic

> Object Oriented Programming (oop) Tutorial, Explains the basics of OOP. [Part-I]

Rating  3
born2c0de
Group Icon



post 21 Dec, 2004 - 03:02 AM
Post #1


This Tutorial teaches you Object Oriented Programming from scratch. It is supposed to teach Inheritance as well but it is incomplete as of now. But the tutorial teaches you so many other things before you need to know Inheritance that by the time you finish reading it, the other half will be complete.

-Sanchit
Go to the top of the page
+Quote Post


Register to Make This Ad Go Away!

born2c0de
Group Icon



post 13 Jan, 2005 - 09:54 AM
Post #2
I decided to make this Tutorial Complete in itself. Hence I shall name it OOP Tutorial in C++ PART 1.
PART 2 will contain Inheritance and a few advanced concepts of OOP.
Here's the PART-1 Version of the Tutorial.


Attached File(s)
Attached File  oop.txt ( 38.85k ) Number of downloads: 3162
Go to the top of the page
+Quote Post

Vextor
Group Icon



post 13 Nov, 2005 - 03:32 AM
Post #3
I know it's been some time since you posted this tutorial but I wanted to put my two cents in. This is really great and keep up the good work. It's given me everything I need to get myself back on track with where I had left off in C++ a while back. With this and a few other tutorials i've alaready learned a ton. Thanks!
Go to the top of the page
+Quote Post

born2c0de
Group Icon



post 17 Jan, 2006 - 07:04 AM
Post #4
I know it's been a long time since you posted before me [i just had to put in the pun wink2.gif ]
Sorry for late reply...looks like I should keep an eye on the Tutorials Section too.
Thanks for your appreciation...I makes me write more and more.
Currently I'm writing a tutorial on Recursion...It's going to be real exhaustive and informative.
I hope I'll be able to finish that soon because as I'm writing it, I feel its the best one so far.

Thanks.
Go to the top of the page
+Quote Post

Jessehk
Group Icon



post 17 Jan, 2006 - 03:10 PM
Post #5
I was under the impression that class methods should not be declared inline unless it was a template class.

Though I could be wrong...

Other than that, great tutorial. smile.gif
Go to the top of the page
+Quote Post

born2c0de
Group Icon



post 16 Mar, 2006 - 12:48 AM
Post #6
QUOTE(Jessehk @ 18 Jan, 2006 - 02:32 AM)
I was under the impression that class methods should not be declared inline unless it was a template class.

Though I could be wrong...

Other than that, great tutorial. smile.gif

no...just a matter of convention and choice...some people stick to that convention...
Go to the top of the page
+Quote Post

shikha
*



post 25 May, 2006 - 02:56 AM
Post #7
while using float values ...... we write 0.2f,6f........etc;
wat does ut signify?????
Go to the top of the page
+Quote Post

born2c0de
Group Icon



post 25 May, 2006 - 10:08 PM
Post #8
the 'f' suffix is just a printf Conversion-type character.
Any number that's suffixed with an 'f' just shows that its expected type is a floating point.

Here are the other Conversion-type characters.

QUOTE

Type Char Expected Input Format of output

d Integer signed decimal integer
i Integer signed decimal integer
o Integer unsigned octal integer
u Integer unsigned decimal integer
x Integer unsigned hexadecimal int (with a, b, c, d, e, f)
X Integer unsigned hexadecimal int (with A, B, C, D, E, F)
f Floating point signed value of the form [-]dddd.dddd.

e Floating point signed value of the form [-]d.dddd or e
[+/-]ddd
g Floating point signed value in either e or f form, based on given value and precision. Trailing zeros and the decimal point are printed if necessary.
E Floating point Same as e; with E for exponent.
G Floating point Same as g; with E for exponent if e format used

Characters
c Character Single character
s String pointer Prints characters until a null-terminator is pressed or precision is reached
% None Prints the % character

Pointers
n Pointer to int Stores (in the location pointed to by the input argument) a count of the chars written so far.
p Pointer Prints the input argument as a pointer; format depends on which memory model was used. It will be either XXXX:YYYY or YYYY (offset only).

Source : Borland Help
Go to the top of the page
+Quote Post

shikha
*



post 25 May, 2006 - 11:14 PM
Post #9
thankuuuuu................................ biggrin.gif
Go to the top of the page
+Quote Post

ankesh_ec
*



post 9 Sep, 2006 - 11:32 PM
Post #10
QUOTE(born2c0de @ 21 Dec, 2004 - 03:02 AM) *

This Tutorial teaches you Object Oriented Programming from scratch. It is supposed to teach Inheritance as well but it is incomplete as of now. But the tutorial teaches you so many other things before you need to know Inheritance that by the time you finish reading it, the other half will be complete.

-Sanchit

this is nice tutorial
Go to the top of the page
+Quote Post

completesunny
*



post 12 Sep, 2006 - 02:51 PM
Post #11
QUOTE(born2c0de @ 21 Dec, 2004 - 03:02 AM) *

This Tutorial teaches you Object Oriented Programming from scratch. It is supposed to teach Inheritance as well but it is incomplete as of now. But the tutorial teaches you so many other things before you need to know Inheritance that by the time you finish reading it, the other half will be complete.

-Sanchit



where can i get the PART 2 of this .....????can u send as soon as possible
Go to the top of the page
+Quote Post

virendra
*



post 12 Sep, 2006 - 09:16 PM
Post #12
where is the second part still waiting for it
virendra rolleyes.gif
Go to the top of the page
+Quote Post


2 Pages V  1 2 >
Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 8/21/08 02:34PM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month