| | |
What Is The Name Of This Sort Algorithm??
![]() |
•
•
Join Date: Mar 2005
Posts: 73
Reputation:
Solved Threads: 0
Hello
Can someone tell me what this sort algorithm is called.?
And if possible a little bit of information about it...
Can someone tell me what this sort algorithm is called.?
And if possible a little bit of information about it...
C Syntax (Toggle Plain Text)
void record_search(struct CdRecords cdDB[]) { system("CLS"); int i; char name[20]; printf("Enter Name:"); scanf("%s", name); for(i = 0;i<datasize;i++) { if((strcmp(name,cdDB[i].Artist))==0) { ENTER DATA TO BE DISPLAYED } } printf("Press Enter To Continue"); // fflush(stdin); getch(); }
•
•
Join Date: Mar 2005
Posts: 73
Reputation:
Solved Threads: 0
•
•
•
•
Originally Posted by WolfPack
I dont think it is a sorting function at all. All it does is ask the user for a name, searches the database for a match, and once a match is found display the information the user wants to see. Nope, no sort.
•
•
Join Date: Mar 2005
Posts: 73
Reputation:
Solved Threads: 0
Hey thanx for that one
also check this line out:
what does memset exactly do as i have neva encountered it before and want to know how it actually works.
also check this line out:
C Syntax (Toggle Plain Text)
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 works.
Syntax Description
memset() sets the first n bytes in memory area s to the value of c (converted to an
unsigned char). It returns s.
C Syntax (Toggle Plain Text)
#include <string.h> void *memset(void *s, int c, size_t n);
memset() sets the first n bytes in memory area s to the value of c (converted to an
unsigned char). It returns s.
![]() |
Similar Threads
- Bubble sort & File output jibrish errors??? (C)
- Narue's Heap sort a further explanation? (C)
- Index array & sort algorithm??? (Java)
- Quicksort/Insertion sort Hyrbid? (C)
- Can you guys help me? about Quick Sort Algorithm (C)
Other Threads in the C Forum
- Previous Thread: Seg Fault ~ Linked List Delete
- Next Thread: Strings: Comparing, Case-Insensitive
| Thread Tools | Search this Thread |
#include adobe ansi api array asterisks binarysearch changingto char character cm copyimagefile cprogramme creafecopyofanytypeoffileinc createcopyoffile csyntax database directory dynamic execv feet fgets file fork forloop frequency function getlasterror givemetehcodez global grade graphics gtkgcurlcompiling hacking hardware highest histogram i/o include incrementoperators infiniteloop input interest kernel keyboard kilometer license linked linkedlist linux linuxsegmentationfault list locate logical_drives looping loopinsideloop. lowest match matrix meter microsoft motherboard mqqueue mysql number odf opensource owf pattern pdf performance pointer posix probleminc process program programming radix recursion recv repetition research reversing scanf segmentationfault sequential shape socket socketprograming standard string systemcall threads turboc unix user voidmain() wab windows.h windowsapi






