Author Topic: Part #3 ..last of help for programming.  (Read 4045 times)

Offline [N]auTiCa

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
    • Extreme Online Gaming
  • Rated:
Part #3 ..last of help for programming.
« on: April 24, 2007, 10:33:11 PM »
OK.. heres the last installment and I have two days to crank this one out! Looks like I won't be sleeping much the next two days considering I work 8hrs a day.

description of whats needed
Code: [Select]
I am to add a viewer for notes.
Implement an overview dialog for the current notes in the system just how the Recycle Bin window/menu is.
The preview dialog is to display entries associated with all currently present notes in the system, displayed, minimized and so on
but don't add a deleted feature, thats for the recycle bin. When clicking on an entry from the preview dialog, the focus should
be redirected to the actual note in the system. If a note is minimized it should be restored

so far I'm looking at just copying the recycle bin class and modifying it?
quadz.. do you know if I have to create a new header file for this?

p.s. did u get my PM earlier?

p.s.s i have another part to add to this later..
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
Clan ^K][L^  co-leader! www.clankil.com
dC member! www.monsterkill.org

Offline console

  • Brobdingnagian Member
  • ***
  • Posts: 4518
  • "Man, this is the way to travel," said my attorney
    • View Profile
    • tastyspleen.net
  • Rated:
Re: Part #3 ..last of help for programming.
« Reply #1 on: April 24, 2007, 11:32:58 PM »
Code: [Select]
I am to add a viewer for notes.
Implement an overview dialog for the current notes in the system just how the Recycle Bin window/menu is.
The preview dialog is to display entries associated with all currently present notes in the system, displayed, minimized and so on
but don't add a deleted feature, thats for the recycle bin. When clicking on an entry from the preview dialog, the focus should
be redirected to the actual note in the system. If a note is minimized it should be restored

so far I'm looking at just copying the recycle bin class and modifying it?
quadz.. do you know if I have to create a new header file for this?

p.s. did u get my PM earlier?

Hi,

Yes; I did get your PM.

Good luck!

:evilgrin:


Regards,

quadz


P.S. If you're going to copy the recycle bin class into its own .cpp file, then, yes, you should also make a corresponding new .h file.
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline console

  • Brobdingnagian Member
  • ***
  • Posts: 4518
  • "Man, this is the way to travel," said my attorney
    • View Profile
    • tastyspleen.net
  • Rated:
Re: Part #3 ..last of help for programming.
« Reply #2 on: April 25, 2007, 12:40:48 PM »
How's it going?  Have you made any progress?
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline console

  • Brobdingnagian Member
  • ***
  • Posts: 4518
  • "Man, this is the way to travel," said my attorney
    • View Profile
    • tastyspleen.net
  • Rated:
Re: Part #3 ..last of help for programming.
« Reply #3 on: April 25, 2007, 07:36:14 PM »
You're not waiting till the night before it's due, are ya????

 :ubershock:

  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline [N]auTiCa

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
    • Extreme Online Gaming
  • Rated:
Re: Part #3 ..last of help for programming.
« Reply #4 on: April 25, 2007, 08:42:27 PM »
I'm trying not to.. but I have a 7 page paper to write which is almost done, on page 6.. and was at work all day today, so I'm spending tonight and the majority of tomorrow night on it. Theres no way I'm going to finish all this.. dammit! I'll be starting on it in the next half hour  :frustration:
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
Clan ^K][L^  co-leader! www.clankil.com
dC member! www.monsterkill.org

Offline [N]auTiCa

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
    • Extreme Online Gaming
  • Rated:
Re: Part #3 ..last of help for programming.
« Reply #5 on: April 25, 2007, 09:11:48 PM »
Well here is the second part of what I have to do.

Code: [Select]
Reverse engineer the static design the program. You will need to construct the UML class diagram for the
program software system, using the source and documentation alone. The Class diagram is a type of UML
diagrams that describe the static structure of a system.

NOTES
You can use any software to construct the class diagram.
However, you must indicate what software you are using and what part of
the diagram was done using this system.

Recommend using Visio.

quadz.. what do you make of that ^ ..cuz it's all gibberish to me  :uhoh:
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
Clan ^K][L^  co-leader! www.clankil.com
dC member! www.monsterkill.org

Offline [N]auTiCa

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
    • Extreme Online Gaming
  • Rated:
Re: Part #3 ..last of help for programming.
« Reply #6 on: April 25, 2007, 09:58:51 PM »
Alright, having trouble finding out how to get the extra item to display in the menu item when right clicking the app.

So far, I've looked at DlgLanguage.cpp and SystemTray.cpp and added the following items, then I get the error "to many initializers"

Code: [Select]
to DlgLanguage.cpp added the following line

_T("Notes Viewer"), // 11



to SystemTray.cpp added the following line

menu.SetMenuText (ID_TRAYMAIN_NOTESVIEWER, CTranslate::ReadString (18, "Notes Viewer"), MF_STRING);

I've noticed throughout the code that there are references made to numbers which i'm assuming have to do with how many and what menu items are to be displayed when right clicking the app when running.

So far, no luck.. still trying.
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
Clan ^K][L^  co-leader! www.clankil.com
dC member! www.monsterkill.org

Offline console

  • Brobdingnagian Member
  • ***
  • Posts: 4518
  • "Man, this is the way to travel," said my attorney
    • View Profile
    • tastyspleen.net
  • Rated:
Re: Part #3 ..last of help for programming.
« Reply #7 on: April 25, 2007, 10:15:56 PM »
Code: [Select]
Reverse engineer the static design the program. You will need to construct the UML class diagram for the
program software system, using the source and documentation alone. The Class diagram is a type of UML
diagrams that describe the static structure of a system.

NOTES
You can use any software to construct the class diagram.
However, you must indicate what software you are using and what part of
the diagram was done using this system.

Recommend using Visio.

Yuck.  :mrdead:

Up till now I was impressed with the assignments you were being given in this class.

UML is like flow-charting for the 1990's.  ;)

Actually, UML class diagrams are fun to look at.  But I wouldn't want to have to generate one by hand.  Might want to look into a tool to analyze the code and generate the UML model for you.

There are some open source tools on this page: http://plg.uwaterloo.ca/~migod/uml.html

Looks like the only free modeler there that will reverse engineer C++ -> UML requires Linux.

There are commercial tools on that page though that work on Windows.

Maybe you could use UMLStudio. http://www.pragsoft.com/  It says you can download it and run it in "freeware mode", where it is fully functional but you can't save.  That might be OK for you, 'cause maybe you could just take a screenshot. :)

BTW, if you want to get a feel for what these diagrams look like, just do a Google image search for:
"UML class diagram".


Regards,

quadz

« Last Edit: April 25, 2007, 10:18:35 PM by console »
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline [N]auTiCa

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
    • Extreme Online Gaming
  • Rated:
Re: Part #3 ..last of help for programming.
« Reply #8 on: April 25, 2007, 10:31:08 PM »
thanx quadz, I've been looking through some diagrams to get the feel for it, but for now I want to finish the first part I posted about and worry about the UML later.. thats just an additional assignment to improve my grade from doing poorly on the second part  :(

btw.. this UML Studio looks good (it looks good, although I have no idea what any of this stuff does lol)

p.s. I'm also trying this program - Visual Paradigm http://www.visual-paradigm.com/VPGallery/codeengine/CodeReverse.html
« Last Edit: April 25, 2007, 10:40:00 PM by [N]auTiCa^K][L^ »
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
Clan ^K][L^  co-leader! www.clankil.com
dC member! www.monsterkill.org

Offline [N]auTiCa

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
    • Extreme Online Gaming
  • Rated:
Re: Part #3 ..last of help for programming.
« Reply #9 on: April 26, 2007, 05:48:40 PM »
Alright, I've completed reverse engineering the program, I used Visual Paradigm. I also tried UML Studio, but VP had more features and it's a 30 day trial, which works perfectly fine. I've exported the UML diagram images and specified whats what.. so now it's time to move on to the real part and thats creating the viewer dialog box.
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
Clan ^K][L^  co-leader! www.clankil.com
dC member! www.monsterkill.org

Offline [N]auTiCa

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
    • Extreme Online Gaming
  • Rated:
Re: Part #3 ..last of help for programming.
« Reply #10 on: April 27, 2007, 12:24:39 AM »
OK.. all done with the assignment. Basically what I did was copy the RecycleBin.cpp file and modify it so that all it does is display the proper notes without some of the features the actual recyclebin file has, also with the appropriate header file as well as dialog box.

I dunno what happen to you tonight console.. but I guess I pulled through without having to ask for so much help  ;)

Thanks for your previous help though, I really appreciated it.. now time to study for finals until tomorrow (no sleep tonight).
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
Clan ^K][L^  co-leader! www.clankil.com
dC member! www.monsterkill.org

Offline console

  • Brobdingnagian Member
  • ***
  • Posts: 4518
  • "Man, this is the way to travel," said my attorney
    • View Profile
    • tastyspleen.net
  • Rated:
Re: Part #3 ..last of help for programming.
« Reply #11 on: April 27, 2007, 12:51:50 AM »
Congrats, glad you finished it!

I dunno what happen to you tonight console.. but I guess I pulled through without having to ask for so much help  ;)

I was here.  I didn't see you ask any questions. :)


Regards,

quadz

  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

 

El Box de Shoutamente

Last 10 Shouts:

Costigan_Q2

November 11, 2024, 06:41:06 AM
"Stay cozy folks.

Everything is gonna be fine."

There'll be no excuses for having TDS after January 20th, there'll be no excuses AT ALL!!!
 

|iR|Focalor

November 06, 2024, 03:28:50 AM
 

RailWolf

November 05, 2024, 03:13:44 PM
Nice :)

Tom Servo

November 04, 2024, 05:05:24 PM
The Joe Rogan Experience episode 223 that dropped a couple hours ago with Musk, they're talking about Quake lol.

Costigan_Q2

November 04, 2024, 03:37:55 PM
Stay cozy folks.

Everything is gonna be fine.
 

|iR|Focalor

October 31, 2024, 08:56:37 PM

Costigan_Q2

October 17, 2024, 06:31:53 PM
Not activated your account yet?

Activate it now! join in the fun!

Tom Servo

October 11, 2024, 03:35:36 PM
HAHAHAHAHAHA
 

|iR|Focalor

October 10, 2024, 12:19:41 PM
I don't worship the devil. Jesus is Lord, friend. He died for your sins. He will forgive you if you just ask.
 

rikwad

October 09, 2024, 07:57:21 PM
Sorry, I couldn't resist my inner asshole.

Show 50 latest
Welcome, Guest. Please login or register.
November 24, 2024, 10:32:22 AM

Login with username, password and session length