The C++ program that calculate the hypotenuse, the area and the perimeter of a right triangle. Actually, I wrote this code few months ago but totally forgot to post it here. Luckily it came across to me while checking the other cpp files. I've fixed some major problems inside the code, and changed something unclear. Plus, I added a do-while loop for continuity. It doesn't look very bad now.
programming etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster
programming etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster
16 Temmuz 2014 Çarşamba
19 Aralık 2013 Perşembe
Prime Numbers
I've taken a quiz about C++ lecture today. That was not very bad, not good either. There was only one question which asks us to develop a program that check the number is prime or not. I coded some parts of the scope, but I think I missed the most important part. Anyway, here is that program.
Sum: This program determines a number you entered whether prime or not.
Sum: This program determines a number you entered whether prime or not.
10 Aralık 2013 Salı
Why Is Programming Important?
"Programming teaches you how to think." said by Steve Jobs. I am definitely agree. Not only it teaches us how to think but also helps to think abstractly. There are three major benefits of thinking learned by programming. First of all, it helps you to think more different than the other people. The perfect ideas come from the way of think differently. This is because we can obtain a great productivity due to this way. If you have an amazing idea and are willing to do what it is, you have to show your productive thought sides. So you should learn how to program something. Secondly, you can know how something works when you see it. It teaches what is going on inside a program or a situation as an example in our daily lives. Namely, you can learn the principle of a system by examining the steps. The final advantage is that you get the showcase of your work. People have to be objective at this point. Because thinking correctly requires an impartiality. It does make a great sense on our approach about a product. For instance, we can see both the positive and the negative sides of a computer program that we coded. And we can develop it to get perfect software thanks to programming. As a conclusion, Steve Jobs was absolutely right. Programming is one of the greatest way to think. And it must be our thirst for success that we stride for.
Buğra Kılıç
Buğra Kılıç
24 Ekim 2013 Perşembe
Simple C# Console Game
Hi! Here it is my other text based console application. This is a game that picks a number between 1 to 10 randomly. And your aim is picking the right one. It's included a bit complex C# structures. But it's not very difficult to code. I haven't been interested in C# language for a while. I hope I will not forget my knowledge :) Anyway, enjoy it! :)
17 Ekim 2013 Perşembe
Distance Measurement Program
Hi again! I have programmed a C++ program which converts kms to miles, or miles to kms. It didn't take a long time for me as a beginner C++ developer. It works successfully now.
Plus, I have learned a fact that we can leave a TAB blank with in the line. It's possible when we use
Plus, I have learned a fact that we can leave a TAB blank with in the line. It's possible when we use
\tcommand before what we are writing in that line. It represents TAB button on the keyboard. I've used three of them to align the headline. After this, found a table shows other special characters. Here it is:
| Screenshot of the console application |
16 Ekim 2013 Çarşamba
The Second Version of Text Based Calculator
Here the second version of my calculator is!
Within two days, I focused on switch-case command, and fixed something was wrong. I think some slight gaps still exist. Even though they're not very important, the design doesn't look perfect. That's because the program closes itself after undefined operation numbers are entered. I mean there is no way to return at the beginning of the program.
14 Ekim 2013 Pazartesi
About Development of Text Based Calculator
Hi folks! I have learned a fact that is related to do all mathematical(ok, just four basic ones) process according to your request. The first version of my text based calculator was very simple and ordinary a bit. You had to use the commands step by step for doing any mathematical process. You can analyze the codes of that project, and examine the details at the previous post published October 7. Anyway, I have learned "switch case" command to organize the steps to your requirement. But it's being still developed. Hopefully, I'll publish that in a few days. I think I should name the calculator. It's such an easy-work but worth.
7 Ekim 2013 Pazartesi
Text Based Calculator with C++
Hi! I started to learn C++ at my department last week. I've taken only one course about this. So I'm a beginner, namely I can do some mistakes because of the lack of knowledge. But I believe I will improve myself about this branch.
Let's start some examples. This is a simple text based calculator programmed with basic C++ knowledge. Only few functions were used as you see. It's formed with almost the same forms repeatedly. It might hold some logical problems, or unnecessary codes. As already stated, this is my first C++ project. So it definitely should be improved.
Let's start some examples. This is a simple text based calculator programmed with basic C++ knowledge. Only few functions were used as you see. It's formed with almost the same forms repeatedly. It might hold some logical problems, or unnecessary codes. As already stated, this is my first C++ project. So it definitely should be improved.
7 Eylül 2013 Cumartesi
Kaydol:
Kayıtlar (Atom)
