User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Computer Science and Software Design section within the Software Development category of DaniWeb, a massive community of 392,080 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,040 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Computer Science and Software Design advertiser:
Views: 19945 | Replies: 67
Reply
Join Date: Aug 2004
Location: Hull, East Yorkshire
Posts: 45
Reputation: Pimp Daddy is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
Pimp Daddy's Avatar
Pimp Daddy Pimp Daddy is offline Offline
Light Poster

Re: What's the HARDEST program you've written?

  #41  
Aug 22nd, 2004
Interesting question. In terms of programming coursework at university there was a GUI program called Dress Shop which, using extended user defined classes stored specific information about each item of clothing and used a mixture of both public and private variables. It required full Javadoc which was an absolute nightmare to put together. Another piece of coursework which was an absolute nightmare was a console program based around singly linked lists. To advanced programmers it probably won't sound very hard but I found it so difficult to understand the concept. I understand most of it now but not all of it.

As for personal work there is Longhaul. This is an IDE I'm currently creating which can be used to type, compile, execute and debug Java code. I started typing it in Java but I needed to type so much code I eventually switched to C# and am now using Windows Forms. It's as tough as the pieces of uni coursework that I mentioned because I'm learning complex new concepts on the fly and there are so many different sections to the program. The main editor window is also by far the biggest code file I've ever created, which is not necessarily a good thing!
David Morris BSc(Hons), MBCS
Vice-President (Academic Representation) - Hull University Union
Life: Downloaded
An Educational Critique
My Lastfm page
Reply With Quote  
Join Date: Jul 2004
Location: Pakistan
Posts: 1,673
Reputation: nanosani is an unknown quantity at this point 
Rep Power: 8
Solved Threads: 50
Colleague
nanosani's Avatar
nanosani nanosani is offline Offline
Unauthenticated Liar

Re: What's the HARDEST program you've written?

  #42  
Aug 23rd, 2004
The hardest program I wrote was a compiler of C language ( not a full one, but it did have many features) ... and the only reason I did code that was that it was a compiler construction lab assignment ... LOL ...
Reply With Quote  
Join Date: Aug 2004
Location: United States
Posts: 44
Reputation: mister-fett is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
mister-fett's Avatar
mister-fett mister-fett is offline Offline
Light Poster

Re: What's the HARDEST program you've written?

  #43  
Aug 28th, 2004
Hardest program I ever wrote...
that would probably be the attached two dimensional two playered game,
written in G, which is NOT an object based language. It took me six hours of jury rigging to set it up, and then I had to tweak out all the bugs and add more weapons, which took an additional forty or so hours. :mrgreen:
Try it! (WARNING: FILE IS FROM 5-10 MB)
www.freewebs.com/netbt

