Search Results

Showing results 1 to 31 of 31
Search took 0.01 seconds.
Search: Posts Made By: redmaverick
Forum: JSP 4 Days Ago
Replies: 1
Views: 226
Posted By redmaverick
I tried and succeeded in pulling out the info from the ms access database tables. But I am not able to pull out the images. They are in the text form.

Is there any way to overcome this


this...
Forum: Java 11 Days Ago
Replies: 2
Views: 249
Posted By redmaverick
I am a bit familiar with java, but I am pretty ambitious and I want to build a simple book store.

I need some suggestions and help.


I can create a simple homepage using HTML which has links,...
Forum: Java 11 Days Ago
Replies: 10
Views: 513
Posted By redmaverick
try something like this


count=0;
for( int m=1 ; m <10000; m++)
{
sum=0;
for ( int n=1; n<m; m++ )
{
if ( m %n == 0 )
Forum: Java 11 Days Ago
Replies: 10
Views: 513
Posted By redmaverick
Scanner read = new Scanner(System.in);

System.out.printf(" Enter ur number: ");

num = read.nextInt();


There is no need to take input from the user. You are checking for perfect numbers...
Forum: Java 12 Days Ago
Replies: 2
Views: 284
Posted By redmaverick
That is a fantastic resource............thanks a lot...

But I figured out how the code works......
Forum: Java 12 Days Ago
Replies: 10
Views: 513
Posted By redmaverick
I think this is a homework problem.....I did the coding and the first 4 perfect numbers are:

The perfect number is 6
The perfect number is 28
The perfect number is 496
The perfect number is...
Forum: Java 12 Days Ago
Replies: 2
Views: 284
Posted By redmaverick
public void init()
{
// Assign values to the rectanagle coordinates.

// Add the MouseListener to your applet
}

public void paint(Graphics g)
{
// Rectangle's color
Forum: Java Oct 16th, 2009
Replies: 3
Views: 329
Posted By redmaverick
Hi Guys! Can you kindly run this code in your PC and see if are getting the correct output.... maybe there is something wrong with the path variable etc in my system...

thanks

I want to print...
Forum: Java Jun 23rd, 2009
Replies: 3
Views: 1,938
Posted By redmaverick
-------------------------------------------------------------------------------------
Thanks for the tip........I will use the scanner function and see if it does the job........
Forum: Java Jun 22nd, 2009
Replies: 3
Views: 1,938
Posted By redmaverick
Hi guys,

I need to open a file and extract numbers from it.
The numbers in the file are like this

12 34 23 12 00 10 02 12
22 33 10 12 09 03 03 93
etc

I am able to extract the numbers in...
Forum: Perl May 21st, 2009
Replies: 5
Views: 446
Posted By redmaverick
does anybody know a good forum to go to. I know that daniweb is good for java and c++

thanks!
Forum: Perl May 21st, 2009
Replies: 5
Views: 446
Posted By redmaverick
print ( "fred" gt "harvey" );

what does this print. How can we compare strings. If it was single characters, we can base our comparisons using ASCII.
Forum: Java May 15th, 2009
Replies: 2
Views: 478
Posted By redmaverick
Thanks for the link. It was easy to follow, finally generated the html files. [:)]
Forum: Java May 15th, 2009
Replies: 2
Views: 478
Posted By redmaverick
I have to generate html files from .java files. I tried generating from eclipse but was stumped.

there are just 4 files. Can somebody help me out. Send me a pm please!!!
Forum: C++ May 5th, 2009
Replies: 2
Views: 310
Posted By redmaverick
I am not familiar with C code. I want to convert this code to C++ and run it

any help is appreciated.


#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include<cstdlib>
using...
Forum: Java Apr 24th, 2009
Replies: 4
Views: 1,367
Posted By redmaverick
Thanks for the help. It is working now. I know that this is pretty bold for a beginner. But I am understanding the concept behind it and I think that by understanding more such programs I will be...
Forum: Java Apr 23rd, 2009
Replies: 4
Views: 1,367
Posted By redmaverick
code is from a text book
Forum: Java Apr 23rd, 2009
Replies: 4
Views: 1,367
Posted By redmaverick
I am trying to execute this program, but I am getting errors
this is the code



import java.util.*;
public class DateUtils
{

static final int MILLS_IN_DAY = 24*60*60*1000;
Forum: Java Apr 16th, 2009
Replies: 4
Views: 790
Posted By redmaverick
I created package/ex01/Person.java and it compiled.
however when I try package/ex01/Testing.java it is not compiling


Testing.java:9: cannot find symbol
symbol : class Person
location: class...
Forum: Java Apr 15th, 2009
Replies: 4
Views: 790
Posted By redmaverick
I am unable to execute these codes. This code is a replica from a website.

I used Testing.java and Person.java. Should the files be named comparable.ex01.Testing.java and...
Forum: Java Apr 12th, 2009
Replies: 2
Views: 308
Posted By redmaverick
Forum: Java Apr 12th, 2009
Replies: 2
Views: 308
Posted By redmaverick
import java.util.Scanner;
public class testcircle {
public static void main(String[] args) {
System.out.println("welcome");
double i;
Scanner sc =...
Forum: Java Apr 10th, 2009
Replies: 7
Views: 717
Posted By redmaverick
OMG! you are right....I got the answer..thanks a lot!
Forum: Java Apr 10th, 2009
Replies: 7
Views: 717
Posted By redmaverick
i executed all three:

java testcircle circle CircleShape
Forum: Java Apr 10th, 2009
Replies: 7
Views: 717
Posted By redmaverick
Exception in thread "main" java.lang.NoSuchMethodError:main

this is the error which I am getting
Forum: Java Apr 10th, 2009
Replies: 7
Views: 717
Posted By redmaverick
public abstract class CircleShape {
public double radius;
public CircleShape(){}
public CircleShape(double radius) {
this.radius=radius;
}

public void setradius(double radius){...
Forum: Java Mar 29th, 2009
Replies: 3
Views: 596
Posted By redmaverick
Hi! this is a lengthy post/I hope its comprehensible

basically this program should calculate and display the area of a circle.....but it shows area as 0.0
for every value of radius...
Forum: Java Mar 23rd, 2009
Replies: 2
Views: 1,392
Posted By redmaverick
Hi guys!

Its working now........ I read somewhere that we have to restart the system to make it pick the path.......

this has caused me frustration to no end....so don't forget to RESTART.........
Forum: Java Mar 23rd, 2009
Replies: 2
Views: 1,392
Posted By redmaverick
Hi,

I formatted my pc and restored everything back and now I forgot how to install jdk and set the path. I am using windows vista.....

I created a CLASSPATH in system variables as follows...
Forum: Java Feb 9th, 2009
Replies: 5
Views: 713
Posted By redmaverick
The compiler gives an error about something being unbounded
Forum: Java Feb 9th, 2009
Replies: 5
Views: 713
Posted By redmaverick
class Grade {

public static void main (String args[]) {
final int score = Integer.parseInt (args[0]);
final char grade;

if (score >= 90) {
grade = 'A';...
Showing results 1 to 31 of 31

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC