Forum: Java 5 Days Ago |
| Replies: 3 Views: 146 Umm, thanks for the code and reply mate.
But, I really didn't got it! and Will this will work with array of strings?
For example if I have an array of strings, will this method sort the array... |
Forum: Java 5 Days Ago |
| Replies: 3 Views: 146 |
Forum: Java 6 Days Ago |
| Replies: 3 Views: 146 Hi..
Is there any ready-made code for "Binary Search Tree" for Strings?
if not, how to use Binary Search Tree with Strings?
Thanks. |
Forum: Java 7 Days Ago |
| Replies: 21 Views: 475 And yeah I forgot, javaAddict nice bike you got :D congratz |
Forum: Java 7 Days Ago |
| Replies: 21 Views: 475 Just wow, thank you very much for this plenty of explanation of the codes and topics.
Congratulation JavaAddict for the 1500 posts :D
Thanks a lot BestJewSinceJC, for your assist and explanation... |
Forum: Java 8 Days Ago |
| Replies: 21 Views: 475 Sorry for that, but I didn't understood why I have to use Vector! I mean does the vector will recognize lines! if yes, how!
also, how should I input from the file to the Vector!
sorry, things... |
Forum: Java 9 Days Ago |
| Replies: 21 Views: 475 I didn't understand the part you said about Vector, what is Vector!?
And you said Count++ for each word to be found, but if both words are in the same line! this won't work, right?
let me... |
Forum: Java 9 Days Ago |
| Replies: 21 Views: 475 I ran it, and it works perfectly. and the Thanks goes to you and to BestJewSinceJC.
here is the output:
But, now I need to know how to see each word where is appeared in which line, how to... |
Forum: Java 9 Days Ago |
| Replies: 21 Views: 475 I did this now I used "s.equalsIgnoreCase(argu)" because some of the words in the file having CAPITAL letters.
Data.java:
/**
* @author Q8iEnG
*
*/
import java.io.File;
import... |
Forum: Java 9 Days Ago |
| Replies: 21 Views: 475 ahaaa omg i messed around lol
So, you mean I should first save the input in a variable and compare it
like this:
String s = input.next();
if( s.equals("a") )
blah blah
else if(... |
Forum: Java 9 Days Ago |
| Replies: 21 Views: 475 This is my code now, WHY i'm getting an error!!
Here is the Data.java:
import java.io.File;
import java.io.FileNotFoundException;
import java.util.Scanner;
public class Data { |
Forum: Java 9 Days Ago |
| Replies: 21 Views: 475 WOW, thank you so much I'm now coding easily :D
one more thing please, if I want to check a specific word where it occurred in which line of the file, how to do that?
I mean for example "a" I... |
Forum: Java 9 Days Ago |
| Replies: 21 Views: 475 Thanks mates for those useful links.
Sorry for that but I got confused, so which solution you think it'll be easier to implement and as you said javaAddict I want to find the WHOLE word if exist... |
Forum: Java 10 Days Ago |
| Replies: 21 Views: 475 Hi mates..
I'm trying to find a way in how to inputing or outputting from a file in Java.
For my bad luck when I finished my Java course, our professor didn't talked about this thing.
I... |
Forum: Motherboards, CPUs and RAM 23 Days Ago |
| Replies: 9 Views: 717 No mate, after reading the links u provided with some links i found I wrote that simple article to make things easier for people who will search for it in the future.
Sure it makes sense and... |
Forum: Motherboards, CPUs and RAM 23 Days Ago |
| Replies: 9 Views: 717 lol thanks a lot for the help really appreciated.
I'll have to a look at the links you provided, and I'll read them surely.
btw, I've wrote a very simplified article about ARM processors and... |
Forum: Motherboards, CPUs and RAM 24 Days Ago |
| Replies: 9 Views: 717 Thanks for the reply, actually I tried to look in google but with no benefits.
I can't find the answers I need, most of the topics are not the one I need. So, I don't know hope someone helps.
... |
Forum: Motherboards, CPUs and RAM 26 Days Ago |
| Replies: 9 Views: 717 Hi mates..
My professor asked to do research on the internet for this "ARM, Advanced RISC Machine" writing about its Addressing modes, Class type, instruction set, operands size...etc.
Can... |
Forum: C++ Jul 1st, 2009 |
| Replies: 5 Views: 237 As all my mates said, we were in same situation and that book you mentioned is totally crap.
See the links provided above from members, once you need a help don't hesitate to post it ^^ |
Forum: JavaScript / DHTML / AJAX Jul 1st, 2009 |
| Replies: 7 Views: 590 Thank you so much mate, I really feel shy for this generous.
Would check the code and see my mistakes.
Thanks again mate.. |
Forum: JavaScript / DHTML / AJAX Jun 29th, 2009 |
| Replies: 7 Views: 590 WOW awesome, thanks a lot that's totally what I was looking for.
I will study it well, and if you don't mind once I faced a hard part I'll PM you if that's ok ^^
umm, can you tell me what... |
Forum: JavaScript / DHTML / AJAX Jun 27th, 2009 |
| Replies: 7 Views: 590 Thank you for your concern and reply.
I know about php, html, cgi, aspx...etc
I'm a programmer tho.
But, as I said I want to make a VERY SIMPLE javascript code to act as a "Poll"
a... |
Forum: JavaScript / DHTML / AJAX Jun 26th, 2009 |
| Replies: 7 Views: 590 Hi mates..
I would like to ask you small question and I do really appreciate if you helped me out.
I want to make a VERY SIMPLE "Poll" using Javascript
here's my code, below it I'll tell you... |
Forum: Java May 9th, 2009 |
| Replies: 17 Views: 657 Sorry to be a bother, but really I didn't got anything LOL
I've just created a folder "logic" on my desktop and I saved on it all the ".java" files that I need to be in the package "logic"
and... |
Forum: Java May 9th, 2009 |
| Replies: 17 Views: 657 I've finished my project.
Can anyone gives instructions on how to make a "package" ? |
Forum: Java May 9th, 2009 |
| Replies: 17 Views: 657 I guess I've found a solution
I've changed the attributes in the super class to "protected" and I can now use them in my subclass.
Thanks a lot, if you have other suggestions please feel free... |
Forum: Java May 9th, 2009 |
| Replies: 17 Views: 657 Yeah, it seems ok to me. Thanks mate..
I can't test it mate, according to the code of ethics. Because my professor gave a hierarchy tree and we should implement it without testing it. Later, he'll... |
Forum: Java May 9th, 2009 |
| Replies: 17 Views: 657 Thanks, I would try it..
This is now my final code in NotGate
public class NotGate extends SingleInputGate
{
public NotGate( Wire input, Wire output )
{
super( input, output );
} |
Forum: Java May 8th, 2009 |
| Replies: 17 Views: 657 I'll try this thanks a lot,,
but please I guess you missed something, I said I want to output the opposite value of the "getInput"
if it is "true" I should output "false"
if it is "false" I... |
Forum: Java May 8th, 2009 |
| Replies: 17 Views: 657 first of all thanks for the reply :)
second, simply I want to see if "getInput" is "true" or "false"
after that I'll set the "setOutput" to the opposite value.
For example, if "getInput" ==... |
Forum: Java May 7th, 2009 |
| Replies: 17 Views: 657 Hi mates..
I have a small question..
I have now 3 different classes, sounds ok?
this is the 1st class, called "Wire"
public class Wire
{
private boolean Value; |
Forum: PHP Apr 22nd, 2009 |
| Replies: 0 Views: 296 I did this video today, showing how to add
"Re-generating Image Captcha"
To your Scripts to avoid SPAMS! :)
Metacafe Link.. ... |
Forum: Java Apr 9th, 2009 |
| Replies: 2 Views: 285 I did it, haha Thanks mates and sorry for bothering :D
this is my final code:
import java.util.*;
public class Function
{
public void calculate() |
Forum: Java Apr 9th, 2009 |
| Replies: 2 Views: 285 I did it, can anyone tells me if it is OK or not?
import java.util.*;
public class Function
{
public void calculate()
{
Scanner scan = new Scanner( System.in ); |
Forum: Java Apr 9th, 2009 |
| Replies: 2 Views: 285 Hi mates :)
how are you? I hope everything is all-right.. ;)
I have a small question, it is my HW to be honest
here is the question:
"Write a method that calculates the following equation:... |
Forum: Java Mar 6th, 2009 |
| Replies: 13 Views: 533 I guess I just want to see other's opinion :D
Ok. |
Forum: Java Mar 6th, 2009 |
| Replies: 13 Views: 533 Ok, thanks :D
and yeah, was my answer correct or not? |
Forum: Java Mar 5th, 2009 |
| Replies: 13 Views: 533 Umm, thanks for explaining so as you said "there's nothing known as essence complexity, but it is essence software, right?".
if that's the case then I just change some details in my "answer"
... |
Forum: Java Mar 5th, 2009 |
| Replies: 13 Views: 533 I know, I said Eclipse is essence (so it attacks accidents complexity)
and Extreme programming is accidents (so it attacks essence complexity).
That's really all I said and all I know XD |
Forum: Java Mar 5th, 2009 |
| Replies: 13 Views: 533 I did found only the sites of both of them :D
Well, let me tell you what I think.
Eclipse is an essence complexity as it is more functional than Extreme Programming.
Extreme programming is... |