we are supposed to choose a system to make it object oriented as our project in C++ programing course .\nan example of system is like:system of  registring in university or system of searching and borrowing books in a library canyou help me choosing one?
200001
Try something that really interests you or that you've had first-hand experience with.
430660
is this a homework problem!? :)\n\ni haven't written C++ in a while but it seems like a fairly straight forward problem.  take a look at creating classes with static members and you'll be headed in the right direction.
327007
Computers only understand binary. This is a really clunky way for humans to work. The origional computers were programmed by litterally toggling manual bits on the machine itself. Each generation of languages have sought to make programming easier and more powerfull. \n\nThe way it works is with the programmer. They decide on which language will do the best job for what they are doing. There are some major catagories of these languages.  Compiled vrs interpeted is a major catagory. Which you use depends on your needs. Compiled programs are actually compiled down into the binary codes that will run on your specific OS/Hardware. Interpited programs are compiled to byte code and then when they are run it is "interpeted" by a run time lib of some sort which converts the code to actual binary. Compiled programs obviously run faster as they skip the middle man. Interpited programs run on more than a single platform/OS. They also allow for changes on the fly and are more tolerant to upgrades in hardware/OS.  Java, most forms of Basic, Python are some examples of interpited languages. C, Fortran, Assembler are some examples of compiled languages. \n\nSo depending on your language choice you start to code. If you use a third level/functional language you will write out your basic code design and then compile it to byte or binary. If you are using an OOP language there is an extra step in this. Your classes need to be resolved and external dependancies also need to be resolved. Non OOP languages often have dependancies as well but the overhead for them is considerably less. OOP (Object oriented programming) has the advantage of reusing a great deal of code. It's disadvantage is more complex code and slower compile times. The OOP portions are generally either external references or broken down into literal code removing all OOP features from the compiled output. If it is an interpited language it's left as a stub to an external reference. Any other language it's included into the code, depending on the optimization methods generally it's writtin literally into the code on every call. \n\nLets talk about compiling now. Interpited languages compile down into byte code. That means that they create short cut notation for calls to inbuild functions with any your coding tucked in.  When run, this then expands into the dynamic functions with your code describing what to do with these functions. \n\nIn a compiled language the code is first compiled into objects. This is a totally different term from what is an object in code. Most modern compilors hide the obj files from users so you likely will not see or use one of these files today. In the past they were very usefull files at times. Objects are very similer to byte code in nature. They are shortcut notation for what you want to do with the code. \n\nThese objs are OS and version specific. An Obj from a Windows machine will not work on Linux and vice versa. They will contain references to functions that do not exist on the other platforms or have different calling parms and names for example. Other than differences like this there are other distinctions. For example the way memory is addresed and handled is differently in different OS's. The OBJ files have to know and use the specific mem model for that platform. \n\nThe next step is to reference the code. That is you address the functions, resolve dependancies between objects, wrap all your objects into the executable/lib you will be compiling and get it ready for conversion to assembler. \n\nThe assembler takes over from there. It will convert your instructions into Assembler macro instructions. Each computer contains a set of basic instructions that make a comptuer a computer. These calls are the foundations of any language. There are two main approaches to this. One is a richer set of assembler instuctions which is to say that many functions are already built into the bios. The other is to keep it simple and o
297094
Yes. It is similar. However, OOP has built in support for DE, DA, PM, and so on. You can simulate it in traditional programming methods. You get to see that OOP is supported by OOP languages and tradionational languages can be used to simulate OOP.
123222
I can help you. Here is an example of a beverage class:\n\n---\nclass Beverage {\n  public:\n    int drinkSome(int Amount);\n\n  private:\n    int coffeeLeft;\n}\n---\n\nPut any function or variable that you want available outside of the class under "public:" (e.g. if you are going to allow the user to alter it directly) and anything you don't want available directly (outside of the class) under "private:".\n\nTo define the funtion drinkSome(int Amount), you might do this:\n\n---\nvoid Beverage::drinkSome(int Amount)\n{\n    this->age = this->age - Amount;\n}\n---\n\nExcellent examples of C++ Classes:\n\nhttp://cplus.about.com/od/beginnerctutorial/l/aa041002b.htm\nhttp://www.cplusplus.com/doc/tutorial/classes.html\nhttp://www.functionx.com/cpp/examples/simpleclass.htm
603863
My favroite site is www.cplusplus.com\n\nPractice is far more important than reading books. Its important to be trying every bit of code you see until you understand it in and out. Books are good when you need a reference and some theory. \n\nAs for software, for an absolute beginer I really recomend Microsoft's Visual C++ because it makes it easy to do lots of trial and error which is really important part of early stages of learning to program. It also has a good detailed reference.\n\nFree version available here: http://msdn.microsoft.com/vstudio/express/visualc/\n\nKeep in mind though there are other compilers and not all are compatable with ANSI Standard C++.  g++ is very popular compiler on LINUX. Borland and Devshed are others for windows. But I have yet to see the user friendliness of Visual Studio in any other software for C++.
552572
I found that it was a handicap to learn C before C++, because they operate along different paradigms...\n\nC = functional\nC++ = object oriented\n\nThe reason that learning C first is a handicap, is that C++ compilers will let you write non-object-oriented code (eg C code) and you end up not learning, or getting the benefit of, object-oriented code :-)\n\nKnowing about pointers, structures and memory management is very useful :-)
87241
C++ was built off of C.  Which is simpler is an ambigious question in that you would have to define "simpler."  Personally I prefer to work in C++ because of the functionalities provided by STL, however I can do everything in C, it is just more work.  For learning purposes C++ is a better place to start as it has built in memory managment so that you dont accidentaly overwrite something vital.  As for your second question C++ can not be compiled with a C compiler.  Thus the reason we have separate compilers.  Most things you do in C can be directly done in C++ however this is not true in the other direction.  I hope this helps.  If you decide to learn in C get a copy of "The C Programming Language" by Brian Kernighan (the creator of C), I use this book alot even for C++.  If you decide to go with C++ get "The C++ Standard Library" by Josuttis (the creator of STL).  Either way you made the right choice by avoiding Java.
63922
The idea is to equate a "programming object" to a "real world object."  Using a very simple and probably useless example (don't know how to indent here, code looks a little screwy):\n\nclass apple :\n  color = 'red'\n  def get_color(self) :\n    return self.color\n\nSo you could create an apple object & get its color:\n\na = apple()\nprint a.get_color()\n\nSlightly more useful might be a Person object for an address book, for instance:\n\nclass Person :\n  def get_address(self):\n     ...\n  def get_phone_number(self):\n     ...\n  def get_name(self) :\n     ...\n  def get_age(self) :\n     ...\n\n#blah blah blah\n\nSo, Object Oriented programming is mostly just a way to organize your program so classes (i.e. objects) resemble real objects.  This is very handy for keeping code maintainable.\n\nThere are more advanced Object oriented concepts, such as polymorphism and inheritance, but it's easier you to google them than for me write out examples :)
634397
Robert Lafore for the beginners.\nComplete Reference C++ for professional.
198631
http://www.programmingtutorials.com/cplusplus.aspx\n\nAlos look at\nhttp://en.wikipedia.org/wiki/C%2B%2B\nIt has:\n1. History \n  1.1 The name "C++" \n  1.2 Old problems \n  1.3 Future development \n2 Philosophy \n3 Standard library \n4 Features introduced in C++ \n5 Incompatibility with C \n6 Sample code \n  6.1 Minimal program \n  6.2 Hello world program \n7 Language features \n  7.1 Operators \n  7.2 Objects \n    7.2.1 Encapsulation \n    7.2.2 Inheritance \n  7.3 Polymorphism \n    7.3.1 Static polymorphism \n      7.3.1.1 Function overloading \n      7.3.1.2 Operator overloading \n      7.3.1.3 Template functions and classes \n    7.3.2 Dynamic polymorphism \n      7.3.2.1 Polymorphism through inheritance \n      7.3.2.2 Virtual member functions \n      7.3.2.3 An example \n8 Criticism \n9 See also \n10 References \n11 External links \n  11.1 Materials \n    11.1.1 Tutorials \n    11.1.2 Electronic Books \n  11.2 Support \n  11.3 Other \n    11.3.1 Libraries and code repositories
523985
I personally think you should try Borland Builder C++, it's as intuitive as VB and as powerful as C++ too bad it's not as popular as VC (people think that just because microsoft wrote it it must be good)\nI've used all of them but it's been too long and actually if I had a choice and I was in your shoes, I'd go for learning Visual Studio.net and C#  because really that it's any better than C++ but unfortunatelly chances are that it will be much more in demand in the future.
113145
Ruby On Rails is the big thing nowadays.  If you're comfortable with OOP and Ruby, it's a breeze and quick as well.
91689
The quick answer is that you would know how to program in c++. I dont think most people would want to write that for you just to give an answer but you never know. \n\nTry using planetsourcecode and see if you can find something similar enough to modify...
302382
This really isn't a good answer to your question, but you may want to look into C# too. It's kind of a combination of C++, Java, and VB. It has a simple GUI design interface, but it still allows you a lot of control. Not quite as much as C++, but more than Java. Just an idea for you to ponder ...
645759
Your best bet is to google the topic. I have done this for C++ and found numerous sources that detail the language. Try C++ file extensions, and then search. This should bring up sources that will have the info you need.
492262
Well the first thing you should recognize is that VB.Net is in a transition from what VB use to be to something that is more like OOP as done in C++. For instance, VB.NET now implements full inheritance, classes, everything being an object with methods that can be overridden, shared, shadowed etc.\n\nAnother thing you can compare is the actual syntax. VB.NET has made an effort to hold onto its very English like syntax, one thing that C++ does not share. \n\nOne similarity is that VB.NET implements classes which can be derived, made abstract, full methods and properties like that of C++.\n\nI have included a site that compares C++ but with C# and Java which might be better to compare directly with C++ than VB.NET since they are so similiar. It has results on memory usage and outlines the options/OS used to conduct the experiments.\n\nYou have to understand that by its very nature C++ is closer to the machine code that the OS understands while .NET has an extra layer (the CLR or common language runtime which offers several more graphical and performance changes than original C++ code).\n\nYou will be lucky to find more C++ / C# comparisons or Java / .NET comparisons than finding one that will compare two separate languages AND platforms like VB.net and C++.\n\nHope these results help a little. Enjoy!