Better understand the syntax of C

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.

Setting objectives when investing

What’s your goal when investing? buy a home, pay for college, provide a nest egg for the future? based on these answers, you can set a direction for your time and money that should keep the money invested as well.

The longer you have to reach your goal, the greater the risk, the longer the period, the less need for liquidity (liquidity is how quickly an investment can be converted into cash, that is, the higher the liquidity, the faster to convert the cash investment)

What are the risks? The risks depend heavily on the concept that each has about the same. But in general, not worry with all the fluctuations in the prices of investments. If you are more prepared for these fluctuations, invest in stocks as riskier equities.

How to make your money grow? The power that has the interest on your investments will make your money grow without any effort on your part, unless the saving. This situation favors and more countries with high interest rates, like Brazil. Not only the amount you invest that makes a difference, but also the frequency at which you apply the money.

Save your money to invest in something, it means open hand to present a spending spent more in the future, to have this attitude, you can win a battle, showing that their goal is achieved despite the obstacles.

Good start for all investment !

Hello world!

Hello, as well as the entire first program we do, this initial post has the same goal.

To begin, you must learn the logic, so they can learn a language.

We will not stick to any language now, so I will get a brief explanation of what we do to understand a program.

First, understand the language they’re seeing.
Second, you must follow the sequence correctly, because any misstep you miss the whole program.
Third, when you are in an early tip is to make the flow chart explaining all the flow you are following.

A sample program written in C:

# Include “stdio.h”                              / / include the library
# Include “conio.h”                            / / include the library

void main ()                                         / / main function where the program starts
{
clrscr ()                                                / / Clears the screen
printf (“Hello World! “)                  / / Display message on screen
}

To start and open the blog is just that.

Good luck to us all!