Converting from decimal to the base which is wanted with the C Programming Language

#include <stdio.h>
 
#include <stdlib.h>
 
int main (void)
 
{
 
  int first,number,number2,base,base2, ramainder, divided,counter=0,c;
 
  printf("Please enter a number\n");
 
  scanf("%d", &number);
 
  printf("Please enter a base\n");
 
  scanf("%d", &base);
 
  number2=number;base2=base; first=number;
 
  for (c=0;c<number;c++)  
 
  {
 
	  if (number2/base2 > base2) {number2/=base2; counter++;}
 
	  else break;
 
  }
 
  counter+=1;
 
int string,i[counter];
 
  string=counter-1;// Because counter started from one but striing started from zero
 
  do {
 
	  divided=number/base;
 
	  ramainder=number-base*divided;
 
	  i[string]=ramainder;
 
	  number=divided;
 
	  string--;
 
	  } while (number>base);
 
printf("%d(10) = %d",first, number);//Why did i put it here?answer is: At the last thing of divided will be the first number :)
 
for (string=0; string<counter; string++) printf("%d", i[string]);
 
printf("(%d)",base);  
 
  return 0;
 
}

Obama owes the victory to the internet

U.S. President Barack Obama’s election campaign that runs the David Plouffe, people and technologies constitutes the main elements of the campaign conducted by the “Contact e-mail list, 20 percent of votes took place,” he said.

Plouffe, Turkcell in Istanbul came as a guest of the Academy’s “Online Marketing Techniques” and “the courage needed to win on” gave a lecture.

In his speech, mobile technology, internet and e-mail that conducted the campaign at the center underlines the Plouffe, people-based campaign behind the main elements of the people more friendly, families, individuals and their colleagues to trust that the mobile communication they reach a large number of people in this trust with the prevalence ofproviding said.

In campaigns talking millions of Americans known by ordinary people the internet and e-mail messages from reaching their providing declaratory Plouffe, “As a result, one new product to try to persuade the best way of you, someone you know through is described. Something our brother, our friend, talking about çevremizdekiler if convinced that we easier “as said.

People with the mobile device to access important pointing out that Plouffe, “People and technology came together, the main elements of our campaign and created. 68 million people voted. Contact votes 20 percent of e-mail list was included. In the campaign that we see the effect,” he said.

Connection to 30 million Americans

E-mail, SMS and video with the people they are trying to reach very fast Plouffe stressed, they send e-mail with text and video they had compared the effect of the video is more effective and people go to them to share the road said.

Plouffe, “We’ve done things in the campaign’s technological world, captured in a few years all the world will take,” he said. Success in the most important element of mobile communications, with the majority of people to attain that striking Plouffe, “in the United States, especially young people to read newspapers do not like it very much. TV Ratings also not very high. We in the presidential election, people not at the beginning of television, laptops, computers are sitting in front. Facebook , twitter’a are entered and saw, here is sharing what they know “the said.

Barack Obama’s supporters that their communication is very important that expressed Plouffe, said:

“30 million Americans Barack Obama with a relationship between, we have established. These people believe in Obama’s campaign was. Kendi with the phone reaching out to people like there was no obligation. But I did. Obama to them ‘this is not mine, our, our campaign,’ he said. The technology used. I would be internet Obama president may be had? ” I ask. Barack Obama, a very successful and a good communicator, but I do not know the Internet did not exist was the President can be chosen. ”

We have collected 500 million dollars from the Internet

David Plouffe, in the process of election campaign also needs to be pointed out serious money, the $ 500 million over the internet they collect money, the internet would be so much of the financing is not possible to collect.

Spend $ 1 billion in campaign funds, 6 thousand people are working as full-time, more than 120 staff to communicate in the digital sense who told Plouffe, said:

“Campaign at the beginning in fact, no one Obama worked with did not want to. Because without possibility seemed. Hillary Clinton will win as it was thought. Technology and people who many people drew. Technological sense from the private sector, many people in our campaign attended. For us, the employees of this career, the most beautiful spots said it was. We did not even pay some money. We started with 5 thousand e-mail address, output up to 13 million. I think e-mail, a big revolution. E-mail to people, such as Jurassic Park is coming “as said.

Plouffe, responding to questions in the campaign, the majority of meaningful speech Obama took his pen, yet the majority of e-mail that he used to write the summer over and that guide said.

Source: CNNTurk asd

Ordinary paper turned into a powerful battery!

American scientists, ordinary paper, nano technology very cheap, very lightweight and super storage capacity was able to turn into a powerful battery.

“Paper to Electronic” stated this development could cause electronic devices to smaller and lighter, hybrid or electronic tools in the future of very light, small and very long-life batteries can operate from a wide area, such as He opened the door.

Promising electric vehicles in front of the biggest obstacles that exist today are, to use weight and short battery life.

Proceedings of the National Academy of Sciences called on the magazine which published research, California, Stanford University researchers, “silver and made of carbon nano-material with an ink-coated paper surface consists of a very lightweight and powerful electrical energy storage source” has managed to create.

Carbon nano tubes and nano-wire made of silver paper to the surface of the battery, great for the future is promising.

Scientists in the past, thanks to the use of silicon nano wire today’s lithium ion batteries 10 times stronger proved.

In the article, “the paper by using technology, with low cost, lightweight and high-performance energy storage facilities was carried out, the battery instead of the collectors and the electrodes used conductive paper” was specified.

This type of battery, electric cars or hybrid cars may be used for mobile electronic devices will make lighter and more durable has been saved.

Yi Cui of the authors of the article, the community’s low-cost and high energy is needed for energy storage devices stressed. Cui Yu, this new type of battery “super storage capacity as defined by the car as well,” requiring a high energy can be used in all types of instruments “was recorded.

Cui Yu, “Our paper battery in a very low-cost and network connections suitable,” he said.Professor Yang also new technology commercially Peidong will be available very soon as the said.

Source: CNNTurk

Always On Top

Hello,

I’m going to expalin you about a mini programme that useful for a multiprocess worker users. This programme make a windows to “always on Top” thus while you are working on another file, you can see a window at right-below or where you want.

First of all, usage is very easy. after download the File,  click on file than click “ctrl+alt+t”. This makes the window ,that is active on curent screen, “always on top”

Here is the download:

Enjoy :)

 Buyrun: Click & Download Always On Top

Building a rectengular shape wtih C Programming Language

/*
 
* Rectangular.c
 
* * Copyright 2009 Hasanibrahim hasan@ibrahimkozan.com
 
* * This program is free software; you can redistribute it and/or modify
 
* it under the terms of the GNU General Public License as published by
 
* the Free Software Foundation; either version 2 of the License, or
 
* (at your option) any later version.
 
* * This program is distributed in the hope that it will be useful,
 
* but WITHOUT ANY WARRANTY; without even the implied warranty of
 
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 
 * GNU General Public License for more details.
 
 * * You should have received a copy of the GNU General Public License
 
* along with this program
 
*/
 
#include <stdio.h>
#include <stdlib.h>
 
int main(int argc, char *argv[])
{
    int shortedge,longedge, space , i,j,k;
    printf ("short edge =");
    scanf("%d",&shortedge);
    printf("\n");
    printf("long edge =");
    scanf("%d", &longedge);
    printf("\n");
    space=(longedge-2)*2+1;
    shortedge=shortedge-2;
 
 
    for (i=0;i<longedge;i++)//This is TOP Edge
    {
        printf("* ");
    }
 
    printf("\n");
 
    for(j=0;j<shortedge;j++)//Here is MITTLE
    {
    printf ("*");
    for(k=0;k<space;k++)
    {
                         printf(" ");
    }
    printf("*\n");
    }
 
    for (i=0;i<longedge;i++)//This is BOTTOM edge
    {printf("* ");}printf("\n");
 
 
 
  system("PAUSE");	
  return 0;
}

i must explain a bit, i didn’t write any control to check is longedge
true or false, you can add

 while (shortedge<longadge)

i put space between * *, you can delete it, but if you,
you must modify a bit,
First Change

 {printf("* ");}printf("\n");

to

 {printf("*");}printf("\n");

Second Change

 space=(longedge-2)*2+1;

to

 space=(longedge-2);

it’s all, i hope it can be useful for you, Hasan ibrahim

Diabetic and dietetic foods

Diabetes or diabetes, we all know, “sugar disease” of scientific söylenimi can say more. Where did you remove this subject may be fitness can ask:) and I noticed that our society often confused preclude a bit of confusion I do think I did a little research about these two concepts.

Now remain in my mind from the principles of nutrition, let me express this as far as diabetes. Diabetes, blood sugar can also be more than the normal rate. Why is blood sugar accumulation in your mind he could ask.

Our intent from the sugar glucose. Glucose, the body of water, the air is so valuable and indispensable fuel. This fuel we use in our brain and all the organs, mainly in the liver more than that before then would be stored as fat in the sebaceous glands. Let me briefly explain the circulation of food in the body ..

We receive food by mouth for the first time in the mouth, then starts to digest the stomach and small intestine. But the main digestion, small intestine are. Here, our body materials, cement, iron with k protein, fat, vitamins and carbohydrates are absorbed. Carbohydrates and the way the first time, the liver is stored here, according to the needs or in need of diabetes began gönderiliyor.İşte body part here .. Pancreas, called insulin, the hormone is secreted, target orgaan go through the blood glucose, insulin and it took it sticks to the body organ is transferred to the relevant cells. If insulin is not enough, not enough glucose and glucose in the blood is not transferred, and consequently glucose circulating in the free state is starting to increase. This we call the first type of event that insufficient insulin is called diabetes. The second type of diabetes, the pancreas, insulin secretion, but normal levels of insulin secreted at this time because of the defective and ultimately unable to fulfill vini still gets stuck in traffic and glucose blood glucose level is rising again ..

First part over, I will continue tomorrow:)

New Food Developments: Adobe Flash ;)

IN new developments lesson, i and my teacher Prof. Dr. Ismail Sait Dogan decided to explain Adobe Flash Programme.

Sistem Gereksinimleri ile Ba?lad?m :)

********************************************************

Program hakkinda once teknik bir takim bilgiler sundum, nerelerde hangi amaca dayali olacagi konusunda bilgileri aktardiktan sonra, konunun daha iyi anlasilmasi icin aninda bi program hazirlamaya karar verdim.

Datashow  ile istege dayali bi program yaparak devam ettim :)

********************************************************

Anlatimim sirasinda kafalarda soru isaretleri kalmamasi icin karsilikli diyalog seklinde sunumu devam ettirdim. Herkesin hosuna gitmesini, arkadaslarin gozlerindeki isiktan anladim ve bu beni cok sevindirdi :)

Bazen hararetli anlar da oldu :)

********************************************************

Daha sonra bitise yakin bir zamanda duduklu tencere , ekmek yapimi metodlarini anlatan ve BiyotaShifa adli ben ve calisma arkadasima ait bir urunun online fiyatlandirmasina dayali ornekleri paylasarak ufak sempozyuma son verdim :)

Düdüklü Tencere projemi ve digerlerini anlatarak sonlandirdim :)

********************************************************

Sonuçta bir çok ki?i programin yuklenmesi, ogrenilmesi, fiyatlandirilmasi konusunda sorular sordular ve en kisa zamanda ogrenmek istedikleri hararetlerinden belliydi. Ozellikle Sayin Prof. Dr. ?smail Sait Dogan hocam, bu konuda israrli bi sekilde beraber calismamizi istedi. Zaman ayirdiginiz icin tesekkurler

To calculate compound interest with C Programming Language

#include stdio.h
#include stdlib.h
 
    main() {
int year=0;
float your_money;
printf("Your money i.e.: 1000  \n");
scanf ("%f", &your_money);
float annual_interest;
printf ("Please enter your annual interest i.e: 0.75 \n");
scanf ("%f", &annual_interest);
int howlong;
printf("How many years will your money stay in bank   ? i.e.: 5 \n");
scanf("%d", &howlong);
while (year<howlong)
{
your_money+=your_money*annual_interest;
year++;
}
printf(" After %d years, Your money will be %f $ or € etc \n", howlong, your_money);
 
printf("But i can say this money will not be useful for you :p ");
 
  system("PAUSE"); 
  return 0;
}

How to remove an integer from an integer with C programming language

it will show removal result. First there will be two float numbers assigned by users.

#include stdio.h
#include stdlib.h
 
minus ( float x, float y )
{
      float z;
      z=x-y;
      return z;
}
 
int main()
{
  float a,b,c; 
  int d;
  printf("Please enter two float digits with space.i.e: 12.322 16.2323n");
  scanf("%f %f", &a, &b);
  c=minus(a,b);
  d=(int)c;
  printf("Result= %d", d);
   
  return 0;
}

Wtih functions, life is easy :)

Iki gercel sayinin toplaminin tam sayi cinsinden gosterimi

#include stdio.h
#include stdlib.h

topla ( float x, float y )
{
      float z;
      z=x+y;
      return z;
}

int main()
{
  float a,b,c; 
  int d;
  printf(”bosluk birakarak iki gercel sayi giriniz. Orn: 12.322 16.2323n”);
  scanf(”%f %f”, a, &b);
  c=topla(a,b);
  d=(int)c;
  printf(”Sonuc= %d”, d);
   
  return 0;
}