Posts
 
Reputation
Joined
Last Seen
Ranked #960
Strength to Increase Rep
+3
Strength to Decrease Rep
-0
84% Quality Score
Upvotes Received
14
Posts with Upvotes
11
Upvoting Members
7
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
4 Commented Posts
~21.2K People Reached
About Me

Main occupation : e-Learning researcher.
Meanwhile : Computer science teacher basically : algorithmics, information systems, software design and theory of organizations.

Interests
Software development, Java, JVM languages
PC Specs
Dell Inspiron N5050
Favorite Tags
Member Avatar for miller anderson

Hi everyone, I'd like to ask you all to help me with this two questions and I've been faced recently, 1.What would be the algorithm which takes the pointers of two Binary Search Trees roots, if equal returns true if not FALSE. (both BSTs are the same as well as …

Member Avatar for Tarek_2
0
296
Member Avatar for Dave_20

Hey guys. So this should be a pretty simple question (but doesn't appear to be) that I'm hoping some of the database wizards out there can help me with. I'm not too long outta university with a BSC in Computing, I didn't get a full classification due to the fact …

Member Avatar for overwraith
0
612
Member Avatar for Prosatanos

This is a function in class *DepartmentBean* which check if element already exist in container: bool f; public void addIfAbsent(UserBean userBean) { if (users.stream().anyMatch(x -> x.getUsername().equals(userBean.getUsername()))) { f = false; } else { f = true; users.add(userBean); } } } In my servlet I am trying to send Message of …

Member Avatar for Tarek_2
0
467
Member Avatar for Heung min

import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; public class DataStreamExample { public static void main(String[] args) throws IOException { File f = new File("seminar.txt"); if (f.exists()) { BufferedReader br = new BufferedReader(new FileReader(f)); String dat; StringBuilder text = new StringBuilder(); while ((dat = br.readLine()) != null) { text.append(dat); } …

Member Avatar for JamesCherrill
0
280
Member Avatar for random_1

First of, i didn't know where to post this question as it isn't actually programming based but yeah. sorry.. Anyway, I was going through my binary file trying to figure out something for my program and i realized that I didn't know what the 00 sequences actually represent. what are …

Member Avatar for Reverend Jim
0
297
Member Avatar for fatima_7

hi how can change the size of image: from CSS for three pages using dreamweaver ? how can i (position and reposition something in the page)? i tried this tag, but nothing change: img.resiz{width:200px;height:1000px; what is missing ?? should i include the img link? and what will be the correct …

Member Avatar for Tarek_2
0
271
Member Avatar for Robert_72

I'm start experiment with nodejs/coffeescript and the jade engine. I can see from the examples that setup are around seems pretty standard. app = express.createServer().listen process.env.PORT app.configure -> app.set 'views', __dirname + '/views' app.set 'view engine', 'jade' app.set 'view options', layout: true app.use express.bodyParser() app.use express.static(__dirname + '/public') app.use app.router …

Member Avatar for Tarek_2
0
2K
Member Avatar for screenedcreamy

I have this use case where in I would need to dynamically create java objects out of json input and insert the data into sql tables. I tried using gson APIs but unfortunately we need to specify strucuture of that class (Car.class). Is it possible to dynamically achieve the above …

Member Avatar for Tarek_2
0
363
Member Avatar for fatima_7

**I need someone 2 help me drawing the ER diagram for this scenario :( ** Draw an ER Model and the corresponding relational model (logical model) for the following problem. StrongTEETH4U is a private dental clinic that is well known and has an excellent reputation in the area. All patients …

Member Avatar for Tarek_2
0
700
Member Avatar for kenneth_12

SimpleDateFormat sdf = new SimpleDateFormat("MM/dd/yyyy"); Date date = sdf.parse(d); Calendar cal = GregorianCalendar.getInstance(); cal.setTime(date); for (i=0;x>i;i++){ cal.add(GregorianCalendar.DATE, 7); String t = sdf.format(cal.getTime()); DefaultTableModel model = (DefaultTableModel) jTable1.getModel(); model.addRow(new Object[]{t,c}); }

Member Avatar for Tarek_2
0
446
Member Avatar for alda_1

heyy can anyone please help me with this homework in java because i am new at this Create a program where it should appear in a dialog box your name,last name and the avarage of four exams :)

Member Avatar for Tarek_2
0
300
Member Avatar for COKEDUDE

My second while condition is being ignored and I don't understand why. I would think I have 1 and 0 = 0 so it would break out. while(fgets(line, sizeof line, stdin) && sscanf_counter != 2) { }

Member Avatar for rubberman
0
262
Member Avatar for Moksuhd

Hi guys, This is my first post and basically i require some help editing my current code to help display number of students with a mark of 40 or above specifically. And also i am having difficulty generating a average i thought i done it but it remained constant a …

Member Avatar for JamesCherrill
0
442
Member Avatar for Paul Brian

convert from: loops properly convert to: loops back to from (should just loop back to convert to:) need some guidance #include<iostream> using namespace std; int main() { int num; char ch='y'; int amount; int choice1,choice2; while(ch=='y'||ch=='Y') { do { system("cls"); cout<<"\t\t|DLSL CURRENCY EXCHANGE PROJECT |"<<endl; cout<<"convert currency from: "; cin>>choice1; …

Member Avatar for tinstaafl
0
245
Member Avatar for rahaf_1

Write a program that computes the gold zakat. The user should enter the gold weight in gram and its worth. The program should print and calculate the zakat if the gold is worth 3000 or more. Otherwise, the program should print 0. Hint: zakat = gold worth * 2.5% how …

Member Avatar for rahaf_1
-1
1K
Member Avatar for George_23

Hi everyone, I've been searching through these forums to find a way to transfer my program output [including the user's input] to a .txt file. The program basically gets the user's name and their choice of ingredients and then prints out a receipt of their order. Below I've attached what …

Member Avatar for JamesCherrill
0
510
Member Avatar for Lena_1

I am new to Java Programming, I need help on this.. Any help would be appreciated. Write a java program that generates a random number between 50 and 100 for a student grade and determines the letter grade of the student. The student grade is determined based on the following …

Member Avatar for Tarek_2
0
367
Member Avatar for Syed Suleman

I have to create a sign up and log in forum in Java . But I have no idea how to do, or what to do I really need help otherwise.

Member Avatar for Tarek_2
0
178
Member Avatar for newprogrammer14

This might be a simple problem but I had difficulties finding a solution. I'm trying to return data in specified formats for the same input. I've data in two tables - Book_Details and Book_Summaries - which I need to combine in fixed formats. My requirement is that I need to …

Member Avatar for newprogrammer14
0
324
Member Avatar for Aarav

Hi, I have built an application using java programming and I want to write MySQL table data to excel sheet by using Apache's POI libraries and MySQL connector in java. I have explored many [mobile development blogs](findnerd.com/NerdDigest) for my previous query on Android Programming & get a satisfactory solution. I …

Member Avatar for Tarek_2
0
349
Member Avatar for Slavi

Hey guys, Just got a quick question ... I am implementing a client GUI, and part of the requirements are that the client is able to start, stop and restart the server. This got me a bit confused since the client connects after the server is running. What I am …

Member Avatar for Slavi
0
311
Member Avatar for moaz.amin.37

if a gui have 2 text fields and there are 10 buttons(0-9) to input numbers in text fields then how it will choose that which field get input. this i problem in my gui i write 2 methods but not working my code is below public void actionPerformed(ActionEvent e){ if(e.getSource()==b1){ …

Member Avatar for moaz.amin.37
0
308
Member Avatar for vivekH

Frnds, My questions is "how come to know whether the number is even or odd without using %,/,bitwise operator".

Member Avatar for vivekH
0
269
Member Avatar for Navneet_2
Member Avatar for jwenting
-2
199
Member Avatar for LilPrincess017

Hi thanks for reading this post. Hope you could help me. I have this question i can't figure out. Thanks in advanced for helping :) I kept receiving message dialog box containing "The document has no pages." whenever i click the PrintAllbutton. I used jasperreports, in which i'm not familiar …

Member Avatar for Tarek_2
0
3K
Member Avatar for NardCake

This tutorial is designed to get someone started with D that hasn't used it yet, it assumes you have some type of programming experience. # What is D? # In one sentence (from [dlang.org](http://dlang.org)) *"D is a language with C-like syntax and static typing. It pragmatically combines efficiency, control, and …

Member Avatar for Tarek_2
1
797
Member Avatar for redtribal23

Below is my queue code. Whenever I enter nos. 1 to 8, it will print 1-7 then replace 8 with 0. If there are any other mistakes in my code please let me know. import java.util.Arrays; import java.util.Scanner; public class Queue { private int[] elements; //integer values from scanner private …

Member Avatar for Tarek_2
0
350
Member Avatar for kayleigh0411

I have to create a program that will calculate the the average miles per tank and the cost to fill tank of a car. The inputs are tank capacity, miles per gallon, and price per gallon, the outputs are average miles per tank and cost to fill tank. I have …

Member Avatar for Tarek_2
0
201
Member Avatar for Pyler

Suppose I have the following generic classes; Queue<T> KellysCoffee CheckOut and the following generic interfaces QueueInterface OrderLineInterface Suppose I want `KellysCoffee` to extend Queue class and implement `OrderLineInterface` This is how I've done it private class KellyCoffee<Order extends Queue<Order>> implements OrderLineInterface{} Now when I try to implement `CheckOut` public class …

Member Avatar for Pyler
0
294
Member Avatar for Pavan_5

I am trying to develop the genetic algorithm to solve Traveling Saleman problem and part of my challenge is to generate random tours long enough and write a fitness function to evaluate the cost incurred for each of the random tour. I have attempted to write the following. My objective …

Member Avatar for JamesCherrill
0
421