Visit the Ironworks Gaming Website Email the Webmaster Graphics Library Rules and Regulations Help Support Ironworks Forum with a Donation to Keep us Online - We rely totally on Donations from members Donation goal Meter

Ironworks Gaming Radio

Ironworks Gaming Forum

Go Back   Ironworks Gaming Forum > Ironworks Gaming Forums > General Discussion > General Conversation Archives (11/2000 - 01/2005)
FAQ Calendar Arcade Today's Posts Search

 
 
Thread Tools Search this Thread
Old 10-24-2001, 09:57 AM   #1
Mirac Honorguard
Red Wizard of Thay
 

Join Date: August 21, 2001
Location: Limburg, Netherlands, Europe
Age: 42
Posts: 894
I need help on my programming assignment. We must program with Turbo Pascal 5.0 and I have to design a program that reads in 1 character that has to be searched, then I have to read a list of small letter letters, the list will be ended by the capital A , there has to be at least one entry in the list. After this is done I have to search the character in the list and have to show the user where it first stands in the list of small letters, how many times the character is in the list of small letters, which of the small letters is the biggest in the list and where it first appears, which of the small letters is the smallest in the list and where it first appears. I have to check if every input is right defined by the user (so if the small letters ARE small letters ect. )

I would be extremely thankfull if any of you guys could help me out!

Thanks in advance, Mirac

------------------

Lady Menqel, Protector of IW's, smiter of evil

http://www.angelfire.com/rpg2/mirac
- Dualled Swashbuckler/Fighter
- Fellow Table Dancer of the Jerome's Table dancer group
- Spell formulater of the IW peace-keeping force
- Thanks to Sazerac for the great sig picture
Mirac Honorguard is offline  
Old 10-24-2001, 10:01 AM   #2
Moiraine
Anubis
 

Join Date: March 1, 2001
Location: Up in the Freedomland Alps
Age: 59
Posts: 2,474
I'm a bit rusty in Pascal, much better skilled in C/C++, however, if you can send me the exact subject, I believe I can help. I've 10 years of intensive programming behind me.

Mail it to me. When is it due ?

------------------


The world is my oyster !

[This message has been edited by Moiraine (edited 10-24-2001).]
Moiraine is offline  
Old 10-24-2001, 11:22 AM   #3
Mirac Honorguard
Red Wizard of Thay
 

Join Date: August 21, 2001
Location: Limburg, Netherlands, Europe
Age: 42
Posts: 894
Quote:
Originally posted by Moiraine:
I'm a bit rusty in Pascal, much better skilled in C/C++, however, if you can send me the exact subject, I believe I can help. I've 10 years of intensive programming behind me.

Mail it to me. When is it due ?


Tomorrow before 12:30 Central European Time........


------------------

Lady Menqel, Protector of IW's, smiter of evil

http://www.angelfire.com/rpg2/mirac
- Dualled Swashbuckler/Fighter
- Fellow Table Dancer of the Jerome's Table dancer group
- Spell formulater of the IW peace-keeping force
- Thanks to Sazerac for the great sig picture
Mirac Honorguard is offline  
Old 10-24-2001, 11:25 AM   #4
Moiraine
Anubis
 

Join Date: March 1, 2001
Location: Up in the Freedomland Alps
Age: 59
Posts: 2,474
Quote:
Originally posted by Mirac Honorguard:

Tomorrow before 12:30 Central European Time........


Uh, that's short notice ... Since I have a very busy day tomorrow (training people) starting real early (6 AM), I'm afraid it's too short notice for me ...

Uh, I'll be happy to help next time, but please ask sooner !


------------------


The world is my oyster !
Moiraine is offline  
Old 10-24-2001, 11:31 AM   #5
Mirac Honorguard
Red Wizard of Thay
 

Join Date: August 21, 2001
Location: Limburg, Netherlands, Europe
Age: 42
Posts: 894
Thanks, I'll post it sooner next time, it's my own damn fault...
Well, I'll probably wouldn't make it on this subject anyway (I don't need to make it anyway )
Thanks for the offer Moraine

------------------

Lady Menqel, Protector of IW's, smiter of evil

http://www.angelfire.com/rpg2/mirac
- Dualled Swashbuckler/Fighter
- Fellow Table Dancer of the Jerome's Table dancer group
- Spell formulater of the IW peace-keeping force
- Thanks to Sazerac for the great sig picture
Mirac Honorguard is offline  
Old 10-27-2001, 08:55 AM   #6
Mirac Honorguard
Red Wizard of Thay
 

Join Date: August 21, 2001
Location: Limburg, Netherlands, Europe
Age: 42
Posts: 894
Moraine, I like to use your offer. The assignment has been delayed too thursday 1 november. Would you please help me, I can email you the right description and so, but only if you're willing and have the time for it.

Thanks in advance, Mirac

------------------

Lady Menqel, Protector of IW's, smiter of evil

http://www.angelfire.com/rpg2/mirac
- Dualled Swashbuckler/Fighter
- Fellow Table Dancer of the Jerome's Table dancer group
- Spell formulater of the IW peace-keeping force
- Thanks to Sazerac for the great sig picture
Mirac Honorguard is offline  
Old 10-27-2001, 12:02 PM   #7
Mirac Honorguard
Red Wizard of Thay
 

Join Date: August 21, 2001
Location: Limburg, Netherlands, Europe
Age: 42
Posts: 894
*bumping for Moraine*
Mirac Honorguard is offline  
Old 10-27-2001, 12:44 PM   #8
Xanthul
Symbol of Cyric
 

Join Date: March 1, 2001
Location: Outside my place
Age: 42
Posts: 1,283
You can email me to javiferrer15@hotmail.com, i scored 10/10 in Turbo Pascal last year , i think i remember enough to do that. Email me the exact subject and ill try to do it tomorrow (right now im preparing to go out, Saturday night ).

------------------
"Captive, captive... captive in heaven" -Ertai, Captive of the Blinding Angel
Xanthul is offline  
Old 10-27-2001, 02:32 PM   #9
Dreamer128
Dracolisk
 

Join Date: March 21, 2001
Location: Europe
Age: 39
Posts: 6,136
LOL, next time i have a school assigment ill just post it here
You guys really rock for offering your help to him, im very impressed.


------------------


Those who watch their backs meet death from the front- Dreamer128 Demonslayer of the OHF.

Paladin of the order, first bodyguard of Lady Lioness and defender of Castle Kerhelm
Dreamer128 is offline  
Old 10-27-2001, 02:56 PM   #10
Lord Shield
Guest
 

Posts: n/a
My Pascal is over a decade old but have some pseudo-code:

this will sort out the input letter queries:

inp_char = 1st parameter
search_String = 2nd parameter (string of letters)

wl_inp_pos = 0
wl_inp_count = 0

for a% = 1 to length(search_string)
if seg$(search_string,a%,1) = inp_char then
if wl_inp_count = 0% then
wl_inp_pos = position(this_char) !!position of first char found
end if
wl_inp_count = wl_inp_count + 1 !!counter for no. of times found
end if
next a%


hope this helps

This is the 3GL solution anyway


------------------
Lord Raptor's Site


Ironworks Dark General
BG2 Tavern Keeper
King of Pointlessness

[This message has been edited by Lord Shield (edited 10-27-2001).]
 
 


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

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
C++ programming/coding/editing SilentThief General Conversation Archives (11/2000 - 01/2005) 4 01-24-2005 02:24 PM
The Future of Programming -- ROFL! VulcanRider General Conversation Archives (11/2000 - 01/2005) 2 07-31-2003 07:28 PM
Programming... SirTristram General Conversation Archives (11/2000 - 01/2005) 13 11-22-2002 07:11 PM
Programming T/-/alali General Conversation Archives (11/2000 - 01/2005) 4 09-12-2002 04:05 PM
Malicious programming! Sir Kenyth General Conversation Archives (11/2000 - 01/2005) 8 07-04-2002 12:40 AM


All times are GMT -4. The time now is 12:51 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
©2024 Ironworks Gaming & ©2024 The Great Escape Studios TM - All Rights Reserved