22 Ağustos 2015 Cumartesi

Determining The Largest Word In A String C++

#include
#include
using namespace std;

int main(){
//initialize the variables
string str;
int endword,arraysize;
int maxword=0;
int counter=0;
//getline command getting all line including spaces...
getline(cin,str);
//array size
arraysize = str.length();
//adding one "space" character at the end of string array for ending the procedure
str[arraysize+1]=' ';
//for loop will determine the longest character number
for(int i=0; i
if(str[i]!= ' '){

counter++;

}
else if(str[i] == ' '){
//once we have the whole world, compares the longest character number with the next one
if(counter>maxword){
maxword = counter;
//this is going to be used for counting characters in order to output the whole longest word
endword=i;

}

counter = 0;
}

}
//with the help of "endword" the location of characters which
//the longest word does have were known && we can get all characters together
for(int i=endword-maxword;i<=endword;i++)
cout< cout<<" the length is "< }


17 Ekim 2014 Cuma

Financial Statement Analysis (1)


        Financial reporting is the method a firm uses to convey its financial performance to the market. The role of Financial Statement Analysis is to use the information in company's financial statements along with other relevant information, to make economic decisions. Example of decisions, whether to invest in the company or recommend to investors or to extend trade or bank credit to the company.

****Balance Sheet

        The Balance Sheet reports the company's financial position at a specific point in time. It is made up of three parts; assets,liabilities and owners' equity.

assets = liabilities + owners' equity

****Statement of Comprehensive Income

        It shows the results of a firm's business activities over the period. Revenues, the cost of generatin those revenues, and the resulting profit or loss.

****Accounting

        Importing information about accounting method, asssumptions and estimates are disclosed in footnotes to financial statements and supplementary schedules.


Framework of a Financial Analysis has six steps;

        1-State the objective of analysis
        2-Gather data
        3-Process the data
        4-Analyze and interpret the data
        5-Report the conclusions and recommendations
        6-Update the analysis

10 Kasım 2013 Pazar

Some tiny codes in C# ( Form Application )

    I know it's been a long time , but i'm back.Today i am going to put some codes in C# , i don't like it though.Do not expect so much  things from these codes because these two coding were little homework in my Data Structures class so they simply sort the numbers that you put on the text field, and one button to run these codes and ofcourse the other text field to show the ordered-numbers.I used "selectionsort" and "bubble sort" algorithms.I hope , beginners of C# can get inpiration by looking at these codes.

Insertion Sort C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace sorting.examples
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            char[] delimiterChars = { ' ', ',', '.', ':', '\t' };
            string text = textBox1.Text;
            string[] words = text.Split(delimiterChars);
            int[] intValues = new int[words.Length];

            for (int i = 0; i < words.Length; i++)
            {
                intValues[i] = Convert.ToInt32(words[i]);
            }
            int j,temp;
            
            for ( j = 1; j < intValues.Length; j++) {

                for (int i = 0; i < intValues.Length-j; i++)
                {
              if (intValues[i] > intValues[i + 1])
                    {
                        temp = intValues[i + 1];
                        intValues[i + 1] = intValues[i];
                        intValues[i] = temp;
                    }
                }
            }
            var result = string.Join(",", intValues);
            textBox2.Text = result;
        }
        private void textBox1_TextChanged(object sender, EventArgs e)
        {  
        }
        private void textBox2_TextChanged(object sender, EventArgs e)
        {
        } 
    }
}
Bubble Sort C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace sorting.examples
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            char[] delimiterChars = { ' ', ',', '.', ':', '\t' };
            string text = textBox1.Text;
            string[] words = text.Split(delimiterChars);
            int[] intValues = new int[words.Length];

            for (int i = 0; i < words.Length; i++)
            {

                intValues[i] = Convert.ToInt32(words[i]);

            }

            int j,temp;
            
            for ( j = 1; j < intValues.Length; j++) {

                for (int i = 0; i < intValues.Length-j; i++)
                {


                    if (intValues[i] > intValues[i + 1])
                    {
                        temp = intValues[i + 1];
                        intValues[i + 1] = intValues[i];
                        intValues[i] = temp;
                    }
                }
            }

            var result = string.Join(",", intValues);
            textBox2.Text = result;
        }

        private void textBox1_TextChanged(object sender, EventArgs e)
        {
            
        }

        private void textBox2_TextChanged(object sender, EventArgs e)
        {

        }

       
    }
}
 

3 Temmuz 2013 Çarşamba

Get Started dealing with JAVA

    Here are some tips about Java and curcial things that you have to consider if you are into Computer Science or any related fields.

    First of all , Java is an OOP which stands for Object-Orianted Programming
                      Java compeses fully classes and classes contain objects and methods.So lets break them down into specific conditions can be understood easily;

                     Class is a way to say our compiler that what kind of processes we will need to use while building our program.In real world, we,human being , are classes.Therefore these classes can be specified getting some particular names.If i pick one particular thing up in this class then that thing is named Object.So what i have done so far;
   
                   Created a new class which is named " Human "
                   Then i declared an Object named "James" which is related to my class "Human"
                 
                   Using this object is very simple; just we need to be aware of methods may be used into our program.For example; run can be a method in our program because we already know that human can run :) .  
So, the object i created before from "Human" class now is using "run" method by using my "James" object.All things may be considered like a real life in our enviroment.

                   These whole stuff is about how to create source code with Java Programming Language.Ofcourse, there many other important cases can not be passed though it looks so simple.

                   I will talk about the other stuff later on.

27 Nisan 2013 Cumartesi

Some Polish and Some Poznan

   Ahh feelings , missing them much but cant touch and change them at all.You cant see but you feel it s watching you in somewhere may not be closed to you and even like something reminds to you everything what happened so far looking with two huge eyes, is on the sky.

    Well our story starts with Poznan and ends with Poznan any how much you dont wanna end it up at all.

Everything started here. 

... being away from home makes you little bit weird especially when you take the first step through this.Everythings starts to look scary but you know that feeling will make you think you re home soon out there  and for sure it starts much more before than you've thought.
    
     I was in there for my Erasmus education so it was not too hard get involved by social side and thanks to Facebook :).It was enough to greet to everyone speaking with them because we've already spoken many months on Facebook :).

    People,places,drinking and fun , more fun.Experiences were pouring straight to you anytime and you can hardly stop this by the way why would you wanna stop this ? you re here for this reason.Feel free more than have never felt before. 

... Poznan is not a big city so much its a typical student place so consequently all fun stuff is not expensive.You can afford easily for your priority expenses such as rent,food,clothing etc. while having fun at nights.They are using Zloty currency so if you re part of EU where you can gain some euros then it could be much more easy to stay there.

     Greenery area is placed everywhere it would be so hard not to see any trees there while walking around the city but i can not say the same thing on the weather's situation because i just saw the sun 5 or 6 times in 5 months :) and average temp is about 6 - 8 degrees in Autumn so you re so curious about what is the situation in Winter time , yeah i can see that , well its snowy but really snowy and temp is about (-4) - (-16) in my observations.Actually it could be worse if Poznan had a little bit more high altitude.

 ... Cuba Libre,SQ,Klup Czekolada,Terytorium and much more they all are waiting for you get you make some noise and taste really nice vodka and more...

    For Erasmus students, there is no any enterance fee in general.But their prices are quite ok with paying actually.3-5 euros.So what about the inside ?
