No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Searching
- PC Specs
- Gentoo Linux ASUS K8V-X AMD x64 3000+ 1 GB PC3200 nVidia G-Force 4000 (128mb) Sony DRU-720A (DL DVDR)
40 Posted Topics
Re: 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? | |
Re: 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 … | |
Re: 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. … | |
Re: 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 … | |
Re: What are your interests, how long do you have to create a program, what experience do you have and is spending money an option? | |
Re: Gotta love people who want help taking an os independent programming language to make a program that is usable in windows only. | |
Re: 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 … | |
Re: The best IDE on the market, IMHO, is JetBrains's IntelliJ IDEA. Netbeans or JEdit will get the job done too. | |
Re: 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 … | |
Re: 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 … | |
Re: 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. | |
Re: 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 … | |
Re: And unless i'm mistaken, you forgot [CODE] #include "test.h" [/CODE] | |
Re: 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 … | |
Re: 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 … | |
Re: 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[] … | |
Re: 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. | |
Re: [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". | |
Re: "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 :) | |
Re: 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 … | |
Re: 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 … | |
Re: The wonderful power of google... is this like what your doing? [url]http://www.daniweb.com/techtalkforums/showthread.php?p=143577#post143577[/url] | |
Re: 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 … | |
Re: 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 … | |
Re: 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! | |
Re: 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 … | |
Re: 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 … | |
Re: Eclipse is an IDE (editor) you are using some kind of SDK or JDK for your compiler. | |
Re: 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++ | |
Re: 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 … | |
Re: 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 … | |
Re: JVM is an operating system. Java was created for use in embedded systems. Thats why your java programs are compiled into java byte code. | |
Re: 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 … | |
Re: 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 … | |
Re: [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"); … | |
Re: 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 … | |
Re: 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. | |
Re: 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] | |
Re: 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) { … |
The End.