Friday, August 11, 2017

// // Leave a Comment

Let's learn Programing in C


Programming:

How to programming in c programming, how to write a program in a software or program what to write-side dice, these will be about. As we are automatic machines, all with one or more than one program. And the program is written in programming language. Programming of software only if computer is not everything that can be made for the program will be made. A little calculator started everything robots or aircraft program.
There are many Programming Language to learn. This is one of the most popular one is the C Programming. Dennis Ritchie (born September 9, 1941 – died October 8, 2011) developed this new lot of c language is created in the future. Learn how to make a language later many of the language can be written easily in code.
Computer processing of programming instruction. Instruction is to write some specific rules. That is, it is write programs that accept rules programming language. Learn a lot of things for us to learn to learn c++. We used software, Web site or mobile app, home automation can create software etc. And it can do today if we started learning. Veryeasy teach. What you need is a computer, Internet and nothing. Learn from the rest of the Internet. Need is a text editor for writing programs or ID.

A programming language is a few more topech operators, strings and carectar, control flow, looping, function, array, etc. A few topech are language based. If you know of a language are well known for the rest of the language easily. Here are useful all the top easy tried to write.

The first c program:

Need a computer for programming and compilers. Two of the like isn't it? Both begin with the letter k and "morop" is racist.
You have a computer then it could not read the article, isn't it? Nowwe need a compilers. A c compilers. Our code will not compile the code programming.
Why do I need previous compilers. We cannot read what we write computer it. Need for machine language of the computer. Our changes to the c programming language to machine the compilers. We compiled c code CodeBlocks IDE for writing and will use. If you go to the link below to download CodeBlocks codeblocks-12.11mingw-setup_user.exe 
Then install. Open the file. Then look like below to do so.

                                           If you install code ready for writing.
                                          Create New Project from here this .


And select Console Application from here click Go.

Now click Next and select C. Name your project Project Title box. For example, hello. Folder to create a folder for your project from the project in the Save in box to select whether you want. Next is kaila. NowFinish this kaila.
Now the right side you will see your workspace. There are your project. Click on the + sign hello. Then click on the + sign and main Source ... click on c. CodeBlocks is a simple project to make a code for templates, it will show. Including the text:
#include<stdio.h>
int main()
{
    printf("Hello world");
    return 0;
}
Our code is compiled and run from the file menu for her to click and Build and Build, click Run. Will compile and run your c program. And like the one below will output

If you can run the above program, congratulations and welcome to the world of programming. Not need to be depressed. Try a little bit from the beginning again. Then.
The above code we write now, let me explain a little.
The first line of our program is #include <stdio.h>. Include means nothing. Stdio's standard input is output grows. Stdio. h. h make it witha header file. And the entire line is used with standard input output log. Standard input output about a little bit later.
The next line is int main (), it is called a main function. When we shall run the program then will start working from the main function. So all a program (and only one) main function. In the beginning of the main function is to start with the second bracket. The main function is to complete a second bracket.
The main function of the second bracket inside the first line, we writeprintf ("Hello world!");
Here the printf () is a function. Printf it means print formatted. It is a library function which standard uput function. Printf () is working on the console/screen print. Double quotation marks inside what we write it will print on the screen. We first write a line that #include <stdio.h>. Printf () function is how some prints reads the stdio. h file.
After that, we write another line return 0; We say that a function is main. Each function has a return value. What function returns something at the end of its work. Return 0 means zero return. For more detailsabout this later when we read about the function.
printf("Hello world!"); Or return 0; These are called statement (Statement). At the end of each statement a semicolon (;) . If we do not deal with semicolons, will run the program and mistakes in compilers. Programming in the beginning many people forgot to semicolons, compile error (compile error), then try to find where it went wrong. A little noticed code entered these minor mistakes can easily be avoided.
Now, this program does not try to write yourself. Hello world! Like your name or will instead try to run with.

Problems and solving:
Code block is an IDE. It takes our compilers. We will compile the c programs. If you do not have installed compilers, like the one below iror.
Environment Error Can't fild compiler executable in your configurd search path for "GNU GCC" compiler

For this we need to install Mingw with Codeblocks downloads including. Codeblocks mingw download  page, setup exe is x-x.x. downloads in order ... This will solve the problem.

Tibe and variable data:
We have only one line in program before deta a output shown. Which is just enough to start programming. In fact we have to write complex programs. The idea of our need for variable.
Variable is a name that no data in the memory of the computer. Thisdata may be naumraharik (any number) or a character value. What types of data will be in this variable we are data type. Variable we learnagain later. Now I know about this data tyfe.
There are many types of data type in c programming. Among the main four:
int data type
char data type
float data type
double data type

