User Profile

Collapse

Profile Sidebar

Collapse
student33
student33
Last Activity: May 1 '09, 06:55 PM
Joined: Feb 25 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • student33
    replied to using data
    in Java
    Hi just a bit of background I am a mature student (52) I have studied Borland C++ at Manchester Metropolitan University, and some java, recently I have need to communicate between two computers using COM ports something that Borland C++ does not readily do, looking at the options I found that I could use java to achieve this task. However I realized from the off that there was areas of java that I did not understand, I have followed your advise and...
    See more | Go to post
    Last edited by Nepomuk; May 3 '09, 01:03 AM. Reason: Please use [code] tags

    Leave a comment:


  • student33
    started a topic using data
    in Java

    using data

    Take Class PrintStream as the starting point, looked this up on sun microsystems
    and looking through the available methods to find one that will do what i need to do, the problem then becomes how to use it take "public void print(char c)" for example, have tried lots of ways to no avail typically
    Code:
    import java.io.*;
    import java.util.*;
    
    class displayIt{
    
    static OutputStream      outputStream;
    ...
    See more | Go to post
    Last edited by Nepomuk; May 3 '09, 01:02 AM. Reason: Please use [code] tags

  • student33
    started a topic number confusion

    number confusion

    below is the javascript that works ok. but i was wanting to assign a variable directly
    and as yet i can not can any on tell me what i am doing wrong surround area in question with caps

    [HTML]<script language="JavaS cript">
    function calculateArea(n um1)
    {
    num2 = num1*2
    return num2
    }
    </script>
    </head>
    <body>
    <form...
    See more | Go to post
    Last edited by acoder; Feb 27 '07, 09:32 AM. Reason: Code in tags
No activity results to display
Show More
Working...