How to add objects during runtime?

A

Allen

I want to make a program which can allow the user to hire employees at
regular bases. In other words, every time an employee is hired the program
should be able to create an object by itself for that employee.
 
P

Patrice

Answered in another group were you already posted this. Please don't post
the same question to multiple groups (at least not separately).

Also this is pretty vague (are you looking for a list of object, are you new
to programming concepts ?)
 
A

Allen

Hi Patrice,
I program since 1997 in C and C++ for the love of programming, only. Now, I
am trying to program in Windows. I believe if one forum does not have an
answer; I can try another forum. If that would not bother you. I even
tried to post in Italian group, but they did not understand me.

--
Thanks
Allen
Patrice said:
Answered in another group were you already posted this. Please don't post
the same question to multiple groups (at least not separately).

Also this is pretty vague (are you looking for a list of object, are you
new to programming concepts ?)
 
M

Mr. Arnold

Allen said:
Hi Patrice,
I program since 1997 in C and C++ for the love of programming, only. Now,
I am trying to program in Windows. I believe if one forum does not have
an answer; I can try another forum. If that would not bother you. I even
tried to post in Italian group, but they did not understand me.

You say you know C and C++, then it shouldn't be to hard for you to
understand Java in the book, if you want to deal with objects, which can be
applied to .NET too.

You should learn the basics.

What is Object-oriented-programming?

(OOP) is a programming paradigm that uses "objects" and their interactions
to design applications and computer programs.

The key concepts of OOP are the following:
Class
Object
Instance
Method
Message passing
Inheritance
Abstraction
Encapsulation
Polymorphism
Decoupling

http://en.wikipedia.org/wiki/Object-oriented_programming
No matter what development platform Java, .Net or others OOP is OOP.

http://math.hws.edu/eck/cs124/downloads/OOP2_from_Univ_KwaZulu-Natal.pdf
http://www.blackwasp.co.uk/ObjectOrientedConcepts.aspx


What are design patterns?

Design patterns are recurring solutions to software design problems you find
again and again in real-world application development. Patterns are about
design and interaction of objects, as well as providing a communication
platform concerning elegant, reusable solutions to commonly encountered
programming challenges.

http://www.developer.com/design/article.php/1502691
http://www.dofactory.com/Patterns/Patterns.aspx
http://computerprogramming.suite101.com/article.cfm/patterns_and_antipatterns
http://msdn.microsoft.com/en-us/library/ms954638.aspx
http://www.designpatternsfor.net/Presentations.aspx?tid=3&cid=4


Head First Book

<http://books.google.com/books?id=Lj...esult&ct=result&resnum=8#v=onepage&q=&f=false>

http://www.freebookspot.in/Comments.aspx?Element_ID=2985



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4477 (20091002) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 
P

Patrice

I believe if one forum does not have an answer; I can try another forum.

You may want to wait jsut a bit before doing that. The problem is that it
wastes the time of those who tries to answer a question that has already
been answered somewhere else.

So before posting :
- check if the group seems appropriate or have enough traffic
- if multiple groups are suitable you may want to crosspost (ie. post the
same message to multiple groups so htat if someone answerrs you'll get the
answer in all the groups you posted).
- avoid to multipost
I even tried to post in Italian group, but they did not understand me.

I wouldn't have done that. Once again imagine if we all doing that...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top