New User Special Price Expires in

Let's log you in.

Sign in with Facebook


Don't have a StudySoup account? Create one here!


Create a StudySoup account

Be part of our community, it's free to join!

Sign up with Facebook


Create your account
By creating an account you agree to StudySoup's terms and conditions and privacy policy

Already have a StudySoup account? Login here

Data structures intro

by: Gilson Dos Santos

Data structures intro 12589.201580

Gilson Dos Santos
GPA 3.8
CS II data structures
Dr. Jonathan Maletic

Almost Ready


These notes were just uploaded, and will be ready to view shortly.

Purchase these notes here, or revisit this page.

Either way, we'll remind you when they're ready :)

Preview These Notes for FREE

Get a free preview of these Notes, just enter your email below.

Unlock Preview
Unlock Preview

Preview these materials now for free

Why put in your email? Get access to more of this material and other relevant free materials for your school

View Preview

About this Document

This are the notes of the first day of class, with the definition of an ADT and its characteristics. also the steps in how to define a class.
CS II data structures
Dr. Jonathan Maletic
Class Notes
25 ?




Popular in CS II data structures

Popular in Computer Science and Engineering

This 3 page Class Notes was uploaded by Gilson Dos Santos on Tuesday October 20, 2015. The Class Notes belongs to 12589.201580 at Kent State University taught by Dr. Jonathan Maletic in Fall 2015. Since its upload, it has received 22 views. For similar materials see CS II data structures in Computer Science and Engineering at Kent State University.

Popular in Computer Science and Engineering


Reviews for Data structures intro


Report this Material


What is Karma?


Karma is the currency of StudySoup.

You can buy or earn more Karma at anytime and redeem it for class notes, study guides, flashcards, and more!

Date Created: 10/20/15
ADT abstract data type Data Rules of usage opertations encapsulationstuff together class construct rules of usage embodied in operations information hiding helps creating rules of usage ADT Types pointxydata double xyrules of usage distprintreadinitset a valueoperations point hpp header only for the class declaration prototype ifndef CSZPOINTHPP dont have leading underscore the library might have one define CSZPOINTHPP so that the compiler only compiles the information once includeltiostreamgt class point public void initdoubledouble double getx double gety void setxdouble void setydouble point addpoint point subpoint double distpoint void printstdostreamamp private double xy endif file protection blank int main point abc ainit00 binit53 caaddb point is a class a is an object of typeclass point instance of a class person voe jane Golden rules of c 1always put include guards in hpp files 2always define a default constructorelse will get an error with array of points how things run lst preprocessor checks the hastag files and do what they saybefore compiling it 2nd template processor 3rd lex 4th parsins 5ht code gen 6ht linkins exe pointcpp include quotpointhppquot void pointinitdouble newxdouble newy the double colon means it can acess private data xnewxynewy double pointgetx return x point point addpoint rhs point result resultxxrhsxb resultyyrhsy return result void pointprintstdostream out coutltltllllltltxltltII IIltltyltltIIII main function include quotpointhppquot int main point abc ainit34 coutltltagetx Version two ifndef CSZPOINTHPP define CSZPOINTHPP INCLUDE ltIOSTREAMgt Class point Public pointdefault constructor pointdoubledouble for diferent types of initializing double setx double setxdouble point addpoint point operatorpoint so we can add two point with just the operator on the main function


Buy Material

Are you sure you want to buy this material for

25 Karma

Buy Material

BOOM! Enjoy Your Free Notes!

We've added these Notes to your profile, click here to view them now.


You're already Subscribed!

Looks like you've already subscribed to StudySoup, you won't need to purchase another subscription to get this material. To access this material simply click 'View Full Document'

Why people love StudySoup

Bentley McCaw University of Florida

"I was shooting for a perfect 4.0 GPA this semester. Having StudySoup as a study aid was critical to helping me achieve my goal...and I nailed it!"

Amaris Trozzo George Washington University

"I made $350 in just two days after posting my first study guide."

Steve Martinelli UC Los Angeles

"There's no way I would have passed my Organic Chemistry class this semester without the notes and study guides I got from StudySoup."


"Their 'Elite Notetakers' are making over $1,200/month in sales by creating high quality content that helps their classmates in a time of need."

Become an Elite Notetaker and start selling your notes online!

Refund Policy


All subscriptions to StudySoup are paid in full at the time of subscribing. To change your credit card information or to cancel your subscription, go to "Edit Settings". All credit card information will be available there. If you should decide to cancel your subscription, it will continue to be valid until the next payment period, as all payments for the current period were made in advance. For special circumstances, please email


StudySoup has more than 1 million course-specific study resources to help students study smarter. If you’re having trouble finding what you’re looking for, our customer support team can help you find what you need! Feel free to contact them here:

Recurring Subscriptions: If you have canceled your recurring subscription on the day of renewal and have not downloaded any documents, you may request a refund by submitting an email to

Satisfaction Guarantee: If you’re not satisfied with your subscription, you can contact us for further help. Contact must be made within 3 business days of your subscription purchase and your refund request will be subject for review.

Please Note: Refunds can never be provided more than 30 days after the initial purchase date regardless of your activity on the site.