Monday, October 31, 2011

Introduction to C/C++ with Eclipse and WinGW

Hi guys!

In this video-tutorial we will be able to see how to use Eclipse to create projects for C/C++ and to compile our projects with the WinGW tool. If you have doubts, you can comment this post. I hope you like this.

Wednesday, October 12, 2011

Creating a desktop application for Java - Part 2

This is the next video. In this video I explain how maximize the window, and to add common components. You can see it in HD.

Creating a desktop application for Java - Part 1

This is the first videotutorial of a sequence of them.
I try to explain how create a simple application of Contacts in order to practice the GUI creations for Java.

I'll show how to use a database for to save all data, in the next videos.

You can change the resolution to HD.

Introduction Java GUIs (New video)

I've created a new video to the introduction more short than the last and I've included audio. Although, the audio is in Spanish at this moment. I'll try to upload a new video with subtitles in English.. You can select the HD mode

Regular Expressions

Today, we are going to see a common concept that is used in more situations, these are regular expressions. Regular Expressions are some patterns that describe an string. These are very useful for validations


E.g. to validate that an email is correct: email@domain.com (this is valid) / www.ccc.com (this is not valid).


We have a table with all features of regular expressions here:


Logical:
  • x|y: x or y.
  • xy: x followed by y

Character ranges:
  • [abc]: Any of characters in brackets. Ranges can be spefified, for example, [ad] is equivalent to [abcd])
  • [âbc]: Any character which is not in brackets.

Predefined character ranges:
  • .: Any single character, except the newline.
  • \d: Any digit character, equivalent to [0-9].
  • \D: Any character that is not digit, equivalent to [^0-9].
  • \s: Any single character in blank space (items, tabulations, break pages or newlines).
  • \S: Any single character that is not a blank space.
  • \w: Any alphanumeric character, including underscored, equivalent to [A-Za-z0-9_].
  • \W: Any character that is not alphanumeric, equivalent to [^A-Za-z0-9_].

Characters:
  • \f: Break pages.
  • \n: Newlines.
  • \r: Carriage return.
  • \t: Tabulation.

Limits:
  • ^: Beginning of input or line.
  • $: End of input or line.
  • \b: Limit of word (like an item or carriage return)
  • \B: End of word.

Quantifiers:
  • {n}: Exactly n appearances of the previous character.
  • {n,m}: At least n and at most m appearances of the previous character.
  • *:The previous character 0 or more times.
  • +: The previous character 1 or more times.
  • ?: The previous character at most 1. (that is, it indicate that the previous character is optional).



Source: http://luauf.com/2008/05/03/expresiones-regulares-en-java/

Sunday, October 2, 2011

Introduction to create Java GUI's with WindowBuilder PRO

Today, I've made the first video tutorial of a sequence about this topic.

I'll show you how to create java graphic user interfaces with the tool of Google: WindowBuilder PRO: http://code.google.com/intl/es/javadevtools/download-wbpro.html

I work with a Eclipse IDE: http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/indigosr1 You have to choose your compatibility version with your computer. It's x32 for me.