General scale is that , even you can find really good beer in a big schooner for 1 euro and as well vodka shot.But i suggest to you guys that drink much more part of your drinking plan in a pub before arrival the any club thus you can get freaking drunk for 10-20 euros if you have a purpose to do that :).You definetely get drunk because everything start to be much more cool when you re drunk and dont be afraid you wont be alone :) and even you can make some friends by going to toilet yeah i am serious it happened to me and i met with two dutch guys who talked about Sneijder coming to Galatasaray with me ,and a group which was drinking as well.So the best place that kind of things happend to you , is Proletaryat , keep it in your mind :).But if i say to you every kind of drinking costs just 1 euro , and yes shot vodka,beer even wine , so how do you feel now ? :) dont start to packing immediately first you need to check the flights to Poznan :).

    Do i wanna come back to Poznan ? well , kidding me ? sure i wanna do that insanely and i am sure you wont been in any regret at all.You can get everywhere for couple mins and cheap, enter the any club easily after school because you can find many of them in the center of city where you can eat something or doing your private affair after classes are finished.Please eat whatever you want in Sphinx for me also you will love it.Just order a American Steak and enjoy :) ... 

    And also Polish people are really so kind but sometimes they get ashamed on speaking English with you :).But their education is really nice and influential to teach you something ofcourse still need get some improvement on English because its rate is still low within European Union.

    You can find very nice museums and cathedrals which i love visiting , and their entrance is also cheap.Therefore they are exteremly flamboyant constructions and many of them were built in 10th century.

    Now all the pics say different story to me , i hope it will do same thing to you ...

From Tram Party
Cuba Libre and thanks Sara for this nice pic with me  :)
With some friends from Erasmus.
In Corner Pub owned very nice parties.
Yeah i slided down three times but did not break anything hopefully :)
Ohh damn it i was chosen as the best dancer in Erasmus 2012/2013 :P

Broadcast by Me !

listen the broadcast

14 Nisan 2013 Pazar

Facebook Home to any Android Device now !!!

    Yeap you've heard it right, as you know Facebook Home is officially went live on Google Play right now but unfortunately it is available for just few Android headsets in the initial support list.Therefore some guy in xda-developers published an installition package post few days ago, and yes IT WORKS !!!

   You need to try it because that man who posted it can not ensure to you for also running on your headset.But there is no needed any root and touching build prop.So here is the link and give it a shot guys :).

    Here ! ! ! Click it ! ! !

11 Mart 2013 Pazartesi

LTE Nedir ?

 

  iPhone başlayan LTE teknolojisi furyası diğer mobil üreticilerinde desteklemesiyle yeni çıkan bütün akıllı telefonlarda artık yerini almaya başladı.Peki LTE teknolojisi nedir ve bize neler vaat etmekte ?

    En iyi şekilde kısaca açıklamak gerekirse; en hızlı network teknolojisidir.Yani dünya çapında network operatörlerinin birbirleri ile iletişimi daha az bir masrafla ve en iyi seviyede yapmalarını sağlayan bir UMTS bağlantısıdır.Tabii biraz daha açıklığa kavuşturabiliriz.Hepimizi 3G yi biliriz ve ülkemize geldikten sonra mobil internette bize neler getirdiğini az çok hatırlayabiliyoruz ki hala kullanımda olan bir teknoloji.Tabii bu sadece bizim için geçerli.Şu an pek çok ülkede LTE teknolojisine geçildi yani 3G nin bir üst seviye bağlantısı olan LTE'ye.Bizim ülkemiz de daha yaygın isim olarak 4G kullanılmakta.

    LTE teknolojisi gerçekten bize yepyeni bir deneyim sunuyor.Kolayca,oldukça hızlı bir şekilde bağlantı yapabilen bir yenilik.Amerika da ki ölçümlere göre ise;Download hızı olarak 19.21 Mbps e kadar çıktığı test edilmiş.Upload ise 10.09.Bu veriler oldukça yüksek internet hızlarını göstermekte mobil kullanıcılar için.Hele ki 3G hızının 1 Mbps ten yukarı çıktığı görülmemişken.Tabii operatörlerin yanlış yönlendiren reklamlarını saymazsak :).

    Şu anlık teknoloji ile LTE kullanımı akıllı telefonlarımızın bataryasının birer düşmanı haline gelmiş durumda.Bunun sebebi ise network operatörlerinin cihazı iki aktif mode haline getirmeye çalışması.Bu yüzden oldukça bataryanızın ömrünü kısaltacaktır gün içinde.

    Gelelim Türkiye de ki duruma.3G üzerinde hala servis geliştirme çabalarımız devam etmekte.Lakin,3G nin çekmediği daha o kadar çok bölge var ki.Ülke genelinde 3G 'nin gerçek hızına hiçbir zaman ulaşamadık.LTE testlerine Turkcell başlamıştı geçen yılın ortalarında.2015 yılın da 1 Gbps hıza ulaşmayı hedeflemekte.Yani 2015 e kadar ancak 3G nin gerçek teknolojisiyle tanışmış olacağız ve ardından ise LTE bizleri beklemekte olacak.

24 Şubat 2013 Pazar

İyi ki doğdun Steve !!

    Bugün Steve Jobs un doğum günüydü.İki yönden benim için farklı bir anlamı var bugünün.Birinci ölümünden sonra geçen şu kısa zamanda bile kendisini ne kadar özlediğimizi ve teknolojinin heyecanını biraz kaybettiğini anlattı bugün bana.Ayrıca Apple ın onsuz biraz gücünden yoksun olduğunu da inkar edemedim bugün.İkincisi biraz kişisel :) Yarın doğum günüm ve böyle özel bir günün sonunda dünyaya gelmem benim için gurur Steve den bir gün sonra :).

    Her zaman Steve Jobs u arayacağımız kesin.Onun gibi birisininde tekrardan dünya ya gelecek olma ihtimalini düşünce de bir kat daha fazla özlemeye başlıyor insan ama hayat devam ediyor.Teknoloji gelişmeye devam ediyor.Ve yarın Barcellona da dünya mobil fuarı başlayacak.Bütün gözler orada olacak.Yeri gelmişkeb söyleyeyim.Windows Phone 8 işletim sisteminin karmaşıklığını bir kez daha gördüm ve normal kullanıcıları bazı zamanlarda zor durumlarda bıraktığına bir kez daha şahit oldum.Kolay ve basitlik gerçekten çok arka plana atılmış.İşlevselliği artırmak namına ve tabi ki görselliği de biraz daha şatafatlı yapmak uğruna işletim sisteminin asıl amaçları unutulmuş.O yüzden ısrarla söylüyorum Windows Phone 8 lerden uzak durun hele ki ilk akıllı telefon deneyiminiz olacaksa o cihaz.

30 Aralık 2012 Pazar

I am back :) iPad Mini

    Uzun bir ara oldu yazmayalı.Ama bu arada boş boş da durmuyordum tabi ki :).Geziyodum,eğleniyordum,keşfediyordum ve daha niceleri.Poznan da olmak ,evinden yüzlerce kilometre uzakta olmak, ilk bakışta ürkütücü de gelse daha sonradan insan evi gibi benimsemeye başlıyor.Geleli 3 ay oldu ve ben çok değiştim buraya ayak uydurduğum ilk günden beri daha da çok değiştim ama içimde ki Apple ve teknoloji sevdası hala duruyor :) .

    O zaman hemen iş konuşalım :). İlk konumuz iPad Mini. Apple neden iPad Mini yi çıkardı ? Pek çok insan iPad Mini çıkınca sonunda ucuza bir iPad ya da Apple ürünü alabileceğini düşündü ama yanıldılar.Fiyatlar tamamen çok daha yüksek diğer cihazlara göre bu da Apple'ın ekranı küçültebileceğini ama kalite ve misyonundan ödün vermeyeceğini gösteriyor.Zaten eğer özelliklerini incelersek piyasada ki 7.9 ve altında ki tabletlere göre biraz normal kalıyor yani boyut küçültmenin önüne fiyat kısmak da eklenince özellikler düştü.Bunu yapmalarının sebebi hani o fiyatı düşmesini bekleyenlerin beklentilerini karşılamaktı ama çoğunluk için hala pahalı.İşte Apple'ın amacı burada şaşıyor.Eğer özellik ve boyut düşürmeleri fiyatla ilgili değilse neden bu değişiklik yapıldı.Eğer sorun normal iPad'in çok büyük gelmesi ise o zaman iPad'in kusursuzluğu çöpe gidiyor direk.

    Hadi şimdi Steve Jobs düşünce sisteminden çıkıp şu an ki Apple'ın düşünce sistemini geçelim.Çeşitlilik.Şu an ki piyasada ki tabletler üreticilerinin boyut ve özellik bakımından çeşit çeşit tabletler çıkartıyor ama Apple'ın sunduğu tek şey ise ürün upgrade etmek.İşte şirket burada ürün payını artırmak için böyle bir plan yapıyor.Tabi bence misyonlarını,Steve Jobs'ın düşünce sistemini, amacını zedeleyen bir çalışma oluyor.

    Sizlere şunu söyleyebilirim eğer 9.7 inç sizin için çok çok büyük gelmiyorsa ve de Amerika da yaşamıyorsanız iPad Mini yi almanız için hiçbir sebebiniz yok :).

