Archive for June, 2013

iOS 7 has been installed

Posted: June 11, 2013 in hi-tech
Tags: , , , ,

Hello there!
As most of you know, Apple just released new iOS for iPhones and iPads. Some of you may be watched the Keynote that was yesterday online on Apple website.

Just installed the latest iOS7 to iPhone 5.

After the presentation I was a bit disappointed with the new iOS 7, I thought that design is poor and looks like Androids or Windows Phones, so that Apple lost their creativity and feeling of design. Fortunately, I was wrong!!!

After I installed it to my iPhone I got the feeling of it, it is just cool as it should be. Lots of new and easy features, flat design and awesome animation that is everywhere. It is just amazing to look how the device works. Of course, I need some time to get used to some new features (new gestures, multitasking, colors etc), but the feeling of being somewhere in the future is here, Apple didn’t lose it and I hope they won’t.
Some screenshots:

Photo Jun 11, 11 31 28 AM



Variable Argument list

Posted: June 5, 2013 in Programming
Tags: , , , ,

Really nice and easy explanation of the variable argument list usage. Appropriate comment on each row.

#include <cstdarg>
#include <iostream>

using namespace std;

// this function will take the number of values to average
// followed by all of the numbers to average
double average ( int num, ... )
  va_list arguments;                     // A place to store the list of arguments
  double sum = 0;

  va_start ( arguments, num );           // Initializing arguments to store all values after num
  for ( int x = 0; x &lt; num; x++ )        // Loop until all numbers are added
    sum += va_arg ( arguments, double ); // Adds the next value in argument list to sum.
  va_end ( arguments );                  // Cleans up the list

  return sum / num;                      // Returns the average
int main()
    // this computes the average of 13.2, 22.3 and 4.5 (3 indicates the number of values to average)
  cout&lt;&lt; average ( 3, 12.2, 22.3, 4.5 ) &lt;&lt;endl;
    // here it computes the average of the 5 values 3.3, 2.2, 1.1, 5.5 and 3.3
  cout&lt;&lt; average ( 5, 3.3, 2.2, 1.1, 5.5, 3.3 ) &lt;&lt;endl;

Just got the other new project on technology and design, and the idea is to think about human enhancements and import them to the body. Basically, to find out what would be available to people in the nearest future and which ideas are now on the go:) It is exciting and really worth doing. Nowadays, young people mostly, are the brain and a PUSH button for the society and people at all…and I believe that such projects, that allow students think about the new ideas and even sometimes implement them (the mockup). So soon we will probably won’t ill and will be able to explore everything, hopefully the life will be more and more convenient…

PS: Already drew some ideas according to that project 🙂