Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Having a hard time today String[i]->char

 
Anthony Smith
Ranch Hand
Posts: 285
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I cant my java book, and I only find something on the web....

I dont understand why that does not work

[This message has been edited by Cindy Glass (edited December 14, 2001).]
 
parul patidar
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank u cindy for editing and telling me the error

[This message has been edited by parul patidar (edited December 18, 2001).]
 
parul patidar
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i dont know why full
for(int i=0; i<pwd.length();i++)>
line is not appearing
perhapes i dont know how to post a reply
Originally posted by parul patidar:
[B]that doesnt work because i think u r a good c c++ programmer
i think following should work


[This message has been edited by parul patidar (edited December 12, 2001).]
[This message has been edited by parul patidar (edited December 12, 2001).]
[This message has been edited by parul patidar (edited December 12, 2001).][/B]

 
parul patidar
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by parul patidar:
[B]ok one more try
perhapes "<p" makes ">
"
tag to start that is y full code was not appearing




[/B]

 
William Barnes
Ranch Hand
Posts: 1007
Eclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think your problem is "!=". The for loop is not running because the conditional is failing. Try this instead:
 
Poop goes in a willow feeder. Wipe with this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!