int data type

Int data type to integer quantity (indivisible subscribers like 1, 2, 3 etc.). Its size 2 bytes or 16 bits (1বাইট = 8বিট) and reroz-32768 32767 to +. Some compilers for the int data 4 bytes of memory. In other words, a maximum of 4 bytes data type int data. Whose range is-2,147,483,648 to 2,147,483,647 this range means that the number of its biggest quality if we do use the compilers will not correct value. This size and ranges in different compilers.
Int data type's as an example, we can see a program. Length and breadth of the land, a azyetakar know we can find its area. Isn't it? I thinkthe length of 5 units and width 8 units. We have an area of 5 * 8 = 40units. How we can find it in the program? See the program below.
#include <stdio.h>

int main()
{
 int volume;
 int length = 5;
 int width = 8;
 volume = length * width;
 printf("%f", volume);
 return 0;
}
If you run the program, we'll see 40 output
It certainly looks from our first program complex. And a little big. Butof course much easier. A while ago we called bharzaribal listening to the object name keeps the store or save anything that is computer memory.
The area of land out to us is to keep in memory the computer. We need to keep in memory a computer variable. We have our variable name for an area of volume, but the volume we will know what kind of data it will not be the computer? We will, as a area and it is a number.
A while ago we learned about a data type name of int. What computer Integer/integer can be stored on the computer. So we've used int.And it's all one line of writing int volume; Called variable dochelareshon. In other words, a variable before using it to solicit. Dorcalesareshan last we have a cm Colón. At the end of a variable dorcalesareshan is to use a semicolon to the end. In other words, to solicit a variable like the one below:
data_type variable_name;
Tell us the computer that our length and breadth of the land, how, isn't it? For this we have two variable length and width. This two volume int again. A little bit different. We solicit these two variable with a value set. Called value assigned. To solicit variable including the quality process:
data_type variable_name = value;
After that, we write in the present volume = length * width; This means that the value for variable length and width variable value by multiplying this volume.
The next line with we. printf("%d", volume); What is the printf () function.
Printf () function's job is to print something. Printf () to print a text inside the double quotes entered in it, print it, we have to know before.
But this time we will print a variable value from insterge. We will have to follow some rules for this. Printf () to print a insterge inside the double quotes is% d, it is write with the placeholder. For each data type aladha aladha placeholders. % D means display integer. Double quotes after a comma. After writing our insterge variable. Which area of our land prints.
This thing that we could do in the face huh? It would be better if the program runs the length and breadth have been taken since. Then we could find any area of land. We are saikhab. More barjasik with the concept before.


Placeholders/Placeholder

A while ago we heard a word placeholder name. Each type has different placeholders for data. The following placeholders are a different type and their data are given
Data type
Placeholders
int
%d
char
%c
float
%f
double
%lf
character data type

Now we know a little bit about the character data type.
Char data type to single character (a race such as a, b, z, A, N, etc.). The size of 1 byte or 8 bits. Bit (1 byte = 8 bit) and reroz-128 to + 127.It is a sign of our keyboard each character. Carectar to solicit variable process:
char variable_name;
Character variable, only a carectar/letter/character can be stored. The following program dekhera
#include <stdio.h>

int main()
{
char ch = 'A';
printf("%c", ch);
return 0;
}
Here ch a carectar variable. Then we print it. To assign a variable of carectar for single quotation within. Thus "A".

float data type:

Integer data is stored in the integer-only taife. A integer variable by a decimal value e.g., 8.9 or some intention. After that the variable print. What he saw? There is no next part of decimal places? The following program runs into you see:
#include <stdio.h>

int main()
{
 int n = 8.9;
 printf("%f", n);
 return 0;
}
It's just our 8. Although we have within the variable 8.9. That's because the computer only to int is integer can be stored in the memory. The decimal value for the computer we need another data tyfe, called float.
Floating point number data type to float (floating-point subscribers like 10.5, 1.8, 5.6, etc). Floating point data accurate to the decimal value of 6 rooms after tyfe. The Data Type of the variable n the program changed to float into the run with:

#include <stdio.h>

int main()
{
float n = 8.9;
printf("%d", n);
return 0;
}
It is now the right value.
The area of a circle of radius of need for. Taking a circle radius 7.6 units. We wrote a program to find the area of felleh
#include <stdio.h>

