TEH ULTIMATE AKATSUKI RPG!
Would you like to react to this message? Create an account in a few clicks or log in to continue.

TEH ULTIMATE AKATSUKI RPG!

making the world a better place, one jinchuuriki at a time ^^
 
GalleryHomePortalSearchLatest imagesRegisterLog in
Search
 
 

Display results as :
 
Rechercher Advanced Search
Latest topics
» last post :o?
NEED PROGRAMMING HELP Icon_minitimeWed Oct 19, 2022 5:47 pm by dbzmibbit7

» CHARACTER SHEET!
NEED PROGRAMMING HELP Icon_minitimeSat May 18, 2013 5:02 pm by Little_Tora

» AM I THE ONLY ONE
NEED PROGRAMMING HELP Icon_minitimeSat May 18, 2013 4:51 pm by Little_Tora

» HEWOO anyone out there
NEED PROGRAMMING HELP Icon_minitimeSat May 18, 2013 4:50 pm by Little_Tora

» MEOW MEOW MEOW Hello
NEED PROGRAMMING HELP Icon_minitimeSat May 18, 2013 4:50 pm by Little_Tora

» ID LIKE TO HEAR FROM A MEMBER
NEED PROGRAMMING HELP Icon_minitimeSat May 18, 2013 4:48 pm by Little_Tora

» awesome akatsuki pic i found-ed :P
NEED PROGRAMMING HELP Icon_minitimeFri May 10, 2013 4:44 pm by Little_Tora

» MORE RULES. POST OKAY ONCE YOUVE READ THEM.
NEED PROGRAMMING HELP Icon_minitimeFri May 10, 2013 4:42 pm by Little_Tora

» Risuke runs into Itachi :3
NEED PROGRAMMING HELP Icon_minitimeSat Oct 27, 2012 3:18 pm by Demonglass10112

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Forum
Poll
Top posters
Jack Atlas
NEED PROGRAMMING HELP Vote_lcapNEED PROGRAMMING HELP Voting_barNEED PROGRAMMING HELP Vote_rcap 
Shizuo Heiwajima
NEED PROGRAMMING HELP Vote_lcapNEED PROGRAMMING HELP Voting_barNEED PROGRAMMING HELP Vote_rcap 
Neku Sakuraba
NEED PROGRAMMING HELP Vote_lcapNEED PROGRAMMING HELP Voting_barNEED PROGRAMMING HELP Vote_rcap 
Julian_Hattori
NEED PROGRAMMING HELP Vote_lcapNEED PROGRAMMING HELP Voting_barNEED PROGRAMMING HELP Vote_rcap 
Izaya Orihara
NEED PROGRAMMING HELP Vote_lcapNEED PROGRAMMING HELP Voting_barNEED PROGRAMMING HELP Vote_rcap 
Black Mage Darkwizardton
NEED PROGRAMMING HELP Vote_lcapNEED PROGRAMMING HELP Voting_barNEED PROGRAMMING HELP Vote_rcap 
Melancholic
NEED PROGRAMMING HELP Vote_lcapNEED PROGRAMMING HELP Voting_barNEED PROGRAMMING HELP Vote_rcap 
oogie boogie man
NEED PROGRAMMING HELP Vote_lcapNEED PROGRAMMING HELP Voting_barNEED PROGRAMMING HELP Vote_rcap 
HiddenShadow33
NEED PROGRAMMING HELP Vote_lcapNEED PROGRAMMING HELP Voting_barNEED PROGRAMMING HELP Vote_rcap 
DancingFlames
NEED PROGRAMMING HELP Vote_lcapNEED PROGRAMMING HELP Voting_barNEED PROGRAMMING HELP Vote_rcap 
Gallery
NEED PROGRAMMING HELP Empty
Statistics
We have 80 registered users
The newest registered user is frejar

Our users have posted a total of 3229 messages in 157 subjects
Who is online?
In total there are 2 users online :: 0 Registered, 0 Hidden and 2 Guests

None

Most users ever online was 134 on Sun Apr 11, 2021 6:25 am

 

 NEED PROGRAMMING HELP

Go down 
AuthorMessage
bananapie62
Academy Student
bananapie62


Posts Posts : 3
PowerLevel PowerLevel : 14725

NEED PROGRAMMING HELP Empty
PostSubject: NEED PROGRAMMING HELP   NEED PROGRAMMING HELP Icon_minitimeMon Nov 22, 2010 4:38 am

hi i need some help with a project. the projects want me to use delegates to allow the user to enter words and display the words in a reverse order, how many words were entered, and the number of letters there were.

as u can see from the code i put at the bottom, all i need to do is have it display the number of letters but i dont know how do to that. i do not need you to give me the code it self but just give the the sintax to do it. just to tell you a little about the program, i used a stack to do eveything

plz only post real answers

NOTE: im useing VB.net

here is the program

Imports System
Imports System.Collections
Imports System.Delegate

Module Module1
Dim words As New Stack
Public Delegate Sub mydelegate()
Dim w As String
Public Sub Main()
Dim fns As mydelegate
fns = (AddressOf definingstack)
fns()
fns = (AddressOf revewstack)
fns()
End Sub

Public Sub definingstack()
Console.WriteLine("please enter a letter/word to put in the stack and enter a blank line to continue")
Console.WriteLine("to exit the loop, type in 'stop' and press enter (remember the keyword 'stop' will be included in the stack)")
Do Until w = "stop"
Try
w = Console.ReadLine()
words.Push(w)
Catch ex As StackOverflowException
Console.WriteLine("you put to many words in the stack, please start the program over and dont go over your word limit")
End Try
Loop
Console.WriteLine("press enter to move to the next part")
Console.ReadLine()
End Sub

Public Sub revewstack()
Console.WriteLine("the number of words in the stack is : " & words.Count)
While words.Count > 0
Console.WriteLine(words.Pop)
End While
Console.WriteLine("press enter to leave the program")
Console.ReadLine()
End Sub

End Module
Back to top Go down
bananapie62
Academy Student
bananapie62


Posts Posts : 3
PowerLevel PowerLevel : 14725

NEED PROGRAMMING HELP Empty
PostSubject: Re: NEED PROGRAMMING HELP   NEED PROGRAMMING HELP Icon_minitimeMon Nov 22, 2010 5:58 pm

nvm found out myself 83
Back to top Go down
 
NEED PROGRAMMING HELP
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
TEH ULTIMATE AKATSUKI RPG! :: Off Topic!-
Jump to: