CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Faraz95

Search: Search took 0.06 seconds.

  1. Replies
    3
    Views
    1,293

    sorting elements of matrix

    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>...
  2. Replies
    9
    Views
    3,576

    Re: problem with if and else if

    it's solved thanks for your help
  3. Replies
    9
    Views
    3,576

    Re: problem with if and else if

    i don't know what debugger is??i use dev compiler
  4. Replies
    9
    Views
    3,576

    Re: problem with if and else if

    i mean program run well when i entered sort but it also print you have entered wrong answer.
  5. Replies
    9
    Views
    3,576

    problem with if and else if

    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
    {
  6. Replies
    14
    Views
    3,051

    Re: why it doesn't working?

    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
  7. Replies
    14
    Views
    3,051

    Re: why it doesn't working?

    again i change the code to this but aint solved

    for( ;counter>=0;counter--)
    for(j=0;j<=(counter-1);j++)
    ...
  8. Replies
    14
    Views
    3,051

    Re: why it doesn't working?

    i use dev c++ compiler
  9. Replies
    14
    Views
    3,051

    Re: why it doesn't working?

    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++)
    ...
  10. Replies
    14
    Views
    3,051

    Re: why it doesn't working?

    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...
  11. Replies
    14
    Views
    3,051

    why it doesn't working?

    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...
Results 1 to 11 of 11





Click Here to Expand Forum to Full Width

Featured