Chaitanya Agarwal

 

Friday, 6 July 2012

Alt CodesΩ


SymbolNumber
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
§21
22
23
24
25
26
27
28
29
30
31
space32
!33
"34
#35
$36
%37
&38
'39
(40
)41
*42
+43
,44
-45
.46
/47
048
149
250
351
452
553
654
755
856
957
:58
;59
<60
=61
>62
?63
@64
A65
B66
C67
D68
E69
F70
G71
H72
I73
J74
K75
L76
M77
N78
O79
P80
Q81
R82
S83
T84
U85
SymbolNumber
V86
W87
X88
Y89
Z90
[91
\92
]93
^94
_95
`96
a97
b98
c99
d100
e101
f102
g103
h104
i105
j106
k107
l108
m109
n110
o111
p112
q113
r114
s115
t116
u117
v118
w119
x120
y121
z122
{123
|124
}125
~126
127
Ç128
ü129
é130
â131
ä132
à133
å134
ç135
ê136
ë137
è138
ï139
î140
ì141
Ä142
Å143
É144
æ145
Æ146
ô147
ö148
ò149
û150
ù151
ÿ152
Ö153
Ü154
¢155
£156
¥157
158
ƒ159
á160
í161
ó162
ú163
ñ164
Ñ165
ª166
º167
¿168
169
¬170
SymbolNumber
½171
¼172
¡173
«174
»175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
α224
ß225
Γ226
π227
Σ228
σ229
µ230
τ231
Φ232
Θ233
Ω234
δ235
236
φ237
ε238
239
240
±241
242
243
244
245
÷246
247
°248
249
·250
251
252
²253
254
 255



Windows 7 tricks

To open these task bar applications,hold the windows key and press the number in the keyboard that is corresponding with the icon,Eg:- if internet explorer is the first icon,press ÿ + 1.


International themes.
1).IN the search box type: c:\Windows\Globalization\MCT and press Enter.
2).Windows Explorer will launch and will display a list of sub folders under
    c:\Windows\Globalization\MCT MCT-AU, MCT-CA, MCT-GB, MCT-US, and MCT-ZA. Each sub folder has wallpapers for a specific country: AU for Australia, CA for Canada, GB for Great Britain, US for the United States, and ZA for South Africa.
3).For any of the countries whose wallpaper and themes you want to use, go into its Theme folder, for example, C:\Windows\Globalization\MCT\MCT-ZA\Theme. Double-click the theme you see there.
4).that will install a shortcut to the theme and wallpapers in the Personalization section of Control Panel.
You can now use them as you would any other theme or background, by right-clicking the desktop, choosing Personalize, and choosing a background or theme. They will be listed in their own section.



Top 5 rugged gadgets for Heavy Duty use


Motorola Defy Plus
The latest rugged smartphone from Motorola is powered by a 1GHz processor and runs Android 2.3 Gingerbread. It is an IP67 certified smartphone with dust and water proofing with up to 1 metre depth for 30 minutes. It has a 3.7-inch display which is protected with Gorilla Glass.




LaCie Xtreme Key
This is not just any flash drive, this is the toughest flash drive in town. LaCie Xtreme Key can survive and operate after 16ft drops, 333 feet under water, in extreme cold and heat and even after being run over by a massive truck.


Olympus Stylus Tough 8010
This badass camera from Olympus sports a 14 megapixel lens with 5x zoon and a 2.7-inch LCD display, which can operate 33 feet deep under water. It is shock proof, crush proof and has been tested by dropping a 220 pound objects from more than 6.6 feet. In regards to its quality, it takes some beautiful images in extreme conditions and can also record videos at 720p resolution.


Panasonic Toughbook
The Toughbook is a laptop which is sometimes also referred to as a bullet proof vest. The device goes through over 500 tests before making to the shelves and this indeed is a highly rugged portable computer known to humankind. It has a magnesium alloy casing, a shock-mounted HDD, moisture and dust resistant LCD, keyboard and touchpad. The Toughbook is known to withstand a variety of external forces.


Panasonic Toughpad A1
If a rugged laptop is a little bit too much to carry, then Panasonic also has an Android based rugged tablet at your disposal. This device does not feature the same ruggedness as the laptop but it will help you through extreme conditions, it has embedded hardware security and has a bunch of enterprise features.




C++ Hangman

#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <ctime>
#include <cctype>
using namespace std;

char getGuess(string &used); //Prototype Function Declaration
char isCorrect(); //Prototype Function Declaration

using namespace std;

int main()
{
// set-up
const int MAX_WRONG = 10; // maximum number of incorrect guesses allowed

vector<string> words; // collection of possible words to guess
words.push_back("GUESS");
words.push_back("HANGMAN");
words.push_back("DIFFICULT");

srand(static_cast<unsigned int>(time(0)));
random_shuffle(words.begin(), words.end());
const string THE_WORD = words[0]; // word to guess
int wrong = 0; // number of incorrect guesses
string soFar(THE_WORD.size(), '-'); // word guessed so far
string used = ""; // letters already guessed

cout << "Welcome to Hangman. Good luck!\n";

// main loop
while ((wrong < MAX_WRONG) && (soFar != THE_WORD))
{
cout << "\n\nYou have " << (MAX_WRONG - wrong);
cout << " incorrect guesses left.\n";
cout << "\nYou've used the following letters:\n" << used << endl;
cout << "\nSo far, the word is:\n" << soFar << endl;


char guess = getGuess(used);

if (THE_WORD.find(guess) != string::npos)
{
cout << "That's right! " << guess << " is in the word.\n";

// update soFar to include newly guessed letter
for (unsigned int i = 0; i < THE_WORD.length(); ++i)
{
if (THE_WORD[i] == guess)
{
soFar[i] = guess;
}
}
}
else
{
cout << "Sorry, " << guess << " isn't in the word.\n";
++wrong;
}
}

// shut down
if (wrong == MAX_WRONG)
cout << "\nYou've been hanged!";
else
cout << "\nYou guessed it!";

cout << "\nThe word was " << THE_WORD << endl;

return 0;
}

//----getGuess Function Return starts here---

char getGuess(string &used)
{
char guess;
cout << "\n\nEnter your guess: ";
cin >> guess;
guess = toupper(guess); //make uppercase since secret word in uppercase
while (used.find(guess) != string::npos); //if guess IS in the string, ask for guess again in while loop
{
cout << "\nYou've already guessed " << guess << endl;
cout << "Enter your guess: ";
cin >> guess;
guess = toupper(guess);
}
used += guess;
return guess;
}