(Edit: ARGH! Freewebs doesnt allow more than 750k uploads! $#%#@$$@#$%#%@(*^(%%^%$36546 :evil: :evil: :evil: )
Cheese. In fact, I rather dislike cheese.
Reply With Quote  
Join Date: Aug 2004
Location: Hanover
Posts: 152
Reputation: cosi is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 1
cosi's Avatar
cosi cosi is offline Offline
Junior Poster

Off topic: Rant Reply

  #44  
Sep 1st, 2004
Cool. Have you seen Eclipse? It's a Java IDE written in Java... well mostly Java. Why did you think that the Java required more code than C#? From my experience, they are roughly equivalent. The only code saving option for projects is finding similar open source projects's code to leverage. Though... the only problem with that is in the licensing of the code. I think Apple has had to reinvent the wheel for a number of open sourced projects (think RPM) because of incompatible licensing.

Originally Posted by Pimp Daddy
As for personal work there is Longhaul. This is an IDE I'm currently creating which can be used to type, compile, execute and debug Java code. I started typing it in Java but I needed to type so much code I eventually switched to C# and am now using Windows Forms. It's as tough as the pieces of uni coursework that I mentioned because I'm learning complex new concepts on the fly and there are so many different sections to the program. The main editor window is also by far the biggest code file I've ever created, which is not necessarily a good thing!
In a world without walls or fences,
What use are Windows and Gates.
Reply With Quote  
Join Date: Aug 2004
Posts: 76
Reputation: Mahen is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
Mahen Mahen is offline Offline
Junior Poster in Training

Re: What's the HARDEST program you've written?

  #45  
Sep 3rd, 2004
i would like the ASM code of the restart computer program
Reply With Quote  
Join Date: Aug 2004
Posts: 76
Reputation: Mahen is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
Mahen Mahen is offline Offline
Junior Poster in Training

Re: What's the HARDEST program you've written?

  #46  
Sep 3rd, 2004
i would like to have the code for the restart prg
Reply With Quote  
Join Date: Aug 2004
Posts: 5
Reputation: z80-2-Risc is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 1
z80-2-Risc's Avatar
z80-2-Risc z80-2-Risc is offline Offline
Newbie Poster

Re: What's the HARDEST program you've written?

  #47  
Oct 1st, 2004
Originally Posted by Mahen
i would like to have the code for the restart prg

Hi Mahen. It has been awhile since I visited - sorry for the wait. The old real-mode DOS interrupt to restart is int 19h:
Run DEBUG from a DOS box, type a (for enter assembly), and enter "int 19".
Press enter again to get out of coding mode and type "d 100"
The dump will give you "CD 19" in the first two bytes. Now the tricky part:

debug has a w (write) instruction that can write to any unprotected disk space. You need to adjust a couple of registers before writing:
enter "n reboot.com"
-- that sets a file name for you
enter "rcx"
-- that displays the cx value (forget that you are on a 32-bit system)
enter "2"
-- that puts a 2 in cx (write size)
enter "w"
-- that [shudder] writes from your current ds:100
Enter "q"
-- that gets you out of that deadly program

There you have it. A 2-byte program that uses real-mode DOS ints.
Reply With Quote  
Join Date: Sep 2004
Posts: 6,022
Reputation: Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of 
Rep Power: 26
Solved Threads: 414
Super Moderator
Narue's Avatar
Narue Narue is offline Offline
Expert Meanie

Re: What's the HARDEST program you've written?

  #48  
Oct 2nd, 2004
>What's the HARDEST program you've written?
Operating system. Well, technically I didn't write it, but I did patch it into behaving and that consisted of replacing about 90% of the code.
Member of: Beautiful Code Club.
Reply With Quote  
Join Date: Nov 2004
Location: Netherlands
Posts: 5,646
Reputation: jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough 
Rep Power: 18
Solved Threads: 191
Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: What's the HARDEST program you've written?

  #49  
Nov 11th, 2004
tricky...

Once wrote a complete middleware system to link store terminals (running some fancy software we would not be writing) with a Cobol backend we maintained.
Didn't write it alone of course, was part of a team of 3.
During internal beta testing (using a dummy frontend to generate the messages from textfiles) the customer decided they didn't want the product and the subproject was scrapped. But it did work.

Or the most tricky app I wrote that actually made it to production was a C program written under OS/2 to swap the assignments of the mouse buttons.
For security reasons the customer didn't want their users to access the existing control panel applet. Added complexity was that the settings would have to be stored on the network and applied whenever the user logged on to any machine in the network.
Sounds simple (that's what I thought too when I started), until you find out that the calls required are not part of the published API for the operating system.
In the end I spent about 3 days writing the program (most of it on the network code) and 3 weeks trying to figure out what calls to use and what the heck those parameters meant by using a kernel debugger from a remote terminal and hacking into the operating system code for OS/2 on a running machine.
Start debugger, launch applet, change setting, and see what calls are generated...
Reply With Quote  
Join Date: Jun 2004
Location: Worcester, Massachusetts
Posts: 180
Reputation: Toba is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 3
Toba's Avatar
Toba Toba is offline Offline
Junior Poster

Re: What's the HARDEST program you've written?

  #50  
Nov 11th, 2004
Originally Posted by jwenting
tricky...

Once wrote a complete middleware system to link store terminals (running some fancy software we would not be writing) with a Cobol backend we maintained.
Didn't write it alone of course, was part of a team of 3.
During internal beta testing (using a dummy frontend to generate the messages from textfiles) the customer decided they didn't want the product and the subproject was scrapped. But it did work.

Or the most tricky app I wrote that actually made it to production was a C program written under OS/2 to swap the assignments of the mouse buttons.
For security reasons the customer didn't want their users to access the existing control panel applet. Added complexity was that the settings would have to be stored on the network and applied whenever the user logged on to any machine in the network.
Sounds simple (that's what I thought too when I started), until you find out that the calls required are not part of the published API for the operating system.
In the end I spent about 3 days writing the program (most of it on the network code) and 3 weeks trying to figure out what calls to use and what the heck those parameters meant by using a kernel debugger from a remote terminal and hacking into the operating system code for OS/2 on a running machine.
Start debugger, launch applet, change setting, and see what calls are generated...

Wow. Just wow.
what? WHAT?
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Computer Science and Software Design Marketplace
Thread Tools Display Modes

Other Threads in the Computer Science and Software Design Forum

All times are GMT -4. The time now is 12:18 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC