Error: "version" has no method named "strncmp"#define StartsWith(x, y) ( strncmp(x, y, strlen) == 0 ? 1 : 0 )
#define StartsWith(x, y) ( strncmp(x, y, strlen) == 0 ? 1 : 0 )
#define StartsWith(x,y) (strncmp(x, y, min(strlen(x), strlen(y))) == 0 ? 1 : 0)
Also, the correct behaviour would rather be:
Code:#define StartsWith(x,y) (strncmp(x, y, min(strlen(x), strlen(y))) == 0 ? 1 : 0)
Also, the correct behaviour would rather be:
Code:#define StartsWith(x,y) (strncmp(x, y, min(strlen(x), strlen(y))) == 0 ? 1 : 0)
It mostly annoyed people who spent 99% of their mental capacity learning to control a computer by mouse and keyboard (which is unnatural and complicated for our brain... moving the mouse forward for making the cursor move up) and suddenly made their most significant skills obsolete by just touching the bloody screen - if they have one.
I might just be lazy, but touchscreen does not seem to be ergonomical for a workstation.
Redundant. See description of strncmp().
Unless you believe that StartsWith("ab", "abcd") should return true.
So you mean kind of exactly like what Windows 10 will do with the "Continuum" feature?Actually having a touch screen on a compact device isn't bad when it's in your lap such as on a bus or train. While the idea of a one-size-fits-all OS isn't too terrible, the display functionality is. This is where I think Linux's use of different desktop interfaces is a good idea, whether it was intentional or not. Same OS underneath, but the UI is tailored to the application, and possibly even switchable. I could use the mobile interface while on the bus, then when I get to work, I attach the keyboard and switch to the more conventional UI.
A small PSA for anyone testing it out: especially on games I've found it useful to set the compatibility mode on "Windows 8", since otherwise it would hang on startup (e.g. DCS stuck at 19% on the first loading screen).
Windows 10 looks like it might just tempt me to upgrade from Vista 64 SP2.
But how much is it going to cost, both 7 and 8 where too expensive for me to justify upgrading a stable system that has had only 2 BSOD in the last 3 years (both where faulty hardware related.)
Microsoft declined to answer direct questions about how much Windows 10 will cost, particularly for people upgrading from Windows 7 or XP saying, "we want to talk about the overall product family [at this stage]".
According to Indonesian news site Detik, the president of Microsoft Indonesia, Andreas Diantoro, has confirmed that Windows 9 - now 10 - will be a free upgrade for all Windows 8 users.
The bigger question is whether this will stretch to Windows 7 and even Vista users or not. We'll probably have to wait until 2015 to get an answer.