1,089 Topics
![]() | |
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(); … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
Hello Guys please tell me what are the differences between Object Oriented and Structured Programming. Thanks. | |
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 … | |
[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 … | |
| |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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(); … | |
Dear All, Kindly tell me in brief that " impct of OO paradigm on software development (programming)" | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 = … | |
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 … | |
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; … | |
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 … | |
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 … | |
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 … | |
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 … | |
what criteria are you looking for in a OOP Language? | |
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; … | |
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? | |
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 … |
The End.