Click here to Skip to main content
16,009,407 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: indesign cs6 trial - no toolbar Pin
Pete O'Hanlon17-Jan-13 0:49
mvePete O'Hanlon17-Jan-13 0:49 
QuestionHow do you design this? : with a better example Pin
Eytukan30-Dec-12 17:57
Eytukan30-Dec-12 17:57 
AnswerRe: How do you design this? : with a better example Pin
Christian Graus30-Dec-12 18:25
protectorChristian Graus30-Dec-12 18:25 
GeneralRe: How do you design this? : with a better example Pin
Eytukan30-Dec-12 18:42
Eytukan30-Dec-12 18:42 
GeneralRe: How do you design this? : with a better example Pin
Christian Graus30-Dec-12 18:46
protectorChristian Graus30-Dec-12 18:46 
AnswerRe: How do you design this? : with a better example Pin
jschell31-Dec-12 9:10
jschell31-Dec-12 9:10 
AnswerRe: How do you design this? : with a better example Pin
Eddy Vluggen31-Dec-12 17:04
professionalEddy Vluggen31-Dec-12 17:04 
AnswerRe: How do you design this? : with a better example Pin
Keld Ølykke16-Jan-13 11:23
Keld Ølykke16-Jan-13 11:23 
QuestionHow to find the similarity between users in Twitter ? How to design a good and efficient idea? Pin
ldaneil27-Dec-12 7:26
ldaneil27-Dec-12 7:26 
AnswerRe: How to find the similarity between users in Twitter ? How to design a good and efficient idea? Pin
Pete O'Hanlon27-Dec-12 7:39
mvePete O'Hanlon27-Dec-12 7:39 
GeneralRe: How to find the similarity between users in Twitter ? How to design a good and efficient idea? Pin
ldaneil27-Dec-12 7:50
ldaneil27-Dec-12 7:50 
AnswerRe: How to find the similarity between users in Twitter ? How to design a good and efficient idea? Pin
jschell27-Dec-12 9:21
jschell27-Dec-12 9:21 
GeneralRe: How to find the similarity between users in Twitter ? How to design a good and efficient idea? Pin
ldaneil28-Dec-12 8:31
ldaneil28-Dec-12 8:31 
AnswerRe: How to find the similarity between users in Twitter ? How to design a good and efficient idea? Pin
April Fans27-Dec-12 15:43
April Fans27-Dec-12 15:43 
GeneralRe: How to find the similarity between users in Twitter ? How to design a good and efficient idea? Pin
ldaneil28-Dec-12 8:36
ldaneil28-Dec-12 8:36 
GeneralRe: How to find the similarity between users in Twitter ? How to design a good and efficient idea? Pin
April Fans3-Jan-13 16:46
April Fans3-Jan-13 16:46 
AnswerRe: How to find the similarity between users in Twitter ? How to design a good and efficient idea? Pin
Marc Koutzarov29-Aug-14 23:54
professionalMarc Koutzarov29-Aug-14 23:54 
QuestionClient - Server approach Pin
bugal21-Dec-12 0:33
bugal21-Dec-12 0:33 
AnswerRe: Client - Server approach Pin
jschell22-Dec-12 14:11
jschell22-Dec-12 14:11 
QuestionHow do you design this ? Pin
Eytukan18-Dec-12 2:33
Eytukan18-Dec-12 2:33 
An object called MovableObject can move through different methods.
MoveByLegs, wheels & Wings. When we choose one method, i.e MoveByLegs and pass Legs arguments, the other two will be unused.


Should I design it like this:
C++
enum MoveType
{
MoveByLegs,
MoveByWheels,
MoveByWings
}

class MovableObject
{
List<leg> lstLegs;
List<Wheels> lstWheels;
List<Wing> lstWings;

MoveType m_Movetype;

EnableMovement(MoveType movetype_in, object obj_in)
{
m_Movetype = movetype_in;
switch (movetype_in)
{
case MoveByLegs:
lstLegs = List<Leg>(obj_in);
break;

case MoveByWheels:
lstWheels = List<Wheel>(obj_in);
break;

case MoveByWings:
lstWings = List<Wing>(obj_in);
break;
}

}

Move()
{
if(m_Movetype == MoveType.MoveByLegs)
{

//  Process lstLegs
}
similar case for MoveByWheels & Legs

}
}


Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

AnswerRe: How do you design this ? Pin
Pete O'Hanlon18-Dec-12 2:47
mvePete O'Hanlon18-Dec-12 2:47 
GeneralRe: How do you design this ? Pin
Eytukan18-Dec-12 2:54
Eytukan18-Dec-12 2:54 
GeneralRe: How do you design this ? Pin
Pete O'Hanlon18-Dec-12 3:02
mvePete O'Hanlon18-Dec-12 3:02 
GeneralRe: How do you design this ? Pin
Lampridis Vasilis30-Dec-12 0:04
Lampridis Vasilis30-Dec-12 0:04 
GeneralRe: How do you design this ? Pin
Eytukan30-Dec-12 18:00
Eytukan30-Dec-12 18:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.