|
Hi, the following excerpt from http://www.bbsinc.com/iso8859.html[^]
illustrates the possible confusion.
Special Characters and Numbers
Description Char Hex Character Entity
Reference Name
(Dec)
space 20 --> &sp; --> &sp;
exclamation mark ! 21 ! --> ! ! --> !
(double) quotation mark " 22 " --> " " --> "
number sign # 23 # --> # # --> #
dollar sign $ 24 $ --> $ $ --> $
percent sign % 25 % --> % % --> %
ampersand & 26 & --> & & --> &
apostrophe, ' 27 ' --> ' ' --> '
single quote mark
Now does "quote" sound more like "(double) quotation mark" or "single quote mark" ?
|
|
|
|
|
|
|
hi,
iam seetha,i need your suggestions for displaying video files using asp.net.My question is how to retrevie an video file from sql database and play the video file using windows media player using asp.net2.0
i hope i get the best suggestions from experts.....
i will be thankfull for every one who supports me...
Seetha......
hi
|
|
|
|
|
ASP.NET really has nothing to do with it, b/c it offers no video player control or framework. YOu need to render the HTML to embed Windows Media Player in your page. I'm not sure if it's possible to stream the video, or if you need to store it in a location you can point IE to.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I want your help in my project(Hanoi Tower2)....
Towers of Hanoi
The ancient folklore behind the “Towers of Hanoi” puzzle is quite well known. A more recent legend tells us that once the Brahmin monks discovered how long it would take to finish transferring the 64 discs from the needle which they were on to one of the other needles, they decided to find a faster strategy and be done with it.
One of the priests at the temple informed his colleagues that they could achieve the transfer in single afternoon at a one disc-per-second rhythm by using an additional needle. He proposed the following strategy:
• First move the topmost discs (say the top k discs) to one of the spare needles.
• Then use the standard three needles strategy to move the remaining n − k discs (for a general case with n discs) to their destination.
• Finally, move the top k discs into their final destination using the four needles.
He calculated the value of k which minimized the number of movements and found that 18,433 transfers would suffice. Thus they could spend just 5 hours, 7 minutes, and 13 seconds with this scheme versus over 500, 000 million years without the additional needle!
Try to follow the clever priest’s strategy and calculate the number of transfers using four needles, where the priest can move only one disc at a time and must place each disc on a needle such that there is no smaller disc below it. Calculate the k that minimizes the number of transfers under this strategy.
Input
The input file contains several lines of input. Each line contains a single integer 0 ≤ N ≤ 10, 000 giving the number of disks to be transferred. Input is terminated by end of file.
Output
For each line of input produce one line of output which indicates the number of movements required to transfer the N disks to the final needle.
Sample Input
1
2
28
64
Sample Output
1
3
769
18433
can u help me....
|
|
|
|
|
Gee - here's a piece of homework we've never seen posted before.
You've posted the description of hte towers of hanoi. You seem not to be asking for help, but a solution. You need to do your own homework. When you have code that doesn't quite work, feel free to post it and ask specific questions. Until then, the best help we can give you, is encourage you that the purpose of your homework is for you to learn, not for you to get the answer from the web.
But, I'd be happy to write it for you, for $200 an hour. That's the sort of contracting rate you will never attract in your life, if you don't do your own homework.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christian Graus wrote: Gee - here's a piece of homework we've never seen posted before
Christian Graus wrote: write it for you, for $200 an hour
Is that all? I charge $500/hr and include a complimentary email to the teacher :->
|
|
|
|
|
Paul Conrad wrote: Is that all?
He's a student, that's my student discount :P
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christian Graus wrote: that's my student discount;P
Wow, I guess I'm not that lenient :->
|
|
|
|
|
The dude's profile:
Messages Posted 1 - Poster
Articles Submitted 0 - Browser
Dont you guys think it's about time to put an end to these homework posters??
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
iam sorry i understand the rules now.
iam very sorry.
|
|
|
|
|
hazem! this is your professor from teh university.
whent i heard of your posted homoworks on the cpian websites i had a doubt it could be true. then i am seeing it before mine own eyejob and i must not have a blow doubt about it@!
i told must students of sensual nature never to post, no, on the homoCpians websites! becauze you do this horrible thing i must give you the utter cursings of shiva brama and krisna and blue man group. vile humo shiva bar kuntso!
p.s. plus blackened grade. and no more sensual acts with student at the university.
Sincelery yours, Computer Information conSciences Professor and grader, Sharada Ulhas
|
|
|
|
|
iam so sorry i understand the rules now.....
iam so sorry....
|
|
|
|
|
Hi,
I can confirm 18,433 transfers is correct minimum for 64 discs.
You can solve all such problems with a little program (below 50 lines of code).
|
|
|
|
|
How can I limit the login failed attempts to my website, I'm using Forms-Based Authentication and I have a database keeping the user names and passwords....
Ambar Violeta
|
|
|
|
|
Have a column called Flag along with userName and passWord.
Whenever the user enters a wrong password, increment the Flag by one
and check if this value exceeds a threshold.If it exceeds, never permit to login.
Make sure to reset it to ZERO when the user enters right password.
Regards,
Arun Kumar.A
|
|
|
|
|
You also might want to have a timer to reset the login, or some other method to reset the users password, so the user isn't permanently locked out.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
hi
i'm using VC# 2005, i want to design my report and change paper Size for print, can anybody help me (by code)?
thanks
|
|
|
|
|
- I use this code to set tomorrow date to DateTimePicker. In Design mode, it display correct, but when i run, it still display today date. I need help, thanks.
[code]
this.dtpCheckOut.Value = System.DateTime.Today.AddDays(1);
[/code]
|
|
|
|
|
I would guess that the page load you might not be setting the value. Where is the code above in your application?
Ben
|
|
|
|
|
@kubben: i don't know why, but when i restart .NET, everything is work well, thanks your reply
|
|
|
|
|
i have developed an application with .net 2005 and made a deploy package
to install application at end users
the problem is i need to install the package on each end user machine
i need away to make the debug folder on server and each user connect to this folder .iam tryed to make shortcut on each machine to connect on server it failed so i need help for destribute the application with less work effort
thanks in advance
Mano
|
|
|
|
|
Typically deploying a distributed app causes a client application to be installed locally on each user's machine. The client programmatically connects to the server application. If you want to install a shortcut that simply points to an app on the server, you can use a UNC path in the shortcut's target.
\\server\share\directory\filename.exe /ravi
|
|
|
|
|
how i set computer clock time?
thanks.
|
|
|
|