No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi Guys, this is searching coding. I needs to ;- - read data from file - DONE - bubble sort - DONE - to find the data (searching) - [B]undone.[/B] can anyone help me to find the error in my coding.. coz when i run my program, my algorithm [B]void … |
|
Hi .. anyone can help me out to solve this problem... coding to read the file... 1. this coding is well working... can list down all the data in dataM.txt [CODE]ifstream OpenFile("D:\\dataM.txt"); int a; if(!OpenFile) { cout << "While opening a file an error is encountered" << endl; } else … |
|
hi all, when i run this code (quick sort), i ll get ascending order as output... now i want descending order instead... anybody know how to altert this code..uhuhuh [CODE]void QuickSorting::sort(int a[], int lo, int up) { { int i, j, pivot; while ( up>lo ) { i = lo; … |