23 Eylül 2012 Pazar

iPhone 5


Bu yazımda sizlere iPhone 5 in ne kadar acımasızca eleştirildiğini anlatmak istiyorum arkadaşlar. Öncelikle Samsung SIII allanıp pullanmıs reklam fimlerine aldanmayın derim. Bence ortada tam.bir mobii katliam var.Hersey den önce bir akıllı telefon o kadar buyuk olmaz ,olmamalı.Parmakları büyük insanlar icin belki bulunmaz bir nimet ama iPhone 5 ekran buyuklugu olan 4 inc gayet makul.Reklam afislerinde ki Samsung un her özelliğinin yazılması ise ayrı bir kandırmaca. Sırf liste uzun olsun daha fazla özellik görsün diye insanlar neredeyse sms atabilme özelliği de var yazacaklar. Bu tür seylere kanmayın.

Svoice Siri nin yanında resmem cok komik kalıyor. Kaldı ki Android in yazılımsal olarak da hala bu konuda cok sıkıntısı var.Ekran parlaklıgı cok dusuk iPhone 5 e gore. Ayrıca is islemcinin kac cekirdekli.olmasından cok donanımların uyumları ile alakalı olduğundan iPhone 5 tam da bu tanıma uymakta. O yuzden siz siz olun Samsung un o şatafatlı reklamına aldanmayın. Ha bu arada yeni haritasında cok problem var laflarına bakmayın su an deneme asamasında ve yakın zamanda ki gelecek bir guncelleme ile Google Maps ten daha kaliteli bir harita arayüzü ne kavusacaktır. Ve de oldukca kullanışlı olacaktır. Sevgilerle...

15 Eylül 2012 Cumartesi

Smart RAM Booster


    Çoğu alt kategori Android cihazlara sahip kullanıcıların ortak çilesi Ram yetmezliğidir.Kalp yetmezliği gibi oldu :).Arka planda sizden habersiz çalışan uygulama uzantıları akıllı telefonunuzu o kadar çok meşgul eder ki telefonunuz bir süre sonra ağır bir şekilde çalışmaya başlar.İşte devreye de Smart RAM Booster girer.

13 Eylül 2012 Perşembe

