- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 4
- Posts with Downvotes
- 3
- Downvoting Members
- 3
24 Posted Topics
Guys I ask if any one can help me . i have to write application which take images from web cam can anyone help me , by providing where i must read , as i googled it , and the results weren't good . | |
Hello Guys I ask if any one can help me i have to write application which record video from webcam , but I don't know where I must search ? can you help ? just suggest where I should read . Thanks. | |
Re: HI I think you can use shutdown command for windows , through your java application you can open cmd -you can open the cmd by object from class process - and write the shutdown command , i think it will work . | |
Hello I'm writing java code read arabic character but it don't show the text correctly it show squares Any one Can help me any help will be appreciated Thanks Yours Ahmed Ghazey | |
Re: I think you should use split function , to split your paragraph into tokens . then go through the array you made -by split - Define ArrayList or Vector or some thing like that. if the value of the String not exist in the ArrayList add it if exist continue … | |
Re: Salmo Aliko. your logic seems good but you have two problems the first you increment studCount in the inner loop you should call it at the outer loop , Ok? the second you call DisplayvalueInArray(studentScore); while you still take input from the user which in java initialize the rest of … | |
Re: i hope this help you , and the same for the others [CODE] public static void main(String[] args) { // System.out.println("aaaa"); String source = "color1 = yellow.$199 * 100"; Pattern p = Pattern.compile("([a-zA-Z]+\\d+?) = (([a-zA-Z]+)(.)*) "); Matcher m = p.matcher(source); while (m.find()) { // will return yellow System.out.println(m.group(3)); } }[/CODE] | |
Hello , I ask if any one can help me , by suggest tutorial . I need make java app GUI which take String from user , and write this String in web page text field . for example : username and password , when both are written on the … | |
Re: first check on the length using .length() function . if length == 6 then you can loop in your String using for loop for example . make variable counter count the character of the String if this count after the loop = 5 return true; else return false [CODE] for … | |
hello, i ask for help if you can : i have to write algorithm detect all cycles in undirected graph , I don't know , can any one help. Thanks . | |
Re: it is method overloading FYI it is allowed to write many functions with the same name and return type . but different parameters , one important note this parameters mustn't accept any type of cast . i.e. if you have the following method definitions : int x (int p); int … | |
Re: about compare to it is method in interface comparator you have to implement this interface then override the compare to function . i dun read about compare more . | |
Re: using .charAt(position ); you will get the i character in the String . about checking is std English character you can check simply if the character fall between 'a' and 'z' [CODE]char c='a'; if (c>='a'&&c<='z') System.out.println("Valid"); else System.out.println("not Valid"); [/CODE] i hope i helped . | |
SA : I ask if anyone can help me in this algorithm , it is suppose that this algorithm find all the cycles in given graph . but there exist a bug it return only one cycle not all : [CODE]public class Main { public boolean funcs(boolean Graph[][]){ ArrayList<ArrayList<Integer>>l=new ArrayList<ArrayList<Integer>>(); … | |
SA i ask if any one can help me in this grammar problem : Expression ::= Expression ( "&&" | "<" | "+" | "-" | "*" ) Expression | Expression "[" Expression "]" | Expression "." "length" | Expression "." Identifier "(" ( Expression ( "," Expression )* )? … | |
hi i have this problem and i don't know where exactly i must search if you can pass any tutorials i'll be grateful thanks. Find Counter Examples that prove the following statements are wrong : 1-f1 (n) - f2 (n) is O(g1(n) - g2(n)) 2-f1 (n) / f2 (n) is … | |
peace be upon with you I have a problem i wanna a pseudo code for edge assembly recombination(crossover) . I searched for long time and I couldn't find any good paper satisfy my need. plz if you have a clear one don't hesitate contact me or post the link thanks … | |
Given a word, check whether it is a simple English word, with these characteristics: Contains at least one vowel, Doesn’t contain three consecutive vowels or consonants, Vowels ‘e’ and ‘o’ can be repeated twice consecutively, but other vowels can’t. Can it be done using traditional regular expression?!! the question what … | |
why return type is not a part of function signature i.e. I can't make such this code [CODE] int x (int y){ return 0; } float x(int y){ return 0.0; } [/CODE] while i can make such this code: [CODE] int x (int y){ return 0; } int x(String y){ … | |
Hello I make java application that read String from text field and convert it to another String it may consider type of encoding . but i want process character by character when user still typing on the the text field. i.e. a-->s ah-->sd ahm-->sdf ahme-->sdfg ahmed-->sdfgh any one can help. … | |
[code]public double bigramPMI(String bigram,String []bi) { String[] arr = bigram.split(" "); int n11 = 0, n12 = 0, n21 = 0, n22 = 0, n1p = 0, np1 = 0, n2p = 0, np2 = 0, npp = 0; double m11 = 0, PMI = 0; for (int i = … | |
Hello I want make java application which start running when system (OS)start anyone can tell me where i must search or a demo for that any help will be appreciated Thanks Yours Ahmed Ghazey FCI-CU-CS | |
How I connect to the internet my project is to make java application make automatic login to my mails accounts(Yahoo gmail and so on) given password and email address and download messages from my inbox any one can help me . |
The End.