Posts

Showing posts from January, 2015

Fix “Windows update cannot currently check for updates because the service is not running” error

Image
How resolve “Windows Update cannot currently check for updates – Service not running” error: Step 1: Stop Windows Update Service. Open Windows Services control panel: To do that: Press “ Windows ” + “ R ” keys. In the Search box, type: services.msc & click OK . (Accept any UAC prompt that appears).   In Services control panel (at the right pane) find the Windows Update Service . Right-click on Windows Update service and select “ Stop ”. Step 2: Delete SoftwareDistribution folder. Open Windows Explorer and navigate to: C:\Windows\ folder. Find and Delete (or Rename) the “ SoftwareDistribution ” folder. Step 3: Start Windows Update Service. Now go back to Windows Services control panel: Right-click on Windows Update service and select “ Start ”. Finally, check for Updates again. NOTE: However it works but i did not have PERMISSION to change the folder name or delete it  so i had to do it from linux based OS.

Time to have some fun.........

Image
Tired of programming on FEDORA 20 'o' some other linux platform? try these commands (might differ from os to os & you need to login as su or try sudo)  su; yum install abe yum install xcowsay yum install nsnake yum install nethack yum install ularn yum install crossfire yum install raidem yum install neverputt similarly the command remains the same but you can type in other games 0 A.D. - A free, open-source game of ancient warfare  Battle for Wesnoth - Turn-based Tactics and Strategy Game with a Fantasy Theme! warzone2100 - 3D single and multiplayer realtime strategy... formerly commercial  freeciv - World conquest  freecol - Colonization-like strategy game  megaglest - 3D real time strategy game  gnugo - Text-based Go program  grhino - Reversi game for GNOME  quarry - Multi-purpose board game GUI  qascade - Classic puzzle game  netpanzer - An Online Multiplayer Tactical Warfare Game222  OpenClonk - 2D sides

OOMPL :Weather report

//============================================================================ // Name        : weather_rep.cpp // Author      : Parashar // Version     : // Copyright   : Do not try this at home :p // Description : Hello World in C++, Ansi-style //============================================================================ #include <iostream> using namespace std; class weather { public:     int day,h_temp,l_temp; public:     weather();     void input(int);     void output();     //void average(); }; weather::weather() {     day=99;     h_temp=999;     l_temp=-999; } void weather::input(int counter) {     cout<<"enter high temperature"<<endl;     cin>>h_temp;     cout<<"enter low temperature"<<endl;     cin>>l_temp;     day=counter+1; } void weather::output() {     cout<<"_________________________________"<<endl;     cout<<"|\t"<<day<<"|\t"<<h_temp<<&qu