Forum: Computer Science Oct 4th, 2006 |
| Replies: 0 Views: 1,512 Hello
Everyone, been a while since i was here. Im doing my final year project (Dissertation) in BSc Computing Science, problem is i can not find a suitable topic to do it on, is there neone that... |
Forum: Java May 4th, 2006 |
| Replies: 1 Views: 1,774 Ok got a new problem i've started to implement a GUI for my program but for some reason in the actionlistener metho i cannot pass the method i want to display.. I dont know what im doing wrong... |
Forum: Java May 4th, 2006 |
| Replies: 1 Views: 848 Ok i got this thing to compile now perfectly no errors, when i run it the menu comes up. The problem is when i use the option in the menu it gives me an exception error??
ne one know where i went... |
Forum: Java May 4th, 2006 |
| Replies: 4 Views: 1,138 Thanks.
i changed the code to this::
public class Schedule
{
Vector ch1Time = new Vector();
Vector ch2Time = new Vector();
int userTime; |
Forum: Java May 3rd, 2006 |
| Replies: 4 Views: 1,138 Hello
Everytime i compile this i keep getting an error on non-static method can not bu passed to static method, i understand that. But how can i get around this, without making the non-static... |
Forum: Java May 3rd, 2006 |
| Replies: 1 Views: 1,862 hello.
Im having problems trying to get my jframe gui to work correctly i got the window all done fine but when i tell it to display somethis in the code , it comes up with errors when compiled.... |
Forum: Java Mar 18th, 2006 |
| Replies: 0 Views: 1,063 Hello.
I require help with my java stuff. Basically what i gotta do is create classes for a Text User Interface which will allow users to input student details.
The problem is i really am... |
Forum: Java Mar 14th, 2006 |
| Replies: 4 Views: 1,390 What do u mean by creating a connection, could you xplain abit more cuz i am new to this stuff... |
Forum: Java Mar 13th, 2006 |
| Replies: 4 Views: 1,390 Hello.
I am doing a project for a database that takes in student details and allows users to display their records.
My problem is this:
I have created a class called student (below coding) and... |
Forum: C Dec 18th, 2005 |
| Replies: 2 Views: 1,065 |
Forum: C Dec 17th, 2005 |
| Replies: 2 Views: 1,065 Trying to understand how to do this Q. Can some explain using O-notation, how would i analyse the efficiency of the two algorithms below. ?
Assuming that the critical operation is compute and... |
Forum: C Dec 13th, 2005 |
| Replies: 1 Views: 1,066 Hello
Im trying to understand and explain how the quick sort code actually works, i unable to understand or xplain line 4 to 11.
Can ne of u xplain to me briefly what those lines actually do in... |
Forum: C Dec 12th, 2005 |
| Replies: 5 Views: 1,444 Hey thanx for that one
also check this line out:
memset(cdDB,0,datasize*sizeof(struct CdRecords));
what does memset exactly do as i have neva encountered it before and want to know how it... |
Forum: C Dec 12th, 2005 |
| Replies: 1 Views: 1,452 hello
sorry ppl i been making mistakes in my posts ,, i was thinking why ppl aint answer to this one,,..
i actually needed help in making my quick sort and delete records function work... ne... |
Forum: C Dec 12th, 2005 |
| Replies: 5 Views: 1,444 My fault sorry,, i meant to ask what kind of SEARCH method is this... ? |
Forum: C Dec 11th, 2005 |
| Replies: 5 Views: 1,444 Hello
Can someone tell me what this sort algorithm is called.?
And if possible a little bit of information about it...
void record_search(struct CdRecords cdDB[])
{
system("CLS");
... |
Forum: C Dec 11th, 2005 |
| Replies: 1 Views: 1,452 i got the quicksort coding correct ,, the problem is that the data is still not sorting below is the complete program to the database.
The data is to be sorted by genre like i have stated i have... |
Forum: C Dec 10th, 2005 |
| Replies: 5 Views: 1,261 Hey thanx for the help..... but when i try to incorporate the coding u wrote to the program u helped me with in the other thread ' Why is qsort not initialised here!!??''
it dont seem to work??? |
Forum: C Dec 10th, 2005 |
| Replies: 5 Views: 1,261 Hey after spending a few hours trying to understand why my quick sort is not owrking, i've tried calling the q_sort() and quick_sort() but with no luck......
below is how i had it from the start for... |
Forum: C Dec 10th, 2005 |
| Replies: 2 Views: 2,167 dude thanx for the help.... but yesterday i did notice those problems and i changed the layout of my program and im not getting ne problems..thanks to Ancient Dragon and the rest of u guys here... |
Forum: C Dec 9th, 2005 |
| Replies: 18 Views: 2,404 Could you explain alil more because the quick sort is actually confusing me,, the layout in the code is what i got from a book and i simply changed it according to my structure.
When i compile it... |
Forum: C Dec 9th, 2005 |
| Replies: 18 Views: 2,404 Quick Q.
In the first post where i got all my coding,, is the way i call the quick-sort in the switch correct,, and are the arguments supposed to be like that? |
Forum: C Dec 9th, 2005 |
| Replies: 18 Views: 2,404 Hey it was because of the file save *c / *cpp
it works fine now. thank you very much for your help mate.
I have another of getting the quicksort to work!!
But imma work on it, and see if i can... |
Forum: C Dec 9th, 2005 |
| Replies: 18 Views: 2,404 I have checked it with the structurename above and all is the same
void init_list(struct CdRecords cdDB [])
{
int i; //TO CONTROL LOOP FOR CLEARING STRUCTURE
for (i=0;i<datasize; i++)... |
Forum: C Dec 9th, 2005 |
| Replies: 18 Views: 2,404 spelling is correct im still getting the same problem::!! |
Forum: C Dec 9th, 2005 |
| Replies: 18 Views: 2,404 when i use the one code line , its giving acompile error "Undefined Identifier CdRecords"
Also might sound dumb and crazy but how do i pass the find_free() to the sort algorithm and use it to... |
Forum: C Dec 9th, 2005 |
| Replies: 18 Views: 2,404 i've done wat u said and it still did not sort the data but the problem now also is that when i goto
display the data on screen i get all jibrish data entries???
and the search aint working... |
Forum: C Dec 9th, 2005 |
| Replies: 2 Views: 2,167 This program is almost the same as the one last i posted but here the bubble sort algorithm is not working, i get a compiler error saying::
size of cdRecords is not known
and
need explicit cast to... |
Forum: C Dec 9th, 2005 |
| Replies: 18 Views: 2,404 that the thing im not getting no compiler errors. When in the program i press the option to do a quick sort, nothing happens, its just prompts for another option.
?? dont know y |
Forum: C Dec 9th, 2005 |
| Replies: 18 Views: 2,404 I got everything working, a couple of probls with file write. But ill work it out. I just need help on getting the quick sort working here...i got it written and even in my switch statement but for... |
Forum: C Dec 8th, 2005 |
| Replies: 3 Views: 1,347 Ok try to compile and run the program.
When i enter a cdrecord instead of asking me to continue or finish, the program automatically asks for next cd record data.
Can u please show what i need to... |
Forum: C Dec 8th, 2005 |
| Replies: 5 Views: 1,764 I've tried that but for some reason it dont work. The program im working on is in the last Post i put. 'Finally Almost Finished 2 Problems!!'
Take a look there , cuz i got two vital problems in... |
Forum: C Dec 8th, 2005 |
| Replies: 3 Views: 1,347 Ok i finished off the program i was making. now i just got a couple problems icant work out....spent hours doing this please help me with my last few probs...
First thing is when i write the... |
Forum: C Dec 8th, 2005 |
| Replies: 5 Views: 1,764 sorry mate ignore the partition and global variable quetion in my last post..
i just need to know aboutt comma delimmited files, how do i do it im quite confused on this one.... |
Forum: C Dec 8th, 2005 |
| Replies: 5 Views: 1,764 is there any example i can see for comma delimited file and could you explain the use of the Global Variable and Partitioning Step...
IM in a learning stage of C, but need info on these asap.. |
Forum: C Dec 7th, 2005 |
| Replies: 5 Views: 1,764 Does anyone know the code to show the critical count for a quick sort algorithm.
Basically my cd database is almost finished.
What i need to do is show a critical count for the quicksort
... |
Forum: C Dec 7th, 2005 |
| Replies: 2 Views: 1,269 im trying to do a sort for the array structure records that i have entered...
so far i've tried to use a book to do the coding...but im lost.. can anyone tell me if im on the right track or where im... |
Forum: C Dec 7th, 2005 |
| Replies: 4 Views: 1,609 how do i read all the records from the file into memory??? |
Forum: C Dec 7th, 2005 |
| Replies: 4 Views: 1,609 I also forgot to ask,,
i've been reading books on C they all show me how to sort and search arays that are stored in memory.. But for some reason im finding it difficult to understand how i would... |
Forum: C Dec 7th, 2005 |
| Replies: 4 Views: 1,609 'ello
whenever i compile i keep getting an error saying identifier or declarator expected....for some reason i cant correct it neone know whats wrong???
#include <stdio.h>
#include... |