1,089 Topics

Member Avatar for
Member Avatar for polo_coins

I have some code bellow and I get an exception what wrong with this code, I'm just started to study with section of OOP so maybe I made a stupid mistake : [ICODE]static void Main(string[] args) { Ishow c1 = new Circle(1, 2, 10); c1.show(); interface Ishow { void show(); …

Member Avatar for LizR
0
72
Member Avatar for imabut

i'm trying to implement my own edit menu using Tkinter, my cut and copy methods,... seems to work fine but I'm having allot of trouble getting my paste method to work. will someone please help? (((its kinda ugly i know, but i'm still new to programming and i'm more focused …

Member Avatar for imabut
0
3K
Member Avatar for Xarver

I'm refreshing my mind of my C++ skills, and my older brother had the idea of creating a medieval text-based game! He's making all the ideas and all that, and I'm the code monkey programming it. Here's the code: main.cpp: [CODE=c++]#include <iostream> #include <string> #include "CLASHinfo.h" using namespace std; int …

Member Avatar for Xarver
0
148
Member Avatar for crprajan

I am new to layered architecture design. I need to implement a record navigation form in c# windows. It will contain three textboxes one for entering the empname and another for entering empage and another for entering his dateofbirth. I have buttons for adding, deleting and editing the current record. …

Member Avatar for dickersonka
0
117
Member Avatar for ardila

PROJECT 6: MIRROR CALCULATIONS DUE by midnight 11/04/08 INTRODUCTION This is the first of a 3-project series. The next two projects, pro7 and pro8 will expand on this assignment. Therefore, it is important that you do well in pro6. This project is your introduction to object-oriented programming (OOP). Here, you …

Member Avatar for Freaky_Chris
0
188
Member Avatar for Reliable

We need an AS forum. I would say AS3.o but I realize there are some who are using 2.0 as well so we just need a place to discuss both. AS3 is difficult to learn for someone like me who is new to OOP languages altogether. I'd like to a …

Member Avatar for Reliable
0
80
Member Avatar for Stefano Mtangoo

Hello All, Greetings! I have question concerning OOP with Python. I want to know when Python class or being specific, how py class ends in package like wxpython. What I mean is I have one class let say of frame and another class of a dialog box all in same …

Member Avatar for Stefano Mtangoo
0
101
Member Avatar for sidatra79

Hello everybody, I am looking for some clarifications/definitions regarding some special concepts for a better OOP design.. I already have some idea for some of them, however I would like to hear what more experienced programmer have to say. :D So lets start... [code] Could u provide a short definition …

Member Avatar for sidatra79
0
117
Member Avatar for bladdybla

Attention guru's! I build sites with XHTML, CSS, PHP, MySQL and tend to re-use code from previous sites I've built to speed things up. However, I wonder what tools or trickery you folks use to speed up the process. I'm convinced its the forms in my CMS that slow my …

Member Avatar for ry4n
0
172
Member Avatar for architact

Hello Guys please tell me what are the differences between Object Oriented and Structured Programming. Thanks.

Member Avatar for Ancient Dragon
0
72
Member Avatar for chic

I have to convert this into OOP style. How will I start? [code=C++] #include<stdio.h> #include<stdlib.h> #include<string.h> #include<conio.h> #include<ctype.h> #include<dos.h> #include<graphics.h> #define true 1 #define false 0 void disp(); void printmenu(); void intro(); void levelmenu(); void easy(); void initial(int x); void draw(int x, int y, int i); void userwin(int no); int …

Member Avatar for VernonDozier
0
89
Member Avatar for Diode

[QUOTE]In Visual Basic 6.0, control arrays could be used to specify a group of controls that shared a set of events. The controls had to be of the same type, and they had to have the same name. In Visual Basic .NET, control arrays are no longer supported. Changes to …

Member Avatar for james4560
0
214
Member Avatar for thetpaing
Member Avatar for thetpaing
0
74
Member Avatar for matthewwilkes

Hello All. I am currently working on a project which basically makes splash screens for plasma displays. Details on objects are stored in an Oracle database accessed using ASP.NET and requested using AJAX. I have already got a working version of this project which people are happy with but I …

Member Avatar for matthewwilkes
0
78
Member Avatar for OmniX

Few Questions: Passing by values(copy of the value) or references(actual value)? - What is the difference minus the two mentioned? - What is the better choice? - etc? Also this is a more general quesiton OOP, with most languages its better to learn and use OOP then just programming a …

Member Avatar for Alex Edwards
0
151
Member Avatar for hny_lyn

heLLo everybody!!! we are discussing java OOP's now!!! mainLy about Interfaces, Abstract classes and etc!!! weLL.., i would like to ask if you could give me some examples regarding this one!!! such as implementing interfaces on my main program!! the more complex the program is.....the more i want it!!! i …

Member Avatar for Ezzaral
0
79
Member Avatar for rickya100

Hi, I am learning about how to write OOP PHP code but I keep coming across lines such as [code=php] $this -> $sender = $sender [/code] I'd really appreciate it if anyone here could clue me in on this as I can't get any info on the web about it. …

Member Avatar for R0bb0b
0
1K
Member Avatar for hny_lyn

Good day!! I was observing this class doing their laboratory exercise on java. We are of the same professor that is why I had this instinct that we will be doing the same exercise on our class too. They were asked to do this: ->Make a class that has the …

Member Avatar for MoZo1
0
1K
Member Avatar for hny_lyn

hello to all!!! i really don't have any problem this time, but there's something i wanna learn more about! we are discussing classes and inheritance now!! my professor have given us quite examples of it....but it wasn't that clear!! can i ask for a simple codes that implements a class …

Member Avatar for javaAddict
0
196
Member Avatar for desm

The following example, when executed, returns: [QUOTE]Traceback (most recent call last): File "/home/des/programming/python/OOP/test.py", line 13, in ? demonstration(6).number() TypeError: 'int' object is not callable[/QUOTE] The example: [CODE = python] class demonstration: def __init__(self,number): self.number = number def number(self): fiveup = self.number + 5 print fiveup demonstration(6).number() [/CODE] Now, I know …

Member Avatar for desm
0
95
Member Avatar for invisal

I have argued with this guy for hours. In this conversation, I am [B]Silence[/B] and he is [B]link[/B] [code] [22:24] <link> Silence, how many times do you hack? [22:24] <Silence> link: hack me if you can [22:24] <link> I thought you were a programmer, yet you told me to hack …

Member Avatar for Ancient Dragon
0
388
Member Avatar for RiverX

Hi all, I currently have webapp that deal with a registration process. I have an interface called User which has the methods to get Values from the implemented userimpl class as well as methods to add and load the user i.e. [code]interface IUser { bool save(); string getLastName(); string getFirstName(); …

0
52
Member Avatar for faisaly

Dear All, Kindly tell me in brief that " impct of OO paradigm on software development (programming)"

Member Avatar for Narue
0
258
Member Avatar for sftwr21

Hello everyone, I'm learning programming for the first time and my first book i bought from the book store is the new Deitel C++ 6th edition. After reading the first several chapters I got so overwhelm with the authors verbose; I went out and bought C++Primer. One thing I noticed …

Member Avatar for Alex Edwards
0
398
Member Avatar for ctrl-alt-del

Hi all! I'm new to the forum so I figured I would introduce myself properly before the wave of questions begin ;) A bit about myself: My real name is Alex, 20 year olds, as of this very day 6 months very happily together with my girlfriend (had an AWESOME …

Member Avatar for VernonDozier
0
98
Member Avatar for brk235

Hi friends i have one question about OOP. I have [CODE]class A { /function body here }; class B:public A { /function body here }; class C:public A { /function body here }; int main() { B b[20]; C c[40]; } [/CODE] Each object of the derived classes(B and C)has …

Member Avatar for vijayan121
0
124
Member Avatar for faisaly

Dear All, Kindly help me regarding this questoin of C++(OOP). Write a template function that returns the average of all the elements of an array. The arguments to the function should be the array name and the size of the array (type int). In main(), exercise the function with arrays …

Member Avatar for RenjithVR
0
263
Member Avatar for prab

Hi all, I am new to OOP. I am using classes to create a phone book in C++. I don't know how to program, when the user enters the information and click save to generate a file. Also, how do I make GUI using C++. Can any one help me …

Member Avatar for ninjaneer
0
611
Member Avatar for PC_Nerd

Hi. *** SHORT QUSETION: Is there a way I can run a <large> socket server withought having to have a thread for each client/socket created? ***LONGER EXPLAINATION IVe recently written a small network program, that sends messages over TCP or UDP... depending on user input. I want ot adapt that …

0
60
Member Avatar for ddrddrddrddr

Here's my code: [code=python]from Tkinter import * import tkFileDialog import ImageTk import Image class GUI(Tk): def __init__(self, master = None): ## self.apfr = Frame() ## self.before = self.graphicWindow("Input") ## self.after = self.graphicWindow("Output") ## ## self.apfr.icon = Button(self.apfr, text = "Minimize", ## command = self.ico) ## ## self.apfr.quit = Button(self.apfr, text …

0
58
Member Avatar for R0bb0b

I am a seasoned PHP/Postgres/AJAX developer and would like to get back into ASP.NET development which I haven't touched since I graduated in 05(v1.1). Everywhere I look I find tutorials that include GUIs and wizards and that is not really the way I like to do things. I don't need …

Member Avatar for serkan sendur
0
117
Member Avatar for TacklesMcCaw

Well to start let me say that I'm only a newbie, as my status says, but after a year of C++ I have what I consider a pretty good grasp over the basics of the language. I'm still at school for the summer doing an internship and have a lot …

Member Avatar for TacklesMcCaw
0
155
Member Avatar for Extremus

Hey A friend of mine and I, wants to start to develop software in C++, but we can’t seem to find any information about creating software, yes we have read several online tutorials and 2 books, but all the stuff we have been reading is all about console applications, which …

Member Avatar for Ancient Dragon
0
135
Member Avatar for darklogan

Hi there guys: For my OOP class I had to do a game (as usual, as I could see from other posts). I chose doing the traditional "memory" game where you have pairs of images scrambled in a grid and you have to choose the right pairs, until they all …

0
37
Member Avatar for mzirino

Hi My Name is Marco I'm new to this forum. I'm a web developer who does a lot of work in C# and ASP.NET. I'm interested in OOP, open-ended software design, and mastering C#. Other than that, I'm a student and follower of Jesus, interested in world religions, music, original …

Member Avatar for Jx_Man
0
93
Member Avatar for Dazzaman

Hi all, I'm Dazzaman Just a few things about me below. Am looking to learn a few things for my IT degree studies, especially with regards to coding in C# and OOP. Name: What! Nah. Nickname: Daz, Dazza, Dazzaman, big fella! Height: 6'3" Weight: 125 kilograms or about 275 pounds …

Member Avatar for zandiago
0
36
Member Avatar for gazoo

Can anyone tell me what is this, to me it look like struct in a struct, if I were to write the OOP program to sort an array 5 of these object variables, where would I start?? What will be the out put should look like?? Can someone give an …

0
65
Member Avatar for eng.atia

Hi all, I want a valuable book that illustarte OOP concepts in C#. I hope that the book I'm looking for deep more in OOP concepts.

Member Avatar for seka208
0
80
Member Avatar for Dio1080

I can't figure out why it is saying (Vehicle.java:174: cannot find symbol) but there is a symbol, what is going on? [code]import java.util.Scanner; public class Vehicle{ protected int hp; protected int mileage; protected int year; public String make; public String model; Vehicle(){ hp = 0; mileage = 0; year = …

Member Avatar for Dio1080
0
170
Member Avatar for sandip250382

Hi, friends this is my first post here. Well, I want to learn C# from home. For this I need all your help.Can any one kindly suggest any easy e-book , I have little concept about OOP's earlier? Thanks in advance. Hoping for a pleasant stay here.

Member Avatar for sandip250382
0
82
Member Avatar for gretschduojet1

Hey everyone, I haven't been here in sometime but I'm in need of some guidance. One of the questions I have is how do I enter the name, length, and time for each course? Thanks in advance for the help. Here's what I'm supposed to do: Using OOp inheritance and …

Member Avatar for Agni
0
128
Member Avatar for bornok15

i have written a simple class for OOP in mysql and php and when i tested if even if the values that i used also in my normal connection process is the same the mysql won't connect me to it.. this is my class: [CODE] <?php class DBlink{ protected $link,$dbname,$uname,$passw,$db,$hname; …

Member Avatar for nav33n
0
133
Member Avatar for octavia

Hi all my friends, As i'm beginner in VC++, i encountered a lot of problem in debugging. I think my knowledge and academic studies should be distinguished properly. I know only c++ but i have OOP knowledge in c programming. But i am not able to handle the debugging in …

Member Avatar for Ancient Dragon
0
328
Member Avatar for petersrin

I am very new to programming in general, and of course, it follows: to Python. Yet, I am in desperate need of a particular database program, and I am attempting to write it via objects, since I need to learn the ways of OOP anyway. I am currently trying to …

Member Avatar for petersrin
0
148
Member Avatar for volcs

I have been scripting with Python for a few years but I just recently decided to start using some OOP to make my life a bit easier. Although I've read many examples and some chapters and websites, some of the most rudimentary basics still elude me. Here is an example …

Member Avatar for katharnakh
0
105
Member Avatar for chapelhoffer

Hi, I'm a first year college CS major. We've started OOP and I've just been asked to create a class for a bank account. I'm pretty solid at the idea of a class, but the actual format of using the member functions inside main have got my head spinning. I …

Member Avatar for darkagn
0
97
Member Avatar for shinoske
Member Avatar for jnabeel

compare two value in oop based programing #include<iostream> using namespace std; class com { private: int a; int b; public: int d() { cin>>a; return 0; } int bd() { cin>>b; return 0; } }; int main() { com c1; if(c1.d()==c1.bd()) { cout<<"y"<<endl; } else { cout<<"n"<<endl; } return 0; …

Member Avatar for jnabeel
0
112
Member Avatar for bornok15

Im studying how to integrate Classes in php pages. anyone who has an idea on how i can come up with this? That i would just have objects.. is it possible?

Member Avatar for bornok15
0
133
Member Avatar for knight fyre

I'm trying to write a program with a has-a relationship but the initialization isn't working. The error I'm getting is: [QUOTE] h:\oop labs\license retry\license2.0\license2.0\licenses.cpp(15) : error C2275: 'Date' : illegal use of this type as an expression[/QUOTE] [CODE=cplusplus]Licenses::Licenses(int id, string name, string ad, Date, Date) :issue_date(Date), expiry_date(Date) // error occurs …

Member Avatar for knight fyre
0
137

The End.