int main()
{
float radius = 7.6;
float area = (radius*radius * 3.1416);
printf("%f", area);
return 0;
}
We took a point variable floting radius. The circle radius. Another variable in the name of the area in which the area took out.
We have the area of a circle is the RADIUS janar * baraisaradhian * PI value. So writing and we print the value.
In an example of the printf function integer before the placeholder we use as% d, floating point for this placeholder is% f. The rest is easy isn't it?
We knew that floating point decimal can give an accurate value for the room after 6. To get an accurate value until more homes than our need to use another data tyfe whose name is double.

double data type

Double precision floating point number data type to Double. This float data type is like size large. Its size 8 bytes or 64 bit. And it is accurate to the decimal value of 15 rooms.

We know that the circumference of the circle and the ratio of the diameter to PI/Pi [Π] with. It is an irrational number. It is not possible to express the decimal form is complete. There are infinite numbers after the decimal, for this. If we try to find value with the float, we get a decimal after the 6 rooms. But if we get double value, so an accurate value until 15 rooms after the decimal place. Double value as placeholders for output to print or to use lf. The following program is dekhera
#include <stdio.h>

int main()
{
double pi = 3.14159265358979323846;
printf("%lf", pi);
return 0;
}
Now, though, after the compile runtime after the decimal 6 homes. But we are saying to the accurate value of 15 rooms. Right said. Now you must tell how compilers decimal will print the last House. The following program is dekhera
#include <stdio.h>

int main()
{
double pi = 3.14159265358979323846;
printf("%.9lf", pi);
return 0;
}
Here we paslesholedare wrote. 9lf. How will print the decimal paslesholedare room only room in it will print. The above program now find value after the decimal will print up to 9 rooms.
Play naughty idea in mind?. 50lf in its place .. 9lf decimal will print after 50 rooms, right? Yeah, right ... just after the decimal if 50lf up to 50 homes will print. Want to get the results that we have it. Get wrong. The following program is dekhera
#include <stdio.h>

int main()
{
double pi = 3.14159265358979323846;
printf("%.20f", pi);
return 0;
}
Here we get to the decimal value of 20ঘর. We want to get the value up to 20 rooms. So paslesholedare have said that after the decimal 20f. 20 House print. But after 15 of the House's value until the maximum print. Then how many zero fill. Because after the decimal data type 15 room dobule standards just like you remember.

Data type and reroz

Read about suruteymra range, maybe just like I didn't realize. But this understanding is to leave. Int data type's size is what we said 2 bytes.We don't know a byte equals 8 bits. Then the two bytes equal to 16 bit. And this is the meaning of 16 bit (216-1) = (65536-1) = up to 65535 will be able to save correctly. I mean how we 0-65535 a inroterzare a value that can save. Now, if we as a value. Insterge data type, we save 65538 compilers will not be able to adequately value our output.

We are told that some compilers for inretarser 4 bytes memory allotment. 4 bytes means 4 * 8 bits. = 32 bit. And 32 bit means we (232-1)= (4294967296-1) = 4294967295 can save up to insterge data type value is correct. If a value larger than insterge want to save as, then get the output as well. Which will it wow. Wow why. Any number larger than 4294967295 before insterge prints as variable. For example, 6294967295
#include <stdio.h>

int main()
{
int n = 6294967295;
printf("%d", n);
return 0;
}
How can output? I have 1999999999 ... Which is it to be found. Because insterge detataipe as a value greater than his ability we have trying to save.
The next number of 4294967295 4294967296, print dekhera
#include <stdio.h>

int main()
{
int n = 4294967296;
printf("%d", n);
return 0;
}
Can output to zero. 0.
Get 1 saw print 4294967297.
#include <stdio.h>

int main()
{
int n = 4294967297;
printf("%d", n);
return 0;
}

Thus, if we print 4294967298,

Read More

Tuesday, August 1, 2017

// // Leave a Comment

A collection of General knowledge ...

General jarsana-the latest in Bangladesh and the world:
Appeal held its session in 2008 BIMSTEC >-urah nazradil.

The popularity of the name ' bangalhara-> urah erias Shah.

> "Located" Bihar feast urah port.

The name of the currency of Portugal-urah > eskudo.

Author of The White Tiger-> urah Arvind adargaw.

Elected a fellow of the Asiatic Society of Bangladesh recently >-urah Fazle Hasan Abed.

The father of genetics, urah > mandle.

It was February 21, 1952-> urah Thursday.

In the South where oshetrayula >-Turkish.

