- Firexox: the built-in web console or using the Firebug add-on, where you can write multiline code just pressing the up arrow on the right of the console. Remember the old days when you only have a console to see the errors? Now you can enter commands and even Tab to get code completion and proposals.
- Chrome has also a built-in developer tool. Go to menu or press Ctrl-Shift-J. If you need to write multiple lines of code just press Shift-Enter. Then press just Enter to run.
- JsFiddle or JsBin website. If you want yo use your browser screen directly this kind of website is the rightful choice. It allows you to include the most popular frameworks to code around.
- Explorer, yes can you believe that? For those who lived through the nineties it is unbelievable this new attitude. Remember when you wanted to see the source code and notepad was opened? Now Explorer comes with some developer tools. It still sucks big time anyway.
Google code disappears
Repent, the end is near. Google has just announced that they are shutting down google code project hosting. In the email of the announcement they make some suggestions to find a new house for your code such as bitbucket or github. I hope that they have been warned in order to be ready for a massive repository creation from the upcoming exodus of coder refugees.
Necesitaremos tener instalado el mysql-devel o libmysql para poder hacer que nuestro codigo C acceda a mysql. Ademas de eso debemos establecer con cuidado las opciones de compilacion:
Si tenemos alguna duda podemos ejecutar mysql_config y este nos dira los parametros que necesitamos.
Vagrant is a virtual machines management tool that allows us to easily create, run, configure and share customized virtual systems. The main goal of Vagrant is to provide a centralized way to share preconfigured virtual machines for software developers. In development teams, all members must share not only and up-to-date project source, but also the same system configuration: database management systems, web servers, application servers, IDEs, development kits,... It is almost impossible to keep them identical in each station, not to mention the same specific versions of each program needed. Another issue that comes to mind if you have ever suffered this is when your system crashed or you simply upgrade your hardware, or some IDE requires the latest operative system from Redmond: you will start again from scratch installing all the components you need to have your environment ready to work. This is a sort of myth of sisyphus adapted to coders.
Virtualization comes to the rescue! but this is not just about sharing a common virtual machine among developers. Vagrant wraps the virtualization system, and so we are not necessarily tied to any of them. Vagrant supports Virtual Box (easily available), VMWare and even Amazon EC2, is easy to get into it.
Como bien se sabe la herencia no se reparte: se descuartiza. Bromas aparte, la herencia constituye una de las herramientas mas poderosas de culto OO. Si una clase hereda de la otra, lo que hereda son todos sus atributos y metodos.
Ademas de heredarlos puede sobreescribirlos, tanto los constructores-destructores como los metodos convencionales.
Veremos un ejemplo claro que resume lo que se puede hacer y los efectos de la herencia
Por un lado vemos la clase generica vehiculo y su descendiente: el coche.
La clase Vehiculo
/** * Vehiculo.hpp * Clase que define el objeto vehiculo * * Pello Xabier Altadill Izura * */
subscribe via RSS