I had an assignment, on the command prompt, enter a filename of a previously formed program and print it out with numbered lines
IE*
1 public *********
2 {
3 Code
4 }
I had an assignment, on the command prompt, enter a filename of a previously formed program and print it out with numbered lines
IE*
1 public *********
2 {
3 Code
4 }
ETC.
Do not use InputStreamReader for this. Use a Scanner if you have jdk 1.5 or a BufferedReader and a FileReader. No one is going to write code for you if you are not willing to at least give it a try. Post some code and point out your exact problem and you will see how much help you'll start getting.
by the way, my friend figured it out, it's two pages of code for that...it seems more simple but it works his way, thanks anyway...
Steve
Two pages is way too much. You should not write more than 15 lines of code for this. Also now that your friend has done it for you, perhaps you did not benefit as much as you would have if you had tried it yourself and asked for help and explanations where you got stuck. If he/she used two pages for it then there is something seriously wrong with that solution.
Hello everyone! I am trying to learn java and have run into kind of a
snag. Here is the code that I have so far:
------ <begin_code> ----------
import javax.swing.*;
import...
Hi all,
Please help me with the following..it's realy urgent and i tried
everything i could and i can't get it work properly!! Thanks in
advance.
Here's what i'm trying to accomplish:
in my...
Hi,
This is a realy tricky one.
I have an ASP.NET application where some pages are reading data from a
DB and presenting reports.
In order for the user to wait while the page is reading data from...
I get nameSPAN1 is undefined when I place cursor in comments box..
<%@ LANGUAGE="VBScript" %>
<% DIM ipAddress
ipAddress=Request.Servervariables("REMOTE_HOST")
%>
<html>
<head>
<meta...
Hi guys,
I have got a prob of javascript form validation which just doesnt work
with my ASP code. Can any one help me out please.
Here is the code:
{////<<head>
<title>IIBO Submit Page</title>...
DB2 Team -
I just downloaded and unzipped the new Fixpack 9 for DB2 ESE V8 for
Windows (FP9_WR21350_ESE.exe). I then burned the unzipped Fixpack
files to a CD. I proceded to install this...
POSTING GUIDELINES
Please follow these guidelines when posting questions
Post your question in a relevant forum
Do NOT PM questions to individual experts - This is not fair on them and...
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...