<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-10319116</id><updated>2011-04-21T11:21:29.209-07:00</updated><title type='text'>Daniel y mas</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://danielmas.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10319116/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://danielmas.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Daniel</name><uri>http://www.blogger.com/profile/03058259042873424493</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-10319116.post-114063957378606706</id><published>2006-02-22T12:14:00.000-08:00</published><updated>2006-02-22T12:19:33.800-08:00</updated><title type='text'>lista de nombres</title><content type='html'>#include &lt;stdio.h&gt;&lt;br /&gt;#include &lt;conio.h&gt;&lt;br /&gt;#include &lt;stdlib.h&gt;&lt;br /&gt;#include &lt;string.h&gt;&lt;br /&gt;&lt;br /&gt;struct lista1{&lt;br /&gt; char n[30];&lt;br /&gt; struct lista1 *sig;&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;struct lista2{&lt;br /&gt; char n;&lt;br /&gt; struct lista1 *aba;&lt;br /&gt; struct lista2 *sig;&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;typedef struct lista1 lista1;&lt;br /&gt;typedef struct lista2 lista2;&lt;br /&gt;&lt;br /&gt;void insertar(lista2 **i);&lt;br /&gt;void desplegar(lista2 *i);&lt;br /&gt;void ordenar(lista2 **i);&lt;br /&gt;&lt;br /&gt;void main(){&lt;br /&gt; lista2 *inicio=NULL;&lt;br /&gt; int op;&lt;br /&gt; do{&lt;br /&gt;   clrscr();&lt;br /&gt;   gotoxy(37,2); printf("Listas Enlazadas");&lt;br /&gt;   gotoxy(38,5); printf("MENU");&lt;br /&gt;   gotoxy(20,8); printf("0.- Salir");&lt;br /&gt;   gotoxy(20,10); printf("1.- Insertar Nodo");&lt;br /&gt;   gotoxy(20,12); printf("2.- Desplegar Nodos");&lt;br /&gt;   gotoxy(20,14); printf("3.- Ordenar Nodos");&lt;br /&gt;   gotoxy(35,20); printf("Opcion [ ]\b\b");&lt;br /&gt;   scanf("%d",&amp;op);&lt;br /&gt;   switch(op){&lt;br /&gt;      case 1: insertar(&amp;inicio);&lt;br /&gt;                  break;&lt;br /&gt;      case 2: desplegar(inicio);&lt;br /&gt;                  break;&lt;br /&gt;      case 3: //ordenar(&amp;inicio);&lt;br /&gt;                  printf("Los Nodos han sido ordenados");&lt;br /&gt;                  getch();&lt;br /&gt;                  break;&lt;br /&gt;   }&lt;br /&gt; }while(op!=0);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void insertar(lista2 **i)&lt;br /&gt;{&lt;br /&gt; char no[20];&lt;br /&gt; lista1 *nom=NULL,*ax=NULL;&lt;br /&gt; lista2 *aux=*i;&lt;br /&gt; printf("Nombre: ");&lt;br /&gt; scanf("%s",no);&lt;br /&gt; if(*i==NULL){&lt;br /&gt;   *i=(lista2 *)malloc(sizeof(lista2));&lt;br /&gt;   (*i)-&gt;n=no[0];&lt;br /&gt;   (*i)-&gt;sig=NULL;&lt;br /&gt;   (*i)-&gt;aba=(lista1 *)malloc(sizeof(lista1));&lt;br /&gt;   strcpy((*i)-&gt;aba-&gt;n,no);&lt;br /&gt;   (*i)-&gt;aba-&gt;sig=NULL;&lt;br /&gt; }&lt;br /&gt; else{&lt;br /&gt;    do{&lt;br /&gt;      if(aux-&gt;n==no[0]){&lt;br /&gt;             nom=(lista1 *)malloc(sizeof(lista1));&lt;br /&gt;             strcpy(nom-&gt;n,no);&lt;br /&gt;             nom-&gt;sig=NULL;&lt;br /&gt;             ax=aux-&gt;aba;&lt;br /&gt;             while(ax-&gt;sig!=NULL){&lt;br /&gt;                ax=ax-&gt;sig;&lt;br /&gt;             }&lt;br /&gt;             ax-&gt;sig=nom;&lt;br /&gt;      }&lt;br /&gt;      aux=aux-&gt;sig;&lt;br /&gt;    }while(aux!=NULL);&lt;br /&gt;    if(nom==NULL)&lt;br /&gt;    {&lt;br /&gt;       aux=*i;&lt;br /&gt;       while(aux-&gt;sig!=NULL){&lt;br /&gt;                aux=aux-&gt;sig;&lt;br /&gt;             }&lt;br /&gt;       aux-&gt;sig=(lista2 *)malloc(sizeof(lista2));&lt;br /&gt;       aux=aux-&gt;sig;&lt;br /&gt;       aux-&gt;n=no[0];&lt;br /&gt;       aux-&gt;sig=NULL;&lt;br /&gt;       nom=(lista1 *)malloc(sizeof(lista1));&lt;br /&gt;       strcpy(nom-&gt;n,no);&lt;br /&gt;       nom-&gt;sig=NULL;&lt;br /&gt;       aux-&gt;aba=nom;&lt;br /&gt;    }&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;void desplegar(lista2 *i)&lt;br /&gt;{&lt;br /&gt;  lista2 *aux=i;&lt;br /&gt;  lista1 *ax=aux-&gt;aba;&lt;br /&gt;  while(aux!=NULL){&lt;br /&gt;    printf("\n%c\n",aux-&gt;n);&lt;br /&gt;    ax=aux-&gt;aba;&lt;br /&gt;    while(ax!=NULL){&lt;br /&gt;      printf("%s  ",ax-&gt;n);&lt;br /&gt;      ax=ax-&gt;sig;&lt;br /&gt;    }&lt;br /&gt;    aux=aux-&gt;sig;&lt;br /&gt;  }&lt;br /&gt;  getch();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;/*&lt;br /&gt;void ordenar(lista1 **i)&lt;br /&gt;{&lt;br /&gt;  int nn=0,u,e;&lt;br /&gt;  char ax[30]={""};&lt;br /&gt;  lista1 *aux=*i;&lt;br /&gt;  while(aux!=NULL) {&lt;br /&gt;     nn++;&lt;br /&gt;     aux=aux-&gt;sig;&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  for(u=nn; u&gt;1; u--){&lt;br /&gt;     aux=*i;&lt;br /&gt;     for(e=1;e&lt;u;e++){&lt;br /&gt;            if(strcmp(aux-&gt;n,aux-&gt;sig-&gt;n)&gt;0){&lt;br /&gt;               strcpy(ax,aux-&gt;n);&lt;br /&gt;               strcpy(aux-&gt;n,aux-&gt;sig-&gt;n);&lt;br /&gt;               strcpy(aux-&gt;sig-&gt;n,ax);&lt;br /&gt;            }&lt;br /&gt;            aux=aux-&gt;sig;&lt;br /&gt;     }&lt;br /&gt;  }&lt;br /&gt;} */&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10319116-114063957378606706?l=danielmas.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://danielmas.blogspot.com/feeds/114063957378606706/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10319116&amp;postID=114063957378606706' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10319116/posts/default/114063957378606706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10319116/posts/default/114063957378606706'/><link rel='alternate' type='text/html' href='http://danielmas.blogspot.com/2006/02/lista-de-nombres.html' title='lista de nombres'/><author><name>Daniel</name><uri>http://www.blogger.com/profile/03058259042873424493</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10319116.post-110637697170180179</id><published>2005-01-21T22:51:00.000-08:00</published><updated>2005-01-21T22:56:11.700-08:00</updated><title type='text'>Lo bueno ke es un blog</title><content type='html'>El tener un blog es bastante util debido a que es un medio de comunicacion masivo con el cual puedes advertir o enseñar cualquier novedad o comentario a todos los que esten viendo el comentario yo me encargare de publicar todo tipo de noticias rteferente a la informatica.&lt;br /&gt;&lt;br /&gt;Estoy estudiando la carrera de Informatica y estoy en 2do semestre en la Universidad Autonoma de Baja California.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10319116-110637697170180179?l=danielmas.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://danielmas.blogspot.com/feeds/110637697170180179/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10319116&amp;postID=110637697170180179' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10319116/posts/default/110637697170180179'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10319116/posts/default/110637697170180179'/><link rel='alternate' type='text/html' href='http://danielmas.blogspot.com/2005/01/lo-bueno-ke-es-un-blog.html' title='Lo bueno ke es un blog'/><author><name>Daniel</name><uri>http://www.blogger.com/profile/03058259042873424493</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
