Forum: Computer Science and Software Design Oct 4th, 2006 |
| Replies: 0 Views: 1,248 Dissertation Help!! 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 can... |
Forum: Java May 4th, 2006 |
| Replies: 1 Views: 1,142 |
Forum: Java May 4th, 2006 |
| Replies: 1 Views: 690 Almost finished!!! no info shown after menu!!! 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: 846 Re: non-static and variable errors 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: 846 non-static and variable errors 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 method... |
Forum: Java May 3rd, 2006 |
| Replies: 1 Views: 1,266 JFrame GUI Problem 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... |
Forum: Java Mar 18th, 2006 |
| Replies: 0 Views: 824 Help with Java Classes 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 confused... |
Forum: Java Mar 14th, 2006 |
| Replies: 4 Views: 1,073 |
Forum: Java Mar 13th, 2006 |
| Replies: 4 Views: 1,073 Help with input/output in classes 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: 858 |
Forum: C Dec 17th, 2005 |
| Replies: 2 Views: 858 A couple of ?s on algorithms. Help Plz 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 size... |
Forum: C Dec 13th, 2005 |
| Replies: 1 Views: 783 Trying to understand this code??? 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 the... |
Forum: C Dec 12th, 2005 |
| Replies: 5 Views: 1,119 Re: What Is The Name Of This Sort Algorithm?? 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 actually... |
Forum: C Dec 12th, 2005 |
| Replies: 1 Views: 1,129 Re: data sorts in reverse order!! help!! 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 one... |
Forum: C Dec 12th, 2005 |
| Replies: 5 Views: 1,119 |
Forum: C Dec 11th, 2005 |
| Replies: 5 Views: 1,119 What Is The Name Of This Sort Algorithm?? 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");
int i; |
Forum: C Dec 11th, 2005 |
| Replies: 1 Views: 1,129 data sorts in reverse order!! help!! 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,041 Re: QuickSort Still Not Working?? 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,041 QuickSort Still Not Working?? 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: 1,581 Re: Bubble sort & File output jibrish errors??? 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: 1,859 Re: Why is qsort not initialised here!!?? 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: 1,859 |
Forum: C Dec 9th, 2005 |
| Replies: 18 Views: 1,859 Re: Why is qsort not initialised here!!?? 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 do... |
Forum: C Dec 9th, 2005 |
| Replies: 18 Views: 1,859 Re: Why is qsort not initialised here!!?? 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;... |
Forum: C Dec 9th, 2005 |
| Replies: 18 Views: 1,859 |
Forum: C Dec 9th, 2005 |
| Replies: 18 Views: 1,859 Re: Why is qsort not initialised here!!?? 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 only... |
Forum: C Dec 9th, 2005 |
| Replies: 18 Views: 1,859 Re: Why is qsort not initialised here!!?? 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 either,,... |
Forum: C Dec 9th, 2005 |
| Replies: 2 Views: 1,581 Bubble sort & File output jibrish errors??? 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: 1,859 Re: Why is qsort not initialised here!!?? 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: 1,859 Why is qsort not initialised here!!?? 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,083 Re: still problem 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,243 Re: critical count for quicksort?? 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,083 Finally Almost Finished 2 Problems!! :( 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 records... |
Forum: C Dec 8th, 2005 |
| Replies: 5 Views: 1,243 Re: critical count for quicksort?? 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,243 Re: critical count for quicksort?? 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,243 critical count for quicksort?? 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
quicksort... |
Forum: C Dec 7th, 2005 |
| Replies: 2 Views: 1,022 where am i going wrong!!sort & crit count 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,201 |
Forum: C Dec 7th, 2005 |
| Replies: 4 Views: 1,201 Re: Declarator or Identifier Error 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,201 Declarator or Identifier Error '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... |