elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Guía rápida para descarga de herramientas gratuitas de seguridad y desinfección


  Mostrar Mensajes
Páginas: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 [15] 16
141  Programación / Programación C/C++ / Re: Ayuda con metodo de ordenacion en: 21 Junio 2010, 15:45 pm
Tengo unas dudas:

1- ¿Por qué pasas como parámetro datos, directamente no sería mejor declararlo localmente si para lo único que lo utilizas es para leer datos del archivo?
2-¿Por qué ordenas si todo es en ámbito local y al salir se pierde la ordenación?

142  Programación / Programación C/C++ / Re: función de seguimiento de errores en: 20 Junio 2010, 22:30 pm
Citar
Y siempre devuelve STATE A porque está bien, el objetivo es que me devuelva B si hay algún error inicializando variables
Citar
Mmmmm tendrias que explicarte un poco mejor, porque yo la verdad no entiendo cual seria la funcionalidad

¿Que devuelva error al inicializar una variable? ¿Cómo sucederá esto si se supone que estás inicializando bien dicho campo de la estructura, en cualquier otro caso el compilador es el que informará el error cierto?

No entiendo la finalidad  :xD
143  Programación / Programación C/C++ / Re: función de seguimiento de errores en: 20 Junio 2010, 17:42 pm
Es cierto, esa función siempre devolverá 0. ¿No sería conveniente que se pase la estructura a analizar a sasfid?
144  Programación / Programación C/C++ / Re: Con que IDE Programais? en: 20 Junio 2010, 01:09 am
Con VS también puedes hacer interfaces gráficas fácilmente.
145  Programación / Programación C/C++ / Re: Virus sys32.exe en: 19 Junio 2010, 15:23 pm
¿Por qué declara 2 funciones tipo int, y no devuelve ningún valor dentro de ellas?
146  Programación / Programación C/C++ / Re: Con que IDE Programais? en: 19 Junio 2010, 15:18 pm
vim + gcc (?)
147  Programación / Programación C/C++ / Re: Texto que rebota en C en: 17 Junio 2010, 23:46 pm
Que librerías tienes disponibles o puedes usar?
148  Sistemas Operativos / GNU/Linux / Edición de tty's en: 17 Junio 2010, 21:08 pm
Hace poco me surgió una duda... Al usar las tty's de ubuntu 10.04, aparece el título "Ubuntu 10.04 LTS LOCALHOST tty*", en que fichero se almacena esto? Quisiera editar ese título.
149  Sistemas Operativos / GNU/Linux / OpenBox - Configuración en: 17 Junio 2010, 00:46 am
Tal vez ustedes puedan ayudarme, este es mi autostart.sh

Código
  1. # This shell script is run before Openbox launches.
  2. # Environment variables set here are passed to the Openbox session.
  3.  
  4. # Set a background color
  5. BG=""
  6. if which hsetroot >/dev/null; then
  7.    BG=hsetroot
  8. else
  9.    if which esetroot >/dev/null; then
  10. BG=esetroot
  11.    else
  12. if which xsetroot >/dev/null; then
  13.    BG=xsetroot
  14. fi
  15.    fi
  16. fi
  17. test -z $BG || $BG -solid "#303030"
  18.  
  19. ######AQUI EL PROBLEMA#####
  20. #Establecer wallpaper
  21. feh --bg-scale /home/cbug/Imágenes/vladstudio_blackcat_1152x86.jpg
  22. #Ininicar Conky
  23. conky
  24. #Iniciar Xfce-panel
  25. xfce4-panel
  26. ########################
  27.  
  28.  
  29. # D-bus
  30. if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
  31.       eval `dbus-launch --sh-syntax --exit-with-session`
  32. fi
  33.  
  34. # Make GTK apps look and behave how they were set up in the gnome config tools
  35. if test -x /usr/libexec/gnome-settings-daemon >/dev/null; then
  36.  /usr/libexec/gnome-settings-daemon &
  37. elif which gnome-settings-daemon >/dev/null; then
  38.  gnome-settings-daemon &
  39. # Make GTK apps look and behave how they were set up in the XFCE config tools
  40. elif which xfce-mcs-manager >/dev/null; then
  41.  xfce-mcs-manager n &
  42. fi
  43.  
  44. # Preload stuff for KDE apps
  45. if which start_kdeinit >/dev/null; then
  46.  LD_BIND_NOW=true start_kdeinit --new-startup +kcminit_startup &
  47. fi
  48.  
  49. # Run XDG autostart things.  By default don't run anything desktop-specific
  50. # See xdg-autostart --help more info
  51. DESKTOP_ENV=""
  52. if which /usr/lib/openbox/xdg-autostart >/dev/null; then
  53.  /usr/lib/openbox/xdg-autostart $DESKTOP_ENV
  54. fi

Cuando inicio openbox session, no funciona mi teclado :S

EDITADO: Solucionado.
150  Programación / Programación C/C++ / Re: Duda sobre funcion rand() en: 17 Junio 2010, 00:09 am
Que yo sepa:

Código
  1. int a[4];

No es un array de 4 dimensiones. :-\
Páginas: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 [15] 16
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines