#include
#include
...
// test any pointer
X * ptr;
...
cout << "requested type is " << typeid(*ptr).name() << endl;
...
jueves, enero 28, 2010
C++: How to obtain the name of a class in C++ from a pointer
How to obtain the name of a class in C++ from a pointer:
martes, octubre 20, 2009
Betfair Promotional Code - Código Promocional
jueves, septiembre 17, 2009
Latex compiling ERROR
Context:
Linux, LaTeX, compiling
Error:
! I can't find file `ptmr7t'.
Solution:
sudo apt-get install texlive-fonts-recommended
Linux, LaTeX, compiling
Error:
! I can't find file `ptmr7t'.
Solution:
sudo apt-get install texlive-fonts-recommended
miércoles, junio 17, 2009
Ubuntu: haz que funcione JDownloader - make your JDownloader work
You have to follow these steps:
1. Be sure these packages are installed in your system:sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk sun-java6-plugin
2. Change your default Java via:sudo update-java-alternatives -s java-6-sun
3. Download JDownloader if you need it:wget -c http://212.117.163.148/jd.sh
4. And run it:chmod +x jd.sh
./jd.sh
jueves, mayo 07, 2009
Install and fix Yum in RHEL 3 or 4, or Fedora Core 4
This links includes the steps you have to follow: link
good luck!!
jueves, noviembre 13, 2008
Ubuntu: Instalar Ruby + Qt4 - How to install Ruby + Qt4
To install the Ruby bindings for the Qt4 GUI library you only have to use this command in a new console:
- libqscintilla2-3
- libqt4-ruby1.8
- libsmokeqt4-2
sudo apt-get install libqt4-rubyIt will install these packages:
- libqscintilla2-3
- libqt4-ruby1.8
- libsmokeqt4-2
lunes, octubre 27, 2008
Ubuntu: Reconfigurar la configuración de vídeo - Reconfigure video configuration
To reconfigure your video options use this command
sudo dpkg-reconfigure xserver-xorgand follow the wizard. It will take several steps configuring mouse, keyboard and video card, but it is so easy if you use the default values.
lunes, octubre 20, 2008
Freeware: Aimp portable for Ubuntu
Did you imagine your Aimp media player in Ubuntu? Stop dreaming and download this link.
Follow these steps:
1. Download the link
2. Extract it in a new folder
3. Make a launcher to the executable
4. Enjoy it!!!
PS: oops!! I remember you need Wine...
Follow these steps:
1. Download the link
2. Extract it in a new folder
3. Make a launcher to the executable
4. Enjoy it!!!
PS: oops!! I remember you need Wine...
miércoles, septiembre 03, 2008
Windows XP Embedded: Problema de memoria durante el FBA (First Boot Agent) - Memory error during FBA
Puede ser que durante la primera carga de tu imagen Windows XPe (el FBA) hayas encontrado el siguiente problema:
Para solucionarlo, iremos al panel "Settings" principal de nuestro proyecto de imagen (el que se encuentra el primero de la lista, justo encima del primer componente seleccionado), seleccionamos "Target Device Settings" (show) y cambiamos la letra de la unidad en las diferentes rutas que tenemos debajo.
El log que nos deja el FBA (en los propios ficheros de la imagen, dentro de la ruta WINDOWS/fba/) seguramente nos ofrezca una sugerencia de la letra de unidad por la que tenemos que cambiar la actual.
"The instruction at "0x..." referenced memory at "0x...". The memory could not be written. Click on OK to terminate the program"
Pues es muy sencillo: algunos de los ficheros que espera encontrar el FBA no se encuentran, lo más probable porque no hayamos puesto bien la letra de la unidad.Para solucionarlo, iremos al panel "Settings" principal de nuestro proyecto de imagen (el que se encuentra el primero de la lista, justo encima del primer componente seleccionado), seleccionamos "Target Device Settings" (show) y cambiamos la letra de la unidad en las diferentes rutas que tenemos debajo.
El log que nos deja el FBA (en los propios ficheros de la imagen, dentro de la ruta WINDOWS/fba/) seguramente nos ofrezca una sugerencia de la letra de unidad por la que tenemos que cambiar la actual.
jueves, julio 03, 2008
Windows XP Embedded: Problema de instalación en Service Pack 1 - Setup error whit Service Pack 1
Si instalando el Service Pack 1 de tu Windows XP Embedded te encuentras con el siguiente problema:
"A new platform object needs to be installed before this update can be installed. Please download the latest platform update from and install it before attempting to install this QFE.
Setup cannot continue"
Debes instalar la siguiente actualizaci ón:
http://www.microsoft.com/downloads/...&displaylang=en
"A new platform object needs to be installed before this update can be installed. Please download the latest platform update from
Setup cannot continue"
Debes instalar la siguiente actualizaci
Suscribirse a:
Entradas (Atom)