1,089 Topics
![]() | |
Hi, i've been reading about c++ advanced concepts such as polymorphism, (multiple) inheritance, templates, operator overloading and others. It all seems more or less clear to me but i know i would never really understand all these language features until i've used them. the problem is that i don't know … | |
Hi everyone. I'm new here. I'm new to C# especially in OOP so it's kinda hard at the moment. I am currently working on a C# project and I don't know how to create an installer package for my project which will include a Flash movie player installer. Is that … | |
Ill put my code at the end, as not to scare off anyone from reading on past the code (as if something so simple could scare!) I basically wrote this tonight. I have been working on my C++ skills, specifically in the way of learning newer concepts...such as implementing OOP, … | |
Hey there guys I'm new to java OOP and im not very good at it at all. I have a uni assignment due in soon which i mostly completed but I'am stuck on this questions which ask us to make a guessword game. this is the problem Problem 3 – … | |
Hi.. Could any one tell me about... 1) What is top-down approach(POP) and bottom-up approach(OOP) and the difference between them.. 2) Different types of containership (might be with exs..) Thanks for the help | |
Hi all, Just to make it short: am a programmer. I love OOP programming. Started the days of Glorious Borland Turbo Pascal, and for the last 8 years or so with C++ (vc++). Lately i have been programming in c# as well. My work was mostly designing and writing servers: … | |
i have got this OOP project of implementing minesweeper using classes.Can anybody just hint me what classes i have to use and what would be their relationship like association,containment,weak containment and strong like that.anybody plz.If i failed to do so i would be getting an f!!!!!plz!!!!!!!!!!!!!! ![]() | |
I have a header and cpp file.I'm trying to learn OOP so I did a small program that handles classes.In the header I have declared the class and in the main file I'm implementing the methods. m_prvi = first number m_drugi = second number m_rezultat = result So I call … | |
I started C++ a few weeks ago.. I want to go to MIT for computer science, and for that i want to learn a few computer languages. Im 15 in 9th grade. I know how to make loops and random numbers. I am about to go into arrays and pointers … | |
Hello, I'm trying to get an OOP MFC application working, so far it complies and everything but nothing happens. And I cant work out why. I would post code snippets but the simple fact is the MFC lib is far too big for that stuff. I've zipped up my project … | |
:!: The Question is like this... About: Subject registration system. The lecture want 1. Name, Matric Number, Cumulative Grade Percentage Average (CGPA) CGPA........A=4.0,A-=3.7,B+=3.3,B=3.0,B-=3.7,C+=3.33,C=2.0, F=0. Name, Matric No,CGPA key in by user. So no need to worried. 2.Condition for CGPA if CGPA<2.0, can apply up to 18credit hours if CGPA>2.0, can … | |
hi everyone, I have to talk about the java's architecture in general. Do you guys know what to talk about? I already talked about how simple and how oop etc it is.... anything else I can add? thanx | |
Here's a thread I posted on previous forum regarding the three: I've used PHP, ASP, and ColdFusion, and out of the three, ColdFusion is probably the most fun to play with. Of course, this is a very biased question to begin with. If you ask a C++ programmer what the … | |
Basically I've got a const string (it stays the same lenght) Only trying to implement it into OOP. heres the constructor: [php]score::score(void) { lives = 5; char * end = { " --------------+-\n" " + |\n " "+ ?\n" " +\n" " +\n" " +\n" " +\n" }; strcpy( death, … | |
Can anyone help us out in this dept, everytime I go through my program when it terminates I get the famous windows: "main.exe has encountered a problem and needs to close. We are sorry for the inconvencience ........ Debug, Send Error Report, Don't Send Yep that one... Can anyone offer … | |
I am currently finishing up my B.S. in Computer Science at a local private University. When I started a couple of years ago, C++ was taught in the intro to programming course for freshmen. About two years later, Java was taught as a first language. (I disagree with that because … | |
hi people, I am a newbie to Java OOP,i cam across this example in a text book, but i just cldn't understand how the area is calculated. hope that someone can explain this simple problem to me the code is: public class TestPassingObject { // Main method public static void … | |
Hello World! (I couldn't resist that one...sorry :mrgreen: ) I am new to the boards and to programing in C/C++ over all. I hae tried for about 5 years to learn this code, but I was never really serious about it until the past week. Since this last week, I … | |
Hello, I am new to the oop enviroment and I am more interested in using c/c++ but I can not afford to buy books on the subject. I would be extremly grateful to any one or group that can send me some c/c++ material of sort. Or tell me of … | |
Hello, I've coded the following which works to a certain extent! I've managed to get the vectors working with int but not with my class... [php] #include <iostream> #include <vector> using namespace std; class BankAccount { public: //void setAccount(int num, double amount); taken out replaced by constructor BankAccount(int num, double … | |
Anybody know a good book for learning about oop reuseable components. I have a project I have do for school. The book i was given to use doesn't cover that subject real well. I'm really in a jam, I even went out on forums asking questions about reuseable components, but … | |
Hello I'm getting 2 errors c:\computer science programming\excerise sheet 4\student\student.h(8) : error C2629: unexpected 'class Student (' c:\computer science programming\excerise sheet 4\student\student.h(8) : error C2238: unexpected token(s) preceding ';' heres the student class: [code] #ifndef STUDENT_H #define STUDENT_H class Student { public: Student(const char *, const Date &); void printStudent(); … | |
I have an assignment that I need to do that designs the necessary classes to facilitate an indirect blocking and non-blocking communication environment between threads (producers and consumers) using a bounded buffer whose size is defined at run time. I am to test the working of these classes by creating … | |
When running the following code i get a big compile error: [QUOTE] Linking... main.obj : error LNK2001: unresolved external symbol "public: __thiscall debug::debug(int)" (??0debug@@QAE@H@Z) Debug/main.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. [/QUOTE] Class definiation saved as : class.h [php] #ifndef CLASS_H #define CLASS_H class debug { … | |
[php] #include <iostream> #include <cstring> using namespace std; class date { public: date(int = 1, int = 1, int = 1990); //constructor void Printdate(); void setday(int); void setmonth(int); void setyear(int); void setdate(int, int, int); private: int day, month, year; }; date::date(int d, int m, int y) { setdate(d,m,y); } void … | |
[php] #include <iostream> #include <cmath> using namespace std; class point { public: point(int xcoord , int ycoord); //constructor point(); int getX(); int getY(); double getDistance( point otherPoint ); void setpnt(point p); private: int x, y; }; class rectangle { public: rectangle(point p1, point p2, point p3, point p4); void perimeter(); … | |
[b]Declaring Objects[/b] When one works with classes, each instance of the class which is defined is known as an object. C++ is an extremely object oriented language (perhaps not so much so as Java, however). In OOP, or Object Oriented Programming, one can easily perform multiple tasks on objects which … | |
[b]kimfalk[/b] posed a question about static functions in a class in [url="http://www.daniweb.com/techtalkforums/thread19241.html"]http://www.daniweb.com/techtalkforums/thread19241.html[/url] to which my reponse was duly correct by [Quote=Narue]You're mixing up your statics. :) static is overloaded for too many different uses. In a class declaration, static means that the name belongs to the class and not to … | |
Im reading a book on java, and im on the lesson OOP and java. This is my code: [CODE]class Motorcycle { String make; String color; boolean engineState; void startEngine() { if (engineState == true) System.out.println("The engine is already on."); else { engineState = true; System.out.println("The engine is now on."); } … | |
Excuse me, but I'm a newbie. I have 2 years worth of learning in Borland C++ 5.0 and know a touch of programming in C++ and OOP Programming, as well as file handling. My main concern in starting this thread, is to humbly ask anyone, to give ([I]PLEASE![/I]) a step-by-step … | |
Hi! Having programmed in non-object oriented programming languages for a pretty long time, thinking in terms of classes and objects hurts my brain. I have written a program in BASIC (to print out the result sheet of a class after having obtained the data such as name of the student … | |
hey everyone :confused: i have a new java task comming up and it involves making a game that impliments buttons. for this task i have started to build a golf game but everything i do seems to not work i keep getting stuc. bellow is a copy of my task. … | |
[b]O[/b][b]rganize Your Data[/b] Arrays allow programmers to store a series of data of the same type. For example, suppose a program is to keep track of twenty numbers. Such a set of numbers would be stored in an array of integers (whole numbers) or doubles or floats (decimals). Arrays work … | |
This is from nyphp-talk: [nyphp-talk] Zend PHP Certification Daniel Kushner kushner at gmail.com Thu Jun 17 20:08:33 EDT 2004 Previous message: [nyphp-talk] PHP and Flash Next message: [nyphp-talk] DB Differences Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] -------------------------------------------------------------------------------- NYPHP List: This email … | |
i just ve started with c++ but i ve an idea about c and oop i wanna learn more about graphic library in c++ i ask for any advice or help thanks | |
[b]Software [/b] Computers contain hard drives, storage mediums for one's own documents as well as software programs. Software for computers are manufactured by numerous companies and individuals and made to work with a given operating system. Currently, Microsoft has a nearly complete monopoly on operating systems, bringing us all versions … | |
[size=4]Beginning Perl[/size] [b]by Simon Cozens, Peter Wainwright[/b] I have gone through several Perl tutorials in the past, and I have to admit that this is the best one I've seen, especially if you already know how to program. I came from a C++ world, so it was relatively easy to … | |
[b]OOP[/b] C++ is an object-oriented programming language. In other words, it contains what are known as objects, such as classes and structures, which allow the easy manipulation of large amounts of data. The easiest way to think of them are as records. [b]Creating Data Types[/b] When one creates a class, … |
The End.