1,089 Topics

Member Avatar for
Member Avatar for invinate

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 …

Member Avatar for invinate
0
126
Member Avatar for exiledheart

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 …

Member Avatar for alc6379
0
91
Member Avatar for Woobag

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, …

Member Avatar for Ancient Dragon
0
252
Member Avatar for ELHEK

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 – …

Member Avatar for DeepZ
0
222
Member Avatar for HackWizz

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

Member Avatar for HackWizz
0
104
Member Avatar for Guanche

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: …

0
34
Member Avatar for neno14me

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!!!!!!!!!!!!!!

Member Avatar for iamthwee
0
538
Member Avatar for bsdpowa

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 …

Member Avatar for bsdpowa
0
144
Member Avatar for njzillest

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 …

Member Avatar for Rashakil Fol
0
99
Member Avatar for Acidburn

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 …

Member Avatar for Acidburn
0
379
Member Avatar for fsloke

:!: 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 …

Member Avatar for fsloke
0
130
Member Avatar for sam1

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

Member Avatar for sam1
0
68
Member Avatar for samaru

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 …

Member Avatar for chrisranjana
0
820
Member Avatar for Acidburn

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, …

Member Avatar for Stoned_coder
0
145
Member Avatar for Acidburn

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 …

Member Avatar for Acidburn
0
257
Member Avatar for Dani

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 …

Member Avatar for vegaseat
0
157
Member Avatar for tristan17

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 …

Member Avatar for tristan17
0
216
Member Avatar for Rodan

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 …

Member Avatar for Dave Sinkula
0
199
Member Avatar for Tlhokomelo

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 …

Member Avatar for Narue
0
146
Member Avatar for Acidburn

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 …

Member Avatar for Narue
0
140
Member Avatar for augie0216

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 …

Member Avatar for augie0216
0
126
Member Avatar for Acidburn

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(); …

Member Avatar for Dave Sinkula
0
270
Member Avatar for tat2dlady

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 …

0
67
Member Avatar for Acidburn

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 { …

Member Avatar for Dave Sinkula
0
573
Member Avatar for Acidburn

[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 …

Member Avatar for Acidburn
0
456
Member Avatar for Acidburn

[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(); …

Member Avatar for Narue
1
182
Member Avatar for Dani

[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 …

Member Avatar for Pmaster
0
149
Member Avatar for Tight_Coder_Ex

[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 …

Member Avatar for Tight_Coder_Ex
0
135
Member Avatar for Diod

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."); } …

Member Avatar for Diod
0
163
Member Avatar for jeanatkin

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 …

Member Avatar for jeanatkin
0
246
Member Avatar for rupeshpradhan

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 …

Member Avatar for Egsal
0
183
Member Avatar for neeraj
Member Avatar for Narue
0
64
Member Avatar for Elektro

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. …

Member Avatar for nanosani
0
162
Member Avatar for Dani

[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 …

Member Avatar for paawam
0
568
Member Avatar for samaru

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 …

Member Avatar for kenleycapps
0
275
Member Avatar for tahataha

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

1
83
Member Avatar for Dani

[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 …

Member Avatar for basementcoder
0
229
Member Avatar for samaru

[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 …

Member Avatar for samaru
1
177
Member Avatar for Dani

[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, …

0
99

The End.