Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
50% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
2 Commented Posts
0 Endorsements
Ranked #2K
~3K People Reached
Favorite Forums

13 Posted Topics

Member Avatar for turbomen

[QUOTE=turbomen;1139965]Dear All, Could you tell me what is wrong or missing for my coding? Cheers, ...[/QUOTE] Is there a specific problem that you are running into? The code works just fine with Lazarus and Delphi both.

Member Avatar for finalist
0
185
Member Avatar for Zoxx98

Firstly, I would like to thank you for demarcating your loop and logic structures. Legacy and maintenance programmers will appreciate that effort. The actual documentation that is provided within the code is very light. You will hear will hear as many viewpoints on this as there are people who program …

Member Avatar for BestJewSinceJC
0
184
Member Avatar for intes77

[QUOTE=intes77;1140702]... i really know nothing about boolean arrays.[/QUOTE] Thanks for editing your original post :) Having the CODE tags makes it easier to read and follow. Nobody will code your homework for you, but you will get hints! Here is your hint: 26 letters in the alphabet 52 possibilities (Upper …

Member Avatar for BestJewSinceJC
0
178
Member Avatar for supersoup

In addition to Jamesonh20's suggestion, you should wrap the input routine in a while loop. The while loop would exit once you have retrieved a correct value from the user.

Member Avatar for BestJewSinceJC
0
117
Member Avatar for gerhardjl

[QUOTE=gerhardjl;1138050]Hi All, I wish to source a Std Serial Comms Component, hopefully freeware, for Delphi 6 or 7 Can someone pass a link or email me? [email]telkomgjl@telkomsa.net[/email] Thanks! Gerhard[/QUOTE] [url]http://tpapro.sourceforge.net/[/url]

Member Avatar for PatrickSharp
0
66
Member Avatar for collinsislee

[QUOTE=collinsislee;1138905]i missed lecture today and this is what they did in class. im not sure how to complete this. hope you all can help me out.[/QUOTE] My guess is that you missed the lecture because you were held over in Engrish? This is your assignment: Complete the Clock class. You …

Member Avatar for BestJewSinceJC
0
255
Member Avatar for beiko

Have a go at this website: [url]http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html[/url] There are other packages, such as Joda-Time that have a multitude of date handling things.

Member Avatar for PatrickSharp
0
112
Member Avatar for houlahan

[QUOTE]... [CODE] public Object readPersons() throws IOException { Patient patient = null; try { ObjectInputStream in = new ObjectInputStream(new FileInputStream("PatientData.data")); for (int i = 0; i < 200; i++) { patient = (Patient) in.readObject(); } in.close(); } catch (ClassNotFoundException ex) { Logger.getLogger(TestData.class.getName()).log(Level.SEVERE, null, ex); } catch (EOFException eof) { } …

Member Avatar for houlahan
0
96
Member Avatar for NinjaLink

> do i need to do s.pop() inside of the while loop and then print outside of it? It appears to work. Prints out the first 10 characters of the file test.txt I did have to change the stack class by removing the public declaration. Here is the contents on …

Member Avatar for BestJewSinceJC
0
748
Member Avatar for rsaska

[QUOTE=rsaska;1134934]Hello, I am studying for SCJP 6 Exam, and came across this question which shows code as asks for the output [CODE] 9. switch(x) { 10. case 8: s += "8 "; 11. case 9: s += "9 "; 12. case 10: { s+= "10 "; break; } 13. default: …

Member Avatar for rsaska
0
225
Member Avatar for solomon_13000

[QUOTE=solomon_13000;1134614]Why is it that when I invoke the Derived constructor from the main method, I get a compilation error pointing to the Derived constructor of the Derived class. I never called the Base constructor of the Base class. Therefore why is the error happening?. [CODE] class Base { private Base() …

Member Avatar for PatrickSharp
0
129
Member Avatar for Clawsy

Ah, if only a nickle I had for each urgent problem needing to be solved fast... [code] /** imports */ import java.net.URLDecoder; import java.net.URLEncoder; // ... String addr = "http://www.blah.blah/image with spaces.gif"; String junk = URLEncoder.encode(addr,"UTF-8"); System.out.println(junk); junk = URLDecoder.decode(addr,"UTF-8"); System.out.println(junk); [/code] Your output is: [icode] http%3A%2F%2Fwww.blah.blah%2Fimage+with+spaces.gif [url]http://www.blah.blah/image[/url] with spaces.gif …

Member Avatar for PatrickSharp
0
913
Member Avatar for kgkamaraj

Forget about stringTokenizer. Even SUN recommends against using it in favor of split. Here is (tested) working solution... [code] public class SplitTest{ public static void main(String[] args) throws Exception { /** According to Sun's website at: http://java.sun.com/j2se/1.4.2/docs/api/java/util/StringTokenizer.html "StringTokenizer is a legacy class that is retained for compatibility reasons although its …

Member Avatar for PatrickSharp
-1
149

The End.