January 11th, 2014, 09:46 AM
hi.i wrote a code to sort elements of a matrix which are in one row,but it doesn't run well .what should i do??
here's the code
#include <cstdlib>
#include <iostream>
#include <conio.h>...
January 11th, 2014, 09:40 AM
it's solved thanks for your help
January 10th, 2014, 01:41 PM
i don't know what debugger is??i use dev compiler
January 10th, 2014, 01:10 PM
i mean program run well when i entered sort but it also print you have entered wrong answer.
January 10th, 2014, 11:14 AM
hi.i have several if and else if,but the last if only check one if what's the problem.
plz help
if(strcmp(func,"add")==0 || strcmp(func,"ADD")==0)
{
//some orders.
}
else
{
November 24th, 2013, 09:32 AM
you know,i understand how to solve it and it's over.but i want to know that how can i use debuger of a compiler?
i use dev c++ compiler
November 23rd, 2013, 01:38 PM
again i change the code to this but aint solved
for( ;counter>=0;counter--)
for(j=0;j<=(counter-1);j++)
...
November 23rd, 2013, 01:09 PM
November 23rd, 2013, 09:43 AM
hi again.i change the main code to this but the output is not that i wanted.what should i do????
for( ;counter>=0;counter--)
for(j=0;j<=count;j++)
...
November 23rd, 2013, 09:26 AM
thanks,but i dont understood how to solve it and the correct code is not needed,just if you could guide me more.
it means the last if should be :if(student[j-1]<student[j]
everything would be...
November 23rd, 2013, 05:37 AM
Hi.i program a software to get scores from admin and sort them ascending then show the middle score(if admin enter middle).but when i compile it nothing happen.what should i do?here's code ,i use dev...