Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
33% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
1
0 Endorsements
~10.6K People Reached
Favorite Tags
Member Avatar for slr

Hello I am making a simple page with one form. I want to update the password for a user in a table in MySQL - there is only one user in the table. The code DOES work. It really does update the table record, but once its updated, if succesfful …

Member Avatar for yewbhex
0
270
Member Avatar for DARK_BYTE

HI I am currently doing my final year project and I need to build an algorithm visualization tool(with user defined algorithm animation). The user defined animation takes place as follows: 1. The user can open a text editor in the GUI and type his/her user-defined algo in java 2. When …

0
65
Member Avatar for DARK_BYTE

Hi I need to animate user defined algorithms and I have a myGraph class. The dfs() and bfs() will go into the user-defined algorithm the user types and saves in a text-editor included with my program. I am checking the adjacency matrix to know if two vertex are connected by …

0
216
Member Avatar for DARK_BYTE

Hi I have to develop an algorithm visualization tool for my project. I divided my tool into these 4 modules below: [QUOTE]The tool will be divided into 4 modules: -The GUI -The Visualisation module -The Calculate module -The Compile module The GUI the GUI class is the class that forms …

Member Avatar for JamesCherrill
0
375
Member Avatar for DARK_BYTE

HI I am working on a project to animate user-defined algos. I am still at the very beginning but I am practicing code in swing and here is an Array class that the user can use in his user defined algo: [CODE] import java.awt.*; import javax.swing.*; public class Array1 extends …

Member Avatar for DARK_BYTE
0
226
Member Avatar for DARK_BYTE

Hi I have a project in which I have to build an algorithm visualization tool. Up until now I have been going in a static direction thinking of having in built menus that allowed a user to create an animation of a sorting algorithms but now my tutor wants me …

Member Avatar for JamesCherrill
0
149
Member Avatar for DARK_BYTE

Hi I have to write a simple client server application using TCP sockets to implement a movie server application (for MPEG files) whereby clients can register to a main system (server) and then watch movies. The problem is I don't know how to send video files over tcp, can someone …

Member Avatar for Jaishu
0
1K
Member Avatar for DARK_BYTE

Hi I successfully wrote a program that keeps sending data from client to server and from server back to client where the client prints the data. But now I'm trying to write one whereby the user enter numbers at the client and they are sent to the server whereby they …

Member Avatar for JamesCherrill
0
100
Member Avatar for DARK_BYTE

I wrote this code below and it isn't working giving me a stack overflow problem.Can someone please help me? [CODE]#include<iostream> using namespace std; int partition(int* A,int l,int r) { int v=A[r]; int i=l; int j=r; int temp; while(i<j) { while(A[i]<v) { i++; } while((i<j)&&(A[j]>=v)) { j--; } if (i<j) { …

Member Avatar for DARK_BYTE
0
125
Member Avatar for DARK_BYTE

Hi I am trying to answer this question for my homework: [QUOTE] Populate a text file EmployeeDetails.txt (for 20 employees) with details of each employee on a single line. Details of an employee will consist of Name, Address, Age and Salary. Write a C++ or Java program to implement an …

Member Avatar for Clinton Portis
0
104
Member Avatar for DARK_BYTE

So I made a register script and a login script for my website; here is the register script: [CODE] <?php $host="localhost"; $username="root"; $password="quatre"; $database="binary"; //make connection to mysql //and store connection in the variable $con $con=mysql_connect("localhost","root", "quatre"); if(!$con) { die('Could not connect'. mysqlerror()); } mysql_select_db($database); $aid=$_POST['aid']; $pass=$_POST['password']; $fname=$_POST['fname']; $lname=$_POST['lname']; $phone=$_POST['phone']; …

Member Avatar for DARK_BYTE
0
193
Member Avatar for DARK_BYTE

So I have a script that retrieves an image from a sql table and displays it. I can call the script inside a html using something like this: [CODE] <img src="display01.php"/> [/CODE] Now I have another script called "text01.php" that fetches text from the sql table and the script works …

Member Avatar for DARK_BYTE
0
1K
Member Avatar for DARK_BYTE

Hi I have to build the like of a commercial website for my project and all was going well until I had to try to insert images in a SQL database ; I tried to modify some code that I found online but it is not working. The idea is …

Member Avatar for zinnqu
0
107
Member Avatar for DARK_BYTE

Hi can someone please explain to me what is the difference between writing onclick="confirmLink()" and onclick="return confirmLink()" I tried both and they did the same thing and I am confused since the lazy fellows from my university have given me old notes in which they randomly include the "return" sometimes …

Member Avatar for DARK_BYTE
0
168
Member Avatar for DARK_BYTE

Hi wat's wrong with my "do while" loop it never allows me to enter the grade even if I enter 'A' or 'B' or 'C'..? [code] import java.util.Scanner; public class ArraysOfStudentDetails { public static void main( String [] args ) { Scanner in = new Scanner( System.in ); final int …

Member Avatar for Jocamps
0
98
Member Avatar for DARK_BYTE

Hello I wrote a class Employee and a tester class TestEmployee.The problem is that I get this exception after I enter the first employee's id.I thght if I give default values to the instance field the exception shouldn't have occured; can someone help me with this please: Employee class: [code] …

Member Avatar for DARK_BYTE
0
144
Member Avatar for DARK_BYTE

Hello I'm doing my OS homework and I need to know how to read an write a 32 bit integer with the write system call Here is the code that I wrote: [code] #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include<unistd.h> #include<string.h> struct Person { char name[21]; int ch_in_name; char address[21]; …

Member Avatar for gerard4143
0
4K
Member Avatar for DARK_BYTE

Hello I'm building a form inside a table but the output is not what I expected; the table should have looked like this: [ATTACH]11888[/ATTACH] Here is my code: [code] <html> <head> <title></title> </head> <body> <form name="frm_details" method="post" action="mailto:someone@hotmail.com"> <table border="1"> <tr> <td>Name</td> <td><input type="text" name="name" size="30"></td> <td>ID</td> <td><input type="text" name="Id" …

Member Avatar for DARK_BYTE
-1
1K
Member Avatar for DARK_BYTE

I'm writing a program that needs to use only the Unix system calls open, read and write to get and print data!The problem is that the program doesn't allow me to input the marital status of the first student! Am I missing something? Here is the code: [code] #include<stdio.h> #include …

Member Avatar for DARK_BYTE
0
226