Archive

Archive for February, 2011

Why save to invest?

February 22, 2011 Leave a comment

Well .. to start is not easy and requires much discipline on your part.
First you must focus on what goals you want to achieve, then the priority of each and the initial capital.

While trying to save, show and those temptations … ask the question to yourself: “I really need this product?”

Many of the temptations appear in promotions, but it’s something you want but do not need. Focus on your main goals as a journey, a car, a house, a stroke. When investing the possibility of winning over the amount invested and thus make your money “grow ” is greater. For some personal goals only just leaving the savings, but today if I had invested the return would be higher.

Every investment has its risks too, so some people are so conservative in choosing investment. Be careful when choosing, in the next post I will put some information about the types of investments and their risks.

Hope this has been a little incentive to focus on their primary goals.

Better understand the syntax of C

February 8, 2011 Leave a comment

To program in C you need to follow some rules for the correct construction. Rules Work for functions, expressions, statements and types:

  • Types are the properties of the data used in a program.
  • Explanations are parts of the program where they give meaning to an identifier, allocating space in memory, define roles.
  • Functions are actions that a program must meet as running. The union of the various functions are basic operational entities in C.
  • Determination and modification of values, are called I / O functions defined by expressions.

There are functions that are already defined in C library, as printf () andscanf (), which respectively mean write on the screen and read the data entered. Despite the existence of these functions in the library, programmer can also create your own functions, which perform calculations or other.

Every C program starts with the mandatory function main () The comments are expressed by / * and * /, which are ignored in the program. Every statement that is closed, shall be used ; (Semicolon) that ends the line of inquiry.

Example of a basic structure:

main ()        / * function binding * /

{

printf (“Text”);

}

It’s the same example used in the first post, but with further explanation.

%d bloggers like this: