GIDForums  

Go Back   GIDForums > Computer Programming Forums > C++ Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 15-Jun-2004, 23:14
gaurav_sting gaurav_sting is offline
Invalid Email Address
 
Join Date: Jun 2004
Posts: 2
gaurav_sting is on a distinguished road

very difficult code - program


hi everyone,

i am facing a sitution, in developing an employee system. plz help me coding following problem, i have not been able to write a suitable code for it.

An employee fills in a leave request, a record is created for the request. This request doc goes to his supervisor for approval. In case he does not reply within say 5 "working days", then his case is escalated to someone higher in the org. hierarchy. So we need to calculate the escalation period automatically, and send mails as and when appropriate.

Then the system picks up all the unapproved requests, calculates the time elapsed (ie time since no action has been taken on the request), ...
.and if its elapsed 5 "working days", it writes some text (say pending request) to a file. Now these working days can be Mon-Fri or Mon-Sat.


this is the situation i am facing, but i am unable to code it properly,
plz help me with a suitable code.
  #2  
Old 16-Jun-2004, 00:59
aaroncohn's Avatar
aaroncohn aaroncohn is offline
Regular Member
 
Join Date: Feb 2004
Location: Bay Area, CA.
Posts: 564
aaroncohn is a jewel in the roughaaroncohn is a jewel in the roughaaroncohn is a jewel in the rough
Where are you running into a problem? Have you even tried writing it? What level of experience do you have? You've got to give us something other than the description of your problem... sorry, but we've all got stuff to do as well, and while we're all perfectly willing to help you out, I don't think anyone is going to do it for you. This sounds like a weighty task, and it doesn't sound like you've attempted to plan it out at all, which is the first step in programming and solving problems. And so, instead of thinking about how you're going to solve this problem with code, I think you should try to solve this problem using logic. Work out a step-by-step plan to execute the task, then code it.
__________________
-Aaron
 
 

Recent GIDBlogMeeting the local Iraqis by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Formatting C / C++ code WaltP C Programming Language 1 06-Jan-2008 23:59
[Tutorial] GUI programming with FLTK dsmith FLTK Forum 10 03-Oct-2005 15:41
Need help with a C program (Long) McFury C Programming Language 3 29-Apr-2004 20:06
Speed up C++ code about 3d array! Truong Son C++ Forum 0 16-Mar-2004 21:52

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 05:28.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.