Ask your own question, for FREE!
Computer Science 10 Online
OpenStudy (anonymous):

im an astronomer.. i dont like to program but have to write one last program for computer science. have to make a class and im a bit stuck on what variables are inputed... which are private/public and how do i get data from one function to antother in a class

OpenStudy (anonymous):

don't you know any of the programming language ????

OpenStudy (anonymous):

if no then learn Python...

OpenStudy (anonymous):

yes learning for class

OpenStudy (anonymous):

c++

OpenStudy (anonymous):

gud if u hv done C++ then why are you asking such silly questions???

OpenStudy (anonymous):

i dont know it.. im supposed to know it

OpenStudy (anonymous):

you can start learning New Boston from Bucky Roberts he has free video tutorials to teach you programming languages like c,C++ and Java but before that you should be familliar with programming. Good Luck !!!!!

OpenStudy (anonymous):

here is the link http://thenewboston.org/index.php

OpenStudy (anonymous):

ive been watching those all day

OpenStudy (anonymous):

then what is the problem ????

OpenStudy (anonymous):

my member functions return number that i need to use within other member functions.... how do i use a member function within main as well as using that function to create variables that are used in other functions

OpenStudy (anonymous):

hv u done any other programming language before it ??

OpenStudy (anonymous):

nope i need one semester then im done with this pellet.. and they teach C++ first

OpenStudy (anonymous):

they r foools u must have strong command over python,java ,C,C# BEFORE learning C++ IT IS not a joke buddy !!!!

OpenStudy (anonymous):

i got a virus threat when i complied if that gives u any idea of my status

OpenStudy (anonymous):

and i was doing fine until we got to classes and file i/o

OpenStudy (anonymous):

but need to read a python book atleast first u r starting classes this that u r only 5% done with C++

OpenStudy (anonymous):

i know but i only need 1 semester for my degree and i need C++

OpenStudy (anonymous):

and if i can write this program i can possibly

OpenStudy (anonymous):

pass... otherwise its antherr semseter of this.... :(

OpenStudy (anonymous):

If you are an astronomer and dont like to program then why are you learning C++

OpenStudy (anonymous):

......

OpenStudy (anonymous):

its a degree requirement... i wouldnt learn C++ if i didnt have to but after passing the course i will never need it again

OpenStudy (anonymous):

WHAT IS UR AGE ???

OpenStudy (anonymous):

20

OpenStudy (anonymous):

20 and you are doing your first programmming language ???i am 13 and i already know Python and currently learning networking

OpenStudy (anonymous):

cool dude... i have discovered a planet around another star, worked for a major university, moved to hawaii learned physics calculus and astronomy and have done alot... i dont program nor have any interest in computers... they are a distraction from life

OpenStudy (anonymous):

bbetter you should have taken any othe barnch..

OpenStudy (anonymous):

@Gary Ahuja: Strong command over C, C#, Python and JAVA is not needed to be good in C++. I learned C++ first, then C#, then JAVA (little bit), and learning python and F# now.

OpenStudy (anonymous):

but.... for the sake of moving on in my career.. i am forced to learn c++ and it has been the hardest thing i have had to do

OpenStudy (anonymous):

why have you taken the branch of computer science ?????

OpenStudy (anonymous):

what are u talking about... i never chose computer science... when u grow up and go to college u will have to take classes that you dont want to

OpenStudy (anonymous):

@Drifta808: Absolutely correct, I am forced to study mechanics, optics, thermodynamics, drawing, workshop (mechanical), economics, English. By the way, I am a Computer Science student.

OpenStudy (anonymous):

adhokshaj really? :DD I am also CS (to be precise software engineer student but it's almost same thing) but we don't have any physics, drawing economic English. And so much physics really doesn't make sense

OpenStudy (anonymous):

drifta still arent you clear???? got your program done????

OpenStudy (anonymous):

i think today was last day to submit it :D

OpenStudy (anonymous):

@Tomas: Really we have study all these subjects.

OpenStudy (rsmith6559):

A class is basically a blueprint for objects of that type. An object has attributes, and methods (member functions). These can be thought of as nouns and verbs, respectively. Public variables and functions can be accessed by the client programmer, the user of the class. Private members can only be accessed from inside the object. Generally, a public function would return a value, it may call a private function to do the dirty detail work, which isn't and shouldn't be of concern to the client programmer. The main() function starts the program, and kind of orchestrates the objects doing their thing. It's a mind set that does take a bit of getting used to, but that's Object Oriented Programming (OOP). C++ does have it's challenges, but IMHO, is the broadest ranging language.

OpenStudy (anonymous):

rsmith is right about the breadth and flexibility of C++.

OpenStudy (anonymous):

too bad he don't cares about programming because he wants to be astronomer! :D

OpenStudy (anonymous):

and this strange man has written that he is an astronomer rather that writing he wants to be an astronomer.

OpenStudy (anonymous):

hes in first year of astronomy studies

OpenStudy (anonymous):

ooooohhhh

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!