Monday, December 7, 2015

entry_1;

{

   Hello, I am Sina. In this entry i will talk about myself and the purpose of this blog. It is first time that I create a blog (sorry for the design). I will share my knowledge, problems which I have encountered and probably solved for me. Actually I am writing this blog to me. I hope that you also can benefit from this blog.

I want to begin with Project Euler. I found this site 1 year ago and it has about 450 mathematical problems that can be solved just by logical thinking. To see a lot of algorithm instances and improve algorithm creating skills I will continue solving problems. (now it has 533 problems)

Next, GitHub. Facebook for computer engineers. There is lots of opensource projects going in here. I must stick around this site more, it is awesome.

Last link for today, CodeFights. You can choose your programming language and start coding versus your friends or bots( I've chosen C++). Likewise Project Euler, it will also help me to improve my skills.

Beside, i installed JDK 1.8 update 66 and IntelliJ Idea Community Edition as a compiler. I will train Java to code better in Android. For Android developement I have Android Studio. Java and Android Studio are free of charge.

Like every newbie programmer I started doing things in console screen, now I know that console is a file so it is wrong to call it console window for me, anyway, to make a sweet gift I coded a program to read char by char a poem that I've written. Then I wanted to add background music also. So i researched and found that if I open a thread I can run more than one process at once. Furthermore I changed console and text colors. While doing these things I just copied the code from internet and compile it. There is a lot of thing that I do not know about like what does HANDLE struct contains, what is DWORD etc. I will try to learn all of them one by one.

Sorry, it was a bit boring. See you.
}

5 comments:

  1. I had like to share my ideas its awsome

    ReplyDelete
  2. if (i % 3 == 0 || i % 5 == 0 && i % 15 != 0), can you explain this please ?

    ReplyDelete
    Replies
    1. We need numbers which are divisible by 3 "OR" 5, not by 3 "AND" 5. If a number is divisible by 3&5 at the same time it means it is also divisible by 15. Thus, for every number in the loop, sum increases when the number is divisible by 3 | 5 and sum will not be increased when it is divisible by 3 & 5.

      Delete

I'm listening, please continue...