Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~15.4K People Reached
About Me

Searching

PC Specs
Gentoo Linux ASUS K8V-X AMD x64 3000+ 1 GB PC3200 nVidia G-Force 4000 (128mb) Sony DRU-720A (DL DVDR)
Favorite Tags

40 Posted Topics

Member Avatar for jepapel

Couldn't you have just used the ascii value and then subtracted to get its value in the alphabet? Sorry my bad, i didn't read well enough. Your either writing a hash routine or weak encryption program aren't ya?

Member Avatar for slumburock
0
4K
Member Avatar for Java John needs

First lets start with the typo... [QUOTE=Java John needs] System.out.println("The number you entered is " + digit.length()" digits in length!")[/QUOTE] Should be... [CODE]System.out.println("The number you entered is " + digit.length() + "digits in length!");[/CODE] No where in your code do you declare "digit" and i have no idea what you …

Member Avatar for Abdel_eid
0
151
Member Avatar for gokul

Ok so its 9 am...and still no sleep so i wont go thru all this code but just a quick little two cents worth. Its a chat program, the way i normally do these (and there might be others) is to use 2 ports (send / receive) and multiple threads. …

Member Avatar for debjit.samsung
0
195
Member Avatar for Paddy

I could be wrong at this but i believe a bin file is a bit for bit reading of a selected meida for example cd or processors. My educated guess is that you were com/decompressing a cd image (bin/cue) that did not take up the entire disk so towards the …

Member Avatar for ||KeSSu FIN||
0
756
Member Avatar for neeedo7

What are your interests, how long do you have to create a program, what experience do you have and is spending money an option?

Member Avatar for Nick Evan
-1
1K
Member Avatar for v2_vehooi

Gotta love people who want help taking an os independent programming language to make a program that is usable in windows only.

Member Avatar for irobot_229
0
461
Member Avatar for 7233trebor

I'd go with it being the capitalized class name in main and lowercase in his declaration. BTW...common java practice is to capitalize class names, so you might want to change it above instead of just changing it in the main. And if it stil doesn't work make sure you have …

Member Avatar for masijade
0
339
Member Avatar for rinoa04

The best IDE on the market, IMHO, is JetBrains's IntelliJ IDEA. Netbeans or JEdit will get the job done too.

Member Avatar for qwest21
0
131
Member Avatar for Nexus Titan

A PIC is a microcontroller. Basically its a processor (remotely similar to the cpu in your computer) but a whole lot less of a unit. If you are interested in this concept and have a little bit of money to spend (under $300) i'd recommend getting a Mindstorm Robot from …

Member Avatar for embeddedravi
0
232
Member Avatar for zauber

I'm going to be waiting for a die-hard C person to tell me i'm completely wrong on this...but anyway, here is my educated guess on the issue. The C programming langauge and pretty much every one i have used, allows the use of the double quotes. This is not to …

Member Avatar for zauber
0
116
Member Avatar for moderate_rock48

If he formatted the hard drive there shouldn't be a registry. Is the disk scratched or anything? Maybe the cdrom is having problems reading the disk.

Member Avatar for lloyd
0
146
Member Avatar for umbrella

The code only works for indian because he is not willing to sit and actually enter all 100 items that he is initializing his array for. So it "APPEARS" to be working correctly for him. I know i'm repeating what stoner just said, but i figured i'd explaina little more …

Member Avatar for Dave Sinkula
0
441
Member Avatar for Mahen
Member Avatar for freemind
0
170
Member Avatar for loser1

You could check out this idea.. [url]http://www.daniweb.com/techtalkforums/thread28724.html[/url] Or if your bored you could take a handy off the shelf router, you might have laying around or using one and reverse engineer the http server and make an attempt of an enterprise level network management application. (some projects i did when …

Member Avatar for freesoft_2000
0
229
Member Avatar for Sword

I'm running linux on an AMD64 machine. Dont think thats 10 year old hardware, probably should check that :) I'd recommend Fedora or Mandrake if you are new to Linux. Mandrake is known for its vast hardware drivers, and Fedora was pretty easy when i started to learn linux. I'm …

Member Avatar for jindalarpan
0
686
Member Avatar for freesoft_2000
Re: URLs

