Posts Tagged ‘series’
Samsung announced Wave 3
The family members of Samsung S2 Galaxy are, without doubt, some of the best phones we’ve seen, but that does not mean the company remains interested in the rest of the series, as in the case of the Wave series to be updated with the launch of Samsung Wave 3. Initially, the French market will then begin to be sold in Germany, Italy, Russia and finally the rest of the world, all of which occur in late 2011 and early 2012. As expected, being a Wave will have a marked style and technology, so you will have an anodized aluminum of 9.9 mm.
Under the cover of Samsung Wave 3 we find a processor that runs at 1.4GHz, on the outside will see the Super AMOLED WVGA 4 “and also see it has a 5 megapixel camera capable of recording videos in HD, plus a microSD card reader and Bluetooth 3.0 connectivity.
The Wave 3 will use Bada 2.0 operating system from Samsung and as stated above will be released within a month.
Assignment Operators in C++
C++ Operators – Part 1
Introduction
Addition and subtraction symbols are examples of operators in C++. C++ has many other operators that do not have similarities with mathematics. In fact you should learn C++ operators as they are given without making similarities with mathematics. Making similarities can be misleading. This is the first part of a series in which I explain C++ operators. Take things as I give you and avoid making similarities with mathematics.
If you are an old programmer, you can read the series in any order or you can read just the part, which is related to a problem you currently have at your job site. If you are new to programming or you studied programming and have not been practicing, then you should read the whole series.
You need to have basic knowledge in C++ in order to understand this series. If you do not have basic knowledge in C++, then read the series in this blog whose first part is titled, “Getting Started with C++”. To arrive at the series, just type the title and my name, Chrys in the Search box of this page and click Search.
Note: If you cannot see the code or if you think anything is missing (broken link, image absent), just contact me at forchatrans@yahoo.com. That is, contact me for the slightest problem you have about what you are reading.
In this part of the series, we look at assignment operators in C++. An example of such an operator is =.
Operand
An Operand is an identifier or a literal (value) associated with an operator. Consider,
myIdent = 30; //this ID should have been declared as an int
myIdent is a left operand and 30 is a right operand to =. = is an example of an operator called, the assignment operator, not the equal operator (details below).
Consider:
myIdent && hisIdent && herIdent
There are three operands in the above expression. So, you can talk of the first (myIdent), second (hisIdent) and third operands (herIdent). &&, that is 2 ampersands form another operator; we shall talk about it later.
Binary and Unary Operators
A binary operator needs two operands to work with: one on its left and one on its right. A unary operator needs only one operand to work with, placed on its left or on its right (see later).
Assignment Operators
Assignment operators are:
= *= /= %= += -= >>= <<= &= ˆ= |=
We look at each of these operators in this part of the series.
Simple Assignment (=)
The simple assignment operator is, =. The following statement illustrates an example:
int myInt = 35;
We say the integer 35 is assigned to the object, identified by myInt. The left operand to = is myInt. The right operand is 35. The left and right operands should be of the same type.
For all assignment operators the operation is from right to left; that is, from the right operand to the left operand. If you are trying to make similarity with mathematics, then the previous sentence (right to left) may not make sense; avoid making similarity with mathematics. We shall see many examples of right to left and left to right operations as we go along in the series.
For simple assignment, the right operand may be another identifier or even a function call that returns a value.
E1 op= E2 Expressions
In the following generalized statement, E1 is an object identifier, op is an operator and E2 is another object identifier; = is the simple assignment operator:
E1 op= E2
This generalized statement that involves the simple assignment operator is equivalent to,
E1 = E1 op E2
The rest of the assignment operators in the list above follow this generalized rule as explained below. The rest of the assignment operators are each made up of an operator you might already know and the simple assignment operator.
The *= Operator
Consider the following statement:
int int1 = int1 * int2;
Here, int1 and int2 are object identifiers. Note that int1 is found in both the left operand and the right operand (int1 * int2), of the simple assignment operator. We also have the multiplication operator, *. In the above statement the result of multiplying int1 by int2 is assigned to int1. The statement can be re-written as:
int int1 *= int2;
Also, int2 can be replaced by a number as in,
int int1 *=3;
The /= Operator
Consider the following statement:
int int1 = int1 / int2;
Here, int1 and int2 are object identifiers. Note that int1 is found in both the left operand and the right operand. We also have the division operator, /. In the above statement the result of dividing int1 by int2 is assigned to int1. The statement can be re-written as:
int int1 /= int2;
Also, int2 can be replaced by a number as in,
int int1 /=4;
The following program illustrates this:
#include <iostream>
using namespace std;
int main()
{
int int1 = 20;
int int2 = 4;
int1 /= int2;
cout << int1;
return 0;
}
The %= Operator
Consider the following statement:
int int1 = int1 % int2;
Here, int1 and int2 are object identifiers. Note that int1 is found in both the left operand and right operand. We also have the modulus operator, %. In the above statement the remainder of dividing int1 by int2 is assigned to int1. The statement can be re-written as:
int int1 %= int2;
The += Operator
Consider the following statement:
int int1 = int1 + int2;
Here, int1 and int2 are object identifiers. Note that int1 is found in both the left operand and the right operand of the simple assignment operator. We also have the addition operator, +. In the above statement the result of adding int1 to int2 is assigned to int1. The statement can be re-written as:
int int1 += int2;
The -= Operator
Consider the following statement:
int int1 = int1 – int2;
Here, int1 and int2 are object identifiers. Note that int1 is found in both the left operand and the right operand of the simple assignment operator. We also have the subtraction operator, -. In the above statement the result of subtracting int2 from int1, is assigned to int1. The statement can be re-written as:
int int1 -= int2;
Bitwise Assignment Operators
>>= <<= &= ˆ= and |= are known as bitwise assignment operators. These are usually used by electronic programmers. They are not normally used by the programmers of business organizations and for common projects. I intend to address them in a separate series.
With that we have come to the end of assignment operators. See you in the next part of the series.
Chrys
To arrive at any of the parts of this series, just type the corresponding title below and my name, Chrys, in the Search Box of this page and click Search (use menu if available):
Assignment Operators in C++
Arithmetic Operators in C++
Equality and Relational Operators in C++
Logical Operators in C++
Unary Operators in C++
Type Casting Operators in C++
Pointer to Member Operators in C++
Isolated Operators in C++
Operator Precedence in C++
The Best Male Bonding Video Games
10. Call of Duty: Modern Warfare 2
Call of Duty: Modern Warfare 2 is a first-person shooter video game developed by Infinity Ward and published by Activision for the Xbox 360 and PlayStation 3 video game consoles and the Microsoft Windows operating systems. Officially announced on February 11, 2009, the game was released worldwide on November 10, 2009. It is the sixth installment of the Call of Duty series and the direct sequel to Call of Duty 4: Modern Warfare, continuing along the same storyline.It was released in conjunction with two other Call of Duty games: Call of Duty: Modern Warfare: Mobilized for the Nintendo DS, and Call of Duty: Modern Warfare: Reflex, a port of Call of Duty 4 adapted by Treyarch for the Wii console.
In addition, a comic book series based on one of the game’s characters was also produced, entitled Modern Warfare 2: Ghost. Modern Warfare 2 has received very positive reviews from various gaming websites, attaining a 94% aggregate score on Metacritic, with praise stemming primarily from its in-depth multiplayer component. Upon its release, the game sold approximately 4.7 million copies worldwide in 24 hours. On June 15, 2010, Activision confirmed that the game had sold over 20 million copies worldwide, making it the second best-selling game of all time in the UK, and the third best-selling game of all time in the US. -Wikipedia.org
Purchase this Video Game on Amazon.com
9. Mario Kart 64
Mario Kart 64? is a racing game developed and published by Nintendo for the Nintendo 64. It was released in 1996 in Japan and in 1997 in North America and Europe. On January 25, 2007, Mario Kart 64 was released on Nintendo’s European Virtual Console service for the Wii. It was released on the American service on January 29, 2007, and in Japan on January 30, 2007. Mario Kart 64 is the sequel to Super Mario Kart for the Super Nintendo Entertainment System.
Changes from the original include the move to 3D computer graphics and the inclusion of four-player support. Players take control of characters from the Mario universe, who race around a variety of tracks with items that can either harm opponents or aid the user. The move to three-dimensional graphics allowed for track features not possible with the original game’s Mode 7 graphics, such as changes in elevation, bridges, walls, and pits. However, the characters and items remained 2D pre-rendered sprites. -Wikipedia.org
Purchase this Video Game on Amazon.com
8. Left 4 Dead 2
Left 4 Dead 2 is a cooperative first-person shooter game. It is the sequel to Valve Corporation’s award-winning Left 4 Dead. The game launched on November 17, 2009, for Microsoft Windows and Xbox 360 in the United States; it launched November 20 in Europe. It builds upon the cooperatively-focused gameplay of the original and uses Valve’s proprietary Source engine, the same game engine used in Left 4 Dead. The game made its world premiere at E3 2009 with a trailer during the Microsoft press event.
Like the original, Left 4 Dead 2 is set during the aftermath of an apocalyptic pandemic, and focuses on four survivors fighting against hordes of the infected. The survivors must fight their way through levels, interspersed with safe houses that act as checkpoints, with the goal of reaching a rescue vehicle at the campaign’s finale. The gameplay is procedurally altered by an artificial intelligence engine dubbed the “Director” that monitors the players’ performance and adjust the scenario to provide a dynamic challenge. Several new features have been introduced: new types of infected, melee weapons, and a story-arc that connects the game’s five campaigns together. -Wikipedia.org
Purchase this Video Game on Amazon.com
7. Madden NFL 11
Madden NFL 11 is an upcoming American football video game based on the National Football League published by EA Sports and developed by EA Tiburon. It will be the 22nd annual installment in the Madden NFL video game franchise. It is expected to be released on August 10, 2010 in North America, and on August 13 in Europe. It will be released for the PlayStation 3, PlayStation 2, PlayStation Portable, Wii, Xbox 360, Nintendo 3DS and iOS platforms. The PS3 and Xbox 360 demos were released on July 27, 2010.
An all-new play-calling system, GameFlow, which attempts to create a more authentic situational game plan for you based on down and situation, which developers claim cuts the game time in half. This also includes headset enabled audio advice on how to execute plays. Other differences from previous games include a new kick meter, new audible system, and new locomotion animation system. Another addition is Online Team Play, which supports 3 vs. 3 cooperative play, with attribute boosts given as an incentive. You can also scout opponents in online head to head games. Lighting improvements, run blocking changes, new QB ratings, and a new “Swagger” rating have also been added. -Wikipedia.org
Purchase this Video Game on Amazon.com
6. Gears of War 2
Gears of War 2 is a third-person shooter video game developed by Epic Games with lead design by Cliff Bleszinski, and published by Microsoft Game Studios for the Xbox 360. It is the second installment of the Gears of War series. The game was officially released in North America, the United Kingdom, and Australia on November 12, 2008. The game expands technically on the previous game by using a heavily -modified Unreal Engine 3 engine. The development team also brought in comic book writer Joshua Ortega to help write the plot for the game.
In Gears of War 2, the human Coalition of Ordered Governments (COG) forces continue their fight against the Locust horde, who are attempting to sink all of the cities on the planet Sera by using a big riftworm to eat the ground beneath them. Sergeant Marcus Fenix leads Delta Squad into the depths of the planet to try to stop the worm from eating but instead they discover the true intent of the Locust actions.
The player controls Fenix in the main mission campaign, with the ability to play cooperatively with a second player controlling Fenix’s best friend and fellow Squad member Dominic “Dom” Santiago. The game includes several existing and new multiplayer modes including five-on-five battles between human and Locust forces, and a “Horde” mode that challenges up to five players against waves of Locust forces with ever-increasing strength. New weapons and gameplay mechanics such as “hockey fights” and the ability to use downed foes as “meatshields” were added to the game. -Wikipedia.org
Purchase this Video Game on Amazon.com
5. NHL ’94
NHL ’94 is an ice hockey game by EA Sports for the Sega Mega Drive/Genesis, Super Nintendo and Sega CD, as well as the first release of the “NHL Hockey” series for PC/DOS, simply titled “NHL Hockey”, without the “94″ in the title. The game is officially licensed from the National Hockey League and NHL Players Association. Being the third game in the NHL Hockey series franchise, it was released on March 15, 1993. NHL ’94 is included as #47 on IGN’s Top 100 Games of All-Time and is named All-Time Greatest Sports Video Game by Boston.com and various gaming forums. -Wikipedia.org
Purchase this Video Game on Amazon.com
4. Street Fighter II
Street Fighter II is a sub-series in Capcom’s Street Fighter franchise of competitive fighting games, originally released as coin-operated arcade games. The Street Fighter II series started with the original Street Fighter II game itself, released in 1991 as a sequel to Capcom’s 1987 fighting game Street Fighter. Street Fighter II improved upon the many concepts introduced in the first game, including the use of command-based special moves and a six-button configuration, while offering players a selection of multiple playable characters, each with their own unique fighting style and special moves.
Street Fighter II is credited for starting the fighting game boom during the 1990s. Its success led to the production of a series of updated versions, each offering additional features and characters over previous versions, as well as several home versions. Some of the home versions of the Street Fighter II games have sold millions of copies, with the SNES port of the first Street Fighter II being Capcom’s best-selling consumer game of all time as of 2008. -Wikipedia.org
Purchase this Video Game on Amazon.com
3. GoldenEye 007
GoldenEye 007 is a 2010 first-person shooter video game developed by Eurocom and published by Activision for the Nintendo Wii video game console, and the Nintendo DS handheld game console. It is an enhanced remake of the critically acclaimed 1997 video game of the same name, which was developed by Rare for the Nintendo 64. Both games are, in turn, based on the 1995 James Bond film GoldenEye. The game was officially announced by Nintendo at their E3 2010 conference presentation. A Nintendo DS version is also in development and will be produced by n-Space. -Wikipedia.org
Purchase this Video Game on Amazon.com
2. NBA Jam
NBA Jam is an upcoming basketball video game that is being developed for the Wii by EA Canada and will be published by EA Sports. It is the latest installment in the NBA Jam video game franchise and is scheduled to be released in 2010. NBA Jam creator Mark Turmell is serving as a consultant for the Wii version. Although not officially announced, ratings have appeared on USK’s and ESRB ratings boards for Playstation 3 and Xbox 360 versions of the game.
As of August 2010, It has been confirmed that the Playstation
Review: Nokia N8
Mobile manufacturers like Nokia are extremely famous for their phones and services in the mobile industry. They have come up with a new N series phone which is the Nokia N8 along with the Nokia N8 deals. These deals are the new buzz in the market as it supports the public to buy a high end phone within their budget. They have sold lots and lots of phones over the years, setting themselves up as one of the best brands in the market. With time their achievement technology supports them to expand their machinery and come up with better phones.
This is a really amazing gadget; it is well equipped with number awesome features. One of the best features of this handset is the camera. The camera with this device is of 12MP, which gives the customer awesome a picture of high resolution of 4000 x 3000 pixels. It supports various features like has auto focus, xenon flash, geo tagging and face and smile detection are adding further values to the quality of this handset. The camera is also capable of shooting videos. There is a secondary camera that is used for the video calling purposes. You can also watch television on your phone.
The Nokia N8 was recently released in March, 2010. Starting from its AMOLED capacitive 3.5 inch display, the phone has many other eye-catching features. The handset supports 2G and 3G networks making it possible to access fast internet and allow a high rate of data transfer. Apart from this it has an internal memory of 16GB which could be extended to 32GB. It also supports Wi-Fi, Bluetooth connectivity, GPRS, EDGE for awesome connectivity.
The Most Violent Video Games
10. Carmageddon
Carmageddon is the first of a series of graphically violent vehicular combat video games produced by Stainless Games, published by Interplay and SCi. It was inspired by the 1975 cult classic movie Death Race 2000. The game that became Carmageddon started out as “3D Destruction Derby”, a banger-racing (stock-car) sim prototyped by Stainless.
This was signed by SCi in 1995, but the banger-racing angle was soon dropped and for a while the game was to use the Mad Max license. This fell through, and was replaced by the Death Race 2000 license, as a sequel to the original film was at that time planned (it eventually emerged as a comic book).
This introduced the running-over of pedestrians into the game. When this license also fell through, SCi and Stainless took the decision to proceed with the game anyway, without a license. The name “Carmageddon” was coined, and development proceeded with the designers allowed unusually free rein with regard to the content of the game. -Wikipedia.org
9. Soldier of Fortune: Payback
Soldier of Fortune: Payback is the third installment of the Soldier of Fortune game series. Unlike the previous two Soldier of Fortune games, which were developed by Raven Software utilizing the Quake 2 and Quake 3 engines, Payback was developed by Cauldron HQ, developed with Cauldron’s in-house CloakNT engine, used in their previous First Person Shooter game, Chaser. This game is the first game of the series released for the Xbox 360 and PlayStation 3. The game was released on 14 November 2007. -Wikipedia.org
8. God of War III
God of War III is an action-adventure video game for PlayStation 3, developed by Sony Santa Monica, published by Sony Computer Entertainment and released worldwide in March 2010 and is the fifth installment to the series. Loosely based on Greek mythology and focused on protagonist Kratos, the game forms part of a saga – the God of War series – with revenge as a central theme.
In this final chapter in the current storyline, Kratos and his initial allies the Titans storm Mount Olympus in an attempt to kill Zeus and the Olympian Gods, leading to a series of confrontations across the Underworld and Olympus and the reintroduction of Pandora’s Box. -Wikipedia.org
7. Gears of War 2
Gears of War 2 is a third-person shooter video game developed by Epic Games with lead design by Cliff Bleszinski, and published by Microsoft Game Studios for the Xbox 360. It is the second installment of the Gears of War series. The game was officially released in North America, the United Kingdom, and Australia on November 12, 2008. The game expands technically on the previous game by using a heavily -modified Unreal Engine 3 engine. The development team also brought in comic book writer Joshua Ortega to help write the plot for the game.
In Gears of War 2, the human Coalition of Ordered Governments (COG) forces continue their fight against the Locust horde, who are attempting to sink all of the cities on the planet Sera by using a big riftworm to eat the ground beneath them. Sergeant Marcus Fenix leads Delta Squad into the depths of the planet to try to stop the worm from eating but instead they discover the true intent of the Locust actions. The player controls Fenix in the main mission campaign, with the ability to play cooperatively with a second player controlling Fenix’s best friend and fellow Squad member Dominic “Dom” Santiago.
The game includes several existing and new multiplayer modes including five-on-five battles between human and Locust forces, and a “Horde” mode that challenges up to five players against waves of Locust forces with ever-increasing strength. New weapons and gameplay mechanics such as “hockey fights” and the ability to use downed foes as “meatshields” were added to the game. -Wikipedia.org
6. Mortal Kombat vs. DC Universe
Mortal Kombat vs. DC Universe (also known as MK vs. DC) is a crossover fighting game from Midway Games and Warner Bros. Games. The eighth game in the Mortal Kombat series, MK vs. DC was released on November 16, 2008. The game contains characters from both the Mortal Kombat franchise and the DC Universe. The game’s story was written by comic writers Jimmy Palmiotti and Justin Gray. This was the last title to be developed and published by Midway Games, as it filed for Chapter 11 Bankruptcy and sold the rights to Mortal Kombat to Warner Bros. This is also the first console MK game to have an unrestricted rating by the ESRB.
The game was developed using Epic Games’ Unreal Engine 3 and is available for the PlayStation 3 and Xbox 360 platforms. It is the first Mortal Kombat title developed solely for a seventh generation console. The majority of its ratings range from 7.5/10 to 8.5/10. Most reviewers agreed that the game was entertaining and made good use of its DCU license; however, a lack of unlockable features as opposed to past installments and toned down finishers garnered some criticism. -Wikipedia.org
5. Thrill Kill
Thrill Kill is a cancelled 1998 fighting video game for the Sony PlayStation, which even today is still widely available despite being officially unpublished. Thrill Kill was considered a technical feat for the PlayStation for allowing four players to fight simultaneously in the same room, although this technical feat was overshadowed by the brutality and controversy surrounding the game.
Set in an urban version of Hell, the characters were all damned souls fighting for another chance in the mortal world, watched over by Marukka the Goddess of Secrets, who has organized the infernal tournament and promised the winner reincarnation on Earth. Other content included revealing BDSM and fetishistic costumes, characters with amputated limbs and other handicaps and violent and sexual moves with names such as “Bitch Slap”, “Swallow This”, and “Head Muncher”.
Eight damned souls have died and descended into Hell. This modern-day Hell is based on the real world of today’s deviants. The characters are the physical manifestations of their mental illnesses or the evil hidden within their mortal selves. Marukka, the Goddess of Secrets, is bored of her usual routine and decides that it would be entertaining to pit all of the characters against one another in a fighting tournament with the prize being reincarnation. Each character is battling for nothing more than self-preservation and the hope of being reborn. -Wikipedia.org
4. MadWorld
MadWorld is a video game developed by Platinum Games and published by Sega. It was released for the Wii on March 10, 2009 in North America, on March 20 in Europe, March 26 in Australia, and February 10 in Japan. It was re-released in Australia on March 11, 2010 in Sega Australia’s ”Welcome To Violence” boxset, which also includes House of the Dead: Overkill and The Conduit.
MadWorld is divided into several levels representing different parts of Jefferson Island that have been converted into sets for the game show DeathWatch. The player progresses through these levels in a linear fashion during the first playthrough, but can revisit any completed level to attempt to score more points or take on a harder challenge. -Wikipedia.org
3. Manhunt
Manhunt is a stealth game developed by Rockstar Games, it was released November 18, 2003 for the PlayStation 2 video game console, and April 20, 2004 for Xbox and Windows. Although it was generally well-received by critics, Manhunt created a controversy due to the graphic violence the player is encouraged to engage in.
This resulted in the game being banned in several countries and implicated by media in a murder, although this implication was later rejected by the police. In October 2007, its sequel, Manhunt 2 was released and spawned a mass controversy as well . As of March 26, 2008, the Manhunt franchise has sold 1.7 million copies according to Take-Two Interactive. -Wikipedia.org
2. Grand Theft Auto: Episodes From Liberty City
Grand Theft Auto: Episodes From Liberty City is a standalone compilation of the downloadable content (DLC) episodes for the 2008 video game Grand Theft Auto IV, containing both The Lost and Damned and The Ballad of Gay Tony on one disc. It was released alongside the DLC release of The Ballad of Gay Tony on 29 October 2009 for the Xbox 360 and released on 13 April 2010 for Microsoft Windows and PlayStation 3.
Unlike the standalone versions of the episodes, the compilation does not require a copy of Grand Theft Auto IV to play, nor is an Xbox Live or PlayStation Network account necessary (except for multiplayer). The content is also played straight from the disc, and does not need to be downloaded to a hard drive to play, like various other disc-based expansions for other Xbox 360 games that have been released in the past. -Wikipedia.org
1. Postal 2
Postal 2 (styled as Postal²) is a first-person shooter video game by Running with Scissors, and it is the sequel to the 1997 game Postal. Both are intentionally highly controversial due to high levels of violence and stereotyping. Unlike its predecessor, Postal 2 is played completely in first-person based on the Unreal Graphics Engine. Due to its graphic nature the game has been banned in Australia and several other places.
The developers of the game countered criticism of the violence by claiming that the amount of violence is up to the players—they may go about their tasks without causing trouble, or they can create mayhem. Critics state that the game clearly urges people playing the game to indulge in homicidal behavior, given that Dude is often attacked by ludicrous hate groups who despise everything from books to video games.
Additionally, there are long queues when