amigos este es el cacho
#include<iostream>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
using namespace std;
#define ELEMENTOS 3
struct estructura_empleado
{
    char rut[11];
    char nombre[30];
    char apellido[40];
    int cod_empleado;
    char sexo;
    char telefono[20];
    int edad;
};
struct estructura_empleado empleado[ELEMENTOS];
int main()
{
    int opcion;
    int num_empleado=0;
    int siono;
    int m=0;
    int h=0;
    int i=0;
    int constante1;
    int contador;
    int opcion2;
    int opcion3;
    int j=0;
    int x=0;
    int aux1;
    int aux2;
//
case 4:
                                system ("cls");
                               printf("\n          ==========================");
                               printf("\n          #      ORDENAMIENTO      #");
                               printf("\n          ==========================");
                               printf("\n          #                        #");
                               printf("\n          # 1.- por codigo         #");
                               printf("\n          # 2.- por edad           #");
                               printf("\n          # 3.- SALIR              #");
                               printf("\n          #                        #");
                               printf("\n          ==========================");
                               printf( "\n\n Ingrese una opcion " );
                               scanf( "%i", &opcion3 );
       /*        switch( opcion3 )
                              case 1:
                                    for(x=0;x<ELEMENTOS;x++)
                                    {
                                    for(j=1;j<ELEMENTOS;j++)
                                    {
                                    if(empleado
.cod_empleado>empleado[j].cod_empleado)
                                    {
  //                                  aux1=empleado;
  //                                  aux2=empleado[j];
  //                                  empleado=aux2;
  //                                  empleado[j]=aux1;
                                    }
                                    }
                                    }
                
         */       
break;
//
no ordena la wea
SALUDOS
ACCEPT
ciaoooooooooo