This is what I've always used to download files. I've downloaded quite a few mpegs with it and it worked just fine. [CODE]public class HTTPStuff { public static Downloader(String fetchUrl, String saveAs) { try { URL url = new URL(fetchUrl); InputStream in = url.openStream(); FileOutputStream out = new FileOutputStream(saveAs); bye[] …

Member Avatar for Sauce
0
322
Member Avatar for gokul

CVS also has the ability of branching. In which 2 people can edit the same file at the same time. Then when you resubmit the file to the cvs server you are given the ability to merge your changes and the changes somebody else did together.

Member Avatar for freesoft_2000
0
261
Member Avatar for wani_raj

[QUOTE=wani_raj]is it possible to write a program which will shutdown the remote systme in c?[/QUOTE] Of course its possible. Depends on what way you want to do it and if you have access to install an application on the before mentioned "remote system".

Member Avatar for Alvein
0
106
Member Avatar for steelers_fan

"Unworkable architectures that are beauties of theoretical design but impossible to use [b][I]if you do not have a CS degree.[/I][/b] Ok...so i'm a little bias :)

Member Avatar for freesoft_2000
0
227
Member Avatar for actionwillspeak

For file transfer its better to use TCP instead of UDP because you can use a connection oriented paradigm (unless you are going to transfer only small files). Connection oriented has the overhead of creating the connection so for small files it will be slower then udp, but for larger …

Member Avatar for Sauce
0
543
Member Avatar for bsunkel

My educated guess is that Java wont be able to get the CMOS time. Java was made as a high level programming language and CMOS should be out of the scope of java (not 100% sure). If you wanted to do something like that i'd try to do it with …

Member Avatar for mmiikkee12
0
230
Member Avatar for Rearden

The wonderful power of google... is this like what your doing? [url]http://www.daniweb.com/techtalkforums/showthread.php?p=143577#post143577[/url]

Member Avatar for Rearden
0
327
Member Avatar for lyndonp

Why not post the code that you are using to read in and display. Also make sure you are copying over and not overwriting the null terminator at the end of your char arrays. If you want to just test to see if you are, try strcat-ing a '\0' to …

Member Avatar for lyndonp
0
233
Member Avatar for md16185

Java makes programming a chat applications really easy. Look up sockets in java and thats all you will need for a very basic one. Get that far and when you encounter problems or what to do more complicated stuff with the program (like maybe a secure RSA encryption) chat program …

Member Avatar for freesoft_2000
0
490
Member Avatar for zoltzer

You might want to read the rules of this forum. We only help those who have shown effort, which you have not shown any. So unless your offering to pay somebody...do some work!

Member Avatar for sam1
0
175
Member Avatar for mu42774

Well i read it and its not hard to understand, assuming u've studied operating systems. Its just an OS simulator. If your just doing an explaination of the program you might want to include exactly what you are using mean and std dev. for. I'm assuming they are just ways …

Member Avatar for Sauce
0
120
Member Avatar for asatrujesus

Jwenting is correct you need to read up on the topic but i can explain a little to help get you started. I think the way i treat boolean logic is kind of like math. As you can see there are ( ) in the equations. And according to math …

Member Avatar for freesoft_2000
0
419
Member Avatar for glamo
Member Avatar for higherGround574

Eclipse is an IDE (editor) you are using some kind of SDK or JDK for your compiler.

Member Avatar for freesoft_2000
0
157
Member Avatar for djbsabkcb

A programmer that says an editor is the answer...geesh. The answer is with the include statment with something like this... [CODE]#include "fileToInclude.cpp"[/CODE] For more info just look up the uses of the include in C/C++

Member Avatar for kc0arf
0
323
Member Avatar for dmissai

Web servers are text based so they are rather simple. For the basic version just... Create it like any other client / server program. HTTP is a connection oriented protocol (been a while) so you will want to make sure to use that method to create your socket. After that …

Member Avatar for jwenting
0
149
Member Avatar for Mr.

You shouldn't. The concept of a semaphore is simple, you set the value to a number (in your case 4) when you use one of the resources you dec(-1) from the value and so on. Then if the value is <=0 then all sources are used so it waits for …

Member Avatar for Sauce
0
76
Member Avatar for mmiikkee12

JVM is an operating system. Java was created for use in embedded systems. Thats why your java programs are compiled into java byte code.

Member Avatar for Sauce
0
691
Member Avatar for CoolHandLuke

Basic info on methods. (1) Static methods cannot access non static fields/methods in its own class. Because an instance might not exist. (2) Methods in a class can access all other methods in the same class. Except for those that apply to (1). (3) Protected methods are methods that appear …

Member Avatar for Sauce
0
107
Member Avatar for davidianstyle

Wow you butcher-ed that one nice now didn't ya. I haven't done C in a lil while but i'll show ya what ya did wrong. First thing i did was kill that typedef to bool. I prefer to just use int straight forward even though bool's built into my Visual …

Member Avatar for indianscorpion2
0
250
Member Avatar for bobr_1013

[QUOTE=bobr_1013] class PatientBMI { public void main(String[] args) throws IOException { int numclasses = 0; boolean i = true; while (i) { People patient = new People(); System.out.println("Enter the following information for the patient: "); System.out.print(" Full name: "); patient.name = Keyboard.readString(); System.out.print("\n"); System.out.print(" Height: "); patient.height = Keyboard.readDouble(); System.out.print("\n"); …

Member Avatar for bobr_1013
0
166
Member Avatar for Java John needs

To get output like... 1 1 2 1 2 3 1 2 3 4 There are 2 ways (that come to mind) to do it, not sure which way would be easier. But i'm betting that you are in the part of your class in which you are covering or …

Member Avatar for jwenting
-1
302
Member Avatar for freesoft_2000

Come on...this should be an easy one... HTML = (Hyper [B]Text[/B] Markup Language) So to answer your question, your going to find out that you cannot imbed a picture into a plain html document without using some kind class file instead of straight HTML code.

Member Avatar for Sauce
0
131
Member Avatar for ripdeath987

Here is some partial code to help out a little more... [CODE]private String baseFileName = "junk"; private int i = 0; public void save() { String tempFileName = baseFileName + (i++) + ".txt"; // Insert Stream Declaration Stuff // Insert Code to Save File // Close Streams }[/CODE]

Member Avatar for freesoft_2000
0
168
Member Avatar for freesoft_2000
Re: Http

To download ... [CODE] public class HTTPStuff { public static Downloader(String fetchUrl, String saveAs) { try { URL url = new URL(fetchUrl); InputStream in = url.openStream(); FileOutputStream out = new FileOutputStream(saveAs); bye[] buff = new byte[4*1024]; //4k buffer int bytesRead; while((bytesRead=in.read(buf))!=-1) { out.write(buf,0,bytesRead); } in.close(); out.close(); } catch(MalformedURLException e) { …

Member Avatar for Sauce
0
71

The End.