Menú

Mostrar Mensajes

Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.

Mostrar Mensajes Menú

Mensajes - Leyer

#51
Hola gente, veran tengo un problema he estado intentando instalarme PyQT, cuando lo voy a instalar me pide que instale SIP ok, lo descargo lo intento instalar y me muestra el siguiente error:


root@leyer-AO532h:/home/leyer/sip-4.13# python configure.py
This is SIP 4.13 for Python 2.6.5 on linux2.
The SIP code generator will be installed in /usr/bin.
The sip module will be installed in /usr/lib/python2.6/dist-packages.
The sip.h header file will be installed in /usr/include/python2.6.
The default directory to install .sip files in is /usr/share/sip.
The platform/compiler configuration is linux-g++.
Creating siplib/sip.h...
Creating siplib/siplib.c...
Creating siplib/siplib.sbf...
Creating sipconfig.py...
Creating top level Makefile...
Creating sip code generator Makefile...
Creating sip module Makefile...
root@leyer-AO532h:/home/leyer/sip-4.13# make
make[1]: Entering directory `/home/leyer/sip-4.13/sipgen'
gcc -c -pipe -O2 -w -DNDEBUG -I. -o main.o main.c
gcc -c -pipe -O2 -w -DNDEBUG -I. -o transform.o transform.c
gcc -c -pipe -O2 -w -DNDEBUG -I. -o gencode.o gencode.c
In file included from /usr/include/bits/errno.h:25,
                 from /usr/include/errno.h:36,
                 from gencode.c:22:
/usr/include/linux/errno.h:4:23: error: asm/errno.h: No such file or directory
make[1]: *** [gencode.o] Error 1
make[1]: Leaving directory `/home/leyer/sip-4.13/sipgen'
make: *** [all] Error 2


alguna idea de como solucionarlo?

un saludo.
#52
Java / Re: Postear en un foro SMF desde Java
5 Diciembre 2011, 18:27 PM
Lee el codigo fuente y buscas el formulario asi sabras que parametros colocar

como topic,message,icon,subject, etc... no olvides los  hidden
#53
Java / Re: Postear en un foro SMF desde Java
5 Diciembre 2011, 13:35 PM
Una vez logueado tienes que usar GetMethod para moverte por las secciones del foro y para hacer un post usas postMethod
#54
Mint o Fedora con LXDE son muy buenos :)
#55
Java / Re: ayuda con ficheros
5 Diciembre 2011, 05:07 AM
Código (java) [Seleccionar]
for (int j=0; j<5;j++){
                   pw.print(" "+ boleto[j][i]);
            }
            pw.print("     estrellas:");
            for (int s=5; s<7; s++){
               pw.print(" "+boleto[s][i]);
            }

:huh:

   
Código (java) [Seleccionar]
public static void fichero(int [][]boleto)throws IOException{
       FileWriter fichero = null;
       PrintWriter pw = null;
       try{
           fichero = new FileWriter("ep.txt");
           pw = new PrintWriter(fichero);
           pw.println(" ");
           pw.println(" ");
           pw.println(" ");
           for (int i = 0; i < boleto.length; i++){
            pw.println();
            pw.print("Apuesta"+(i+1));
            pw.print("     números:");
            String nr="";
            for (int j=0; j<5;j++){
            nr+=boleto[i][j]+" ";
                   pw.print(" "+ boleto[i][j]);
            }
            nr=nr.substring(0,nr.lastIndexOf(" "));
            for(int spc=nr.length();spc<14;spc++)pw.print(" ");
            pw.print("     estrellas:");
            for (int s=5; s<7; s++)
               pw.print(" "+boleto[i][s]);
           }
           pw.println("         --------------------           ");
       }finally{
        pw.close();
       }
   }


#56
Java / MOVIDO: ME PRESENTO Y PIDO ORIENTACION
5 Diciembre 2011, 03:27 AM
Lo siento me he equivocado  :xD

El tema ha sido movido a Ejercicios.

http://foro.elhacker.net/index.php?topic=346789.0
#57
Java / Re: Postear en un foro SMF desde Java
5 Diciembre 2011, 02:11 AM
aajaja lo que pasa es que no habia notado que estaba en visibilidad privada :xD
#58
Java / Re: Postear en un foro SMF desde Java
4 Diciembre 2011, 22:30 PM
Con httpclient de apache es muy facil, aqui te dejo este codido para que tengas una base

http://jleyer.wordpress.com/2011/07/30/loguease-en-un-foro-smf/
#59
es una pregunta algo rara :xD
#60
Programación C/C++ / Re: Ayuda con matrices String
1 Diciembre 2011, 23:02 PM
char *jugadores[]={"uy","ay","ey"};