> Operation navatara? Preparation of electoral roll with photograph and NID urah programs.

> Anti-corruption Commission's first Chairman: urah justice Sultan Hossain.

The current Prime Minister of Nepal-> urah

The next World Cup will be held in football-urah > in Brazil.

Microsoft tried to buy recently, urah > Google.

The production car that Tata in West Bengal > wanted to – urah Nano.

Latest Bangladesh export products in Africa-> urah jute bag.

The software manufacturer Association of Bangladesh > name urah basis.

> TIN means-urah tax idestertor number.

Branches of knowledge the word called obsession > involved-urah psychology.

How many political parties of Bangladesh Elections > Commission application for registration-the 123 urah

Rashot-world's youngest democratic > urah Nepal.

> UN Secretary General Ban Ki-moon, came to Bangladesh-November 1st 2008 urah.

No team in the World Cup cricket against Bangladesh first > win? Urah Scotland.

> Extradition Treaty is urah guilty drawback.

' Faroghat ' is located in ' MAWA >? Urah munserghans.

It is not the history of the elite shasr > cemetery. The word "? Urah Aristotle.

The second Chief Minister of undivided Bengal >-urah Shahid suhrawardy.

The planet was named Roman dhudrdevtar > name-urah Jupiter.

How the US presidential election Barack Obama received jonvot >? Urah almost 75 million.

The concept is associated with tiruther >? Urah Buddhism.

> Dhaka University are built a year Muslim Salimullah Har? Urah 1921

> Rokeya day-urah on December 9.

In a country where the milk powder was first diagnosed melamonjuk > – urah in China.

In the last century year like 2008 > world recession was facing urah 1930.

> Most recently scientists ' big bang ' experiment-urah France-Switzerland border.

Administrative divisions of Bangladesh's district-based youngest >-urah Sylhet Division.

> Krishadis of Bangladesh-1 eighth month of urah.

As China's first astronaut on September 27 > space walked-in urah Zay jhaigria.

Yukort > main functions-ubrahetnabnavaitnabra.

> Kazinjurul edited Islam – the imagery.

Celebrated in the international micro-credit year Bangladesh > that year – urah 2005.

As a result of high inflation > losers urah limited income population group.

> Demand rule? The price increases, demand decreases urah.

Not epic – Julius Caesar urah >.

Apart from the Moon, but Muslim countries >? Urah Singapore.

Winner of the 2008 Nobel Prize in purasarsaka > author country – urah France.

The name of the United Nations women's Fund unrontheron >-urah yunnafem.

1st August 2011 Raven > Comilla City Corporation's first administrator was recruited? Nasir Uddin Ahmed

> Number of current country upazila cottor? The 484

> Land 484th upazila? Bangargabali ptoozeral

> Jan.30 2011 a municipality was established? Palashbari gaibandha

Under a Ministry of Bangladesh economic zone authorities >? The Prime Minister's Office

> Silver investment approved of the lormar? August 19, 2011

> Currently gas? 24

The number currently in the thana? > The 313

> Dhaka-Rangpur on transatlantic in city road train? Rangpur express

Map with details? > Tarrupmarip

The current President of Peru >? Olanato Humala

No other country law meeting e-petition > methodology? Britain

Head of the Libyan national Council anaitavaral >? Mustafa Abdel Jalil

Where's NATO attack headquarters of Libya > located? Neples Italy

Known as the white mouse >? Nancy wake (Australia)

The year 2011 takes place under 10 educational > h SC and isometric test average of how much? 75.08%

The year 2011 Board of education general 8 > under examination, the average rate of HSC held? 72.36%


Bangladesh College of leather technology's current name >? Insortsot of leather engineering &amp; technology

The Government Medical College in Bangladesh's latest >? Kushtia Medical College

In two of the Bangladesh Government > PTI? In Chittagong, Bogra, chapainbabgalz

> Current Polytechnic insortsot cottor? The 49

How many current Member States of the African Union >? 54

> Sports website in Yahoo. Sports radio service was started when? 1August 2011

A man without a planet damaged > sends Juneau? Jupiter

For the first time in Pakistan, a satellite > launched? Pakstor-1

Where is the world's largest video game Expo held >? Colon, Germany

The author of the novel the good Muslim >? Tahmima Anam

The Department of drama and music of Dhaka University > Chairman? Professor Dr. light radiance Chakraborty

The first movie of Bangladesh > Cannes Film Festival are rewarded? Autopsy of clay

The author of the novel the lakuna >? Barbara cosslover, Zürich

The world trade report an sasrathara >? The world trade sarseth 
Read More
// // Leave a Comment

Amazing, Miraculous and Wonderful Performance 7 Talented man-video

Airtel telsphalrom of ' Impossible ' by many. Really super human mean is there any on the Earth. The answer is Yes, of course. The creator has the power of those peculiar given that the common man is not to be. This is how seven people can learn today about those amazing power built them as true super human. Housebet video evidence remains.
No.1 – Natalya Demkina
A small town girl Natalya DemKina Saransk in Russia. Suddenly one day, the girls see her inner body. From his childhood the power spread around this wonderful. Thousands of people flock to the inside of their bodies where their illness to check.
His name is "X-Ray Girl". New York doctor Dr Ray Hyman took the matter brought to his daughter carefully. He just six patients whose six types of problems – a brain tumor, a bone problem, epenedorside etc. One of them was a healthy man. Over a card in their hands, the doctor and the girl with the eyes only asusorthar them to write inside the body. Strange thing is, he can tell the exact disease about four. The doctor took a general mistake is, after many tests, medical science in all 100% correct diagnosis. And this girl wrote the name in the history of super human.
Video watch
https://www.youtube.com/watch?v=fyWPueGUa3E
No.2 - Eskil Ronningsbakken

Death is a man whose game Chen is Eskil Ronningsbakken. His wonderful power is impossible kind of balanced body. You can imagine many of the circus is like this. See this pictures are amazing. Each photo is in hatthano of death and impossible kind of test of balanced body.
He thinks the fear of man. But the feeling of fear is totally gone, and so are super human.
Video watch
https://www.youtube.com/watch?v=9QNdx2hs0n4
No.3 - Chris Robinson

Do men sometimes future can see. Believe or not I don't know, can see the future is such a man is Chris Robinson. One day, in the morning, Chris Robinson's dreams of waking to a plane crash. With his dream zanarole record. And he did not know well, he can see the future. But that same day, his dreams, really. Just as, in the place he saw the accident as he dreams.
Not believe, just like you had a man by the name of Daniel Browning Smith denied he is a place to test Robinson. And they say the six places him tomorrow. He dreams that the place names on the record. Robinson saw the future in dreams, write the name of six places. Strange but true when after the paper to see open to everyone's surprise. He managed to write six is the name of the place.
Video watch
https://www.youtube.com/watch?v=RaRc8jed6dE
No.4 - Tibetan Monks
Southern Asia in Tibet Monks of a man named madhamur of wonderful meditation that, similarly, could increase his body temperature stays. This kind of meditation called "Tum mo". This meditation is the Earth from the other world main barsha, loss of appetite, which increases the temperature of the body.
When scientists talk about the ability to know and took the matter to test him. Scientists are surprised to see that her body temperature madhamur of the meditation Monks around 8 degrees Celsius (17 ° F) increased up.
Video watch
https://www.youtube.com/watch?v=XZUdtFu_hwI
No.5 - Dean Karnazes
Human life is a big problem is fatigue. Some people whose fatigue. Yes, and he-Dean Karnazes. You will be able to run 2 hours how long together, 5 hours or 1 day. But Dean Karnazes, a man that can run without any pause for rest. He participated in the marathon 50-day continuous 50. There are those who think they understand about Marathon.
A common man's body gets energy from glucose. In addition to producing lactate and glucose energy which is responsible for fatigue. But – Dean Karnazes is a person whose body lactate does not. Proven by themedical check-up.
Video watch
https://www.youtube.com/watch?v=XSybEPLNQ0w
No.6 – ‍SM
Come hear from childhood fear win. But it is not. The life around us with a variety of post positions. But you can think of someone who is not afraid to tell a anuvutari. This example is one in front of you suddenly walk in the garden-venomous snakes, do not be afraid. Of course. Horrible horrible situations than this and who is not afraid of his name is-SM
According to the interpretation of science for people scared of a particular part of the brain. And because of the disease a SM unknown part of feeling lost.
Video watch
https://www.youtube.com/watch?v=2Hi3JO1rqYw
No.7 - Orlando Serrell

How much power can be sharpened people's memory. If you are told how in 1980 on Monday? . Will not be able to answer immediately. But this question is easy to answer with Orlando Serrell.
As a child, he went to play basket ball hit her head. Continue the game with easy baraparatur. But some days its amazing capacity can understand. He is what he is doing at any time can remember.
Video watch
https://www.youtube.com/watch?v=OWqNoGKJWBI

Read More