İşte iPhone 5 !






     İşte geldi.İşte karşınızda iPhone 5.Bir dünya dedikoduyu kısmende olsa gerçeğe dönüştürerek beklenenden daha fazlasını verecek bir iPhone ile karşımıza çıktı Tim Cook.Her şeyden önce sahne performansını hala geliştirmesi gerek.Ama bunun dışında her şey her zaman ki gibi çok iyi ayarlanmıştı.
   
    Yeni iPhone'muz olan iPhone 5 daha ince ve uzun bir görüntüsü var.Tamamen cam ve alüminyumdan oluşmakta.Ve iPhone 4S ten yüzde 18 daha ince.Ama gerçekten çok ince bir görüntüsü var.Bunun dışında artık ekranımız 4 inç.En büyük iPhone ekranına sahip şu anda iPhone 5.

   
    1136x640 çözünürlüğe sahip iPhone da ekran oranı ise 16:9.Bütün bu boyutları ile artık iPhone'nunuzu daha rahat tutabileceksiniz.Bunun dışında yeni gelen işletim sistemi ile artık yatay 5 simgeye çıktı.Yani artık ekranda daha fazla içerik görebiliyorsunuz.Ekran dokunmatik sensörleri dünyanın en gelişmiş dokunmatik ekranını sunuyor bizlere.Ekranının büyümesine rağmen dokunmatik hassaslığı daha da artırılmış.
   
    A6 işlemci iPhone 5 ile bir araya gelmiş ve ortaya muazzam ekran görüntüsü ve performansı çıkmış.EA nın Real Racing 3 oyunu muhteşem görünüyor.Ve şarj.Bütün bu geliştirmelere rağmen artık şarjımızda bir nebzede olsa artma var.Arka kamerasında büyük değişiklik var.8 MP lik kamera artık yüzde 25 daha küçük ve düşük ışık ortamlarında bile harika işler çıkartabiliyor.iPhone 5'in konnektörlerinde de küçülme söz konusu.

    iOS 6 gerçekten çok geliştirilmiş özellikle Siri artık daha iyi performans sunuyor.Özel bir film araması bile yapabiliyorsunuz.Bunların dışında tanıtılan yeni iPod Touch artık 40 saat pil ömrüne sahip ve en hafif iPod Touch.Bunun dışında artık Siri desteği gelmiş durumda.iPod Touch 5 farklı renk seçeneği ile geliyor ve AirPlay mirroring özelliği de eklenmiş.720 P video çekmek mümkün artık.

    Evet işte Apple ve yenilik.iPhone 5 gerçekten güzel bir deneyim yaşatacak kullanıcılarına.Kimilerimiz daha çok şey bekliyor kimileri içinse gayet iyi ama şu an için dünyada ki en iyi akıllı telefon.

12 Eylül 2012 Çarşamba

iPhone 5' e Saatler Kaldı !!!


    Evet arkadaşlar hepimizin tüm dünya ile birlikte merakla beklediği Apple'ın iPhone lansmanına saatler kaldı hatta an itibariyle tam 1:30 saat kaldı.

11 Eylül 2012 Salı

FIFA 2013 DEMO ÇIKTI !!!

    İşte merakla beklenen oyunun demosu artık bizlerin deneyimine sunuldu.Origin den indirebileceğiniz demo için öncelikle Origin'i bilgisayara indirmeniz ve ücretsiz üyelik almanız gerekli.Dahan sonra Origin üzerinden oyunun demosunu edinebilirsiniz.

iPhone 5' i Beklerken !

    Kaldı bir gün.12 Eylül de Apple klasikleşmiş bir keynote da bize yeni iPhone' muz olan iPhone 5' i takdim edecek.Apple hayranları sabırsız bir şekilde iPhone 5' i beklemekte ve biliyoruz ki her zaman ki gibi beklediğimize değecek muhteşem bir ürün karşımızda olacak 12 Eylül günü.Tüm dünyanın ileri gelen teknoloji sevenleri gibi bende an ve an takip edeceğim bu keynote' i ve sizlere resim eşliğinde aktarmaya çalışacağım.

19 Ağustos 2012 Pazar

Google Artık Torrent Bulmayacak !!

 
  Google korsanlarla savaşmaya son derece kararlı gibi.Torrent arama sonuçlarını artık göstermeyecek.

4 Ağustos 2012 Cumartesi

Yazıcı Belge Kuyruğu 'nu Silmek !

    Bu yazımda sizleri çoğu zaman zor durumlarda bırakan ve çeşitli çözümlere rağmen kesin,pratik ve hızlı çözüm bulamadığınız soruna değineceğim: Yazıcı Belge Kuyruğu İptali.