insertion sort is working now i'm trying merge sort its my code. it is working but it doesnt sorting.
//merge_sort.h
#pragma once
#ifndef MERGE_SORT_H
#define MERGE_SORT_H
class merge_sort...
Type: Posts; User: targetz0ne
insertion sort is working now i'm trying merge sort its my code. it is working but it doesnt sorting.
//merge_sort.h
#pragma once
#ifndef MERGE_SORT_H
#define MERGE_SORT_H
class merge_sort...
thank you dude:)
and it is the console
9,2,7,3,4,
9,2,7,3,4
//its full of my code it doesnt sorting the numbers;
//.h
#pragma once
#ifndef INSERTION_SORT_H
#define INSERTION_SORT_H
class Insert_sort
{
private:
//its my inserttion sort.there is no error but i cant point the sorting list in the main.
//A.sort(); // is it true?
[
void Insert_sort::sort()
{
int key,i,k;
for(i=1;i<n;i++)
{
...
i cant show my code where is the code tags:)
thanks
i find it.İt is "insert_sort.h".I make a stupid mistake.
Now there is no error but still it doesn't sorting the array.
i try this code in visual studio 2010 win32 console application
and this is error pls help me.Sorry for my badly english
cannot open source file "insertion_sort.h"
cannot open include file...