Posts

How to find speed per hour in c++

Image
How to find speed per hour in c++   January 22, 2018     Abdul Kareem Enter the distance traveled in miles=34 Enter the speed of vehicle (mph)=56 Time required to reach destination=0.60 hours #include<iostream> #include<conio.h> using namespace std; int main() {  double distance, time, speed;  cout<<"Enter the distance traveled in miles:";  cin>>distance;  cout<<"Enter the speed of vehicle (mph):";  cin>>speed;  time=distance/speed;  cout<<"Time required to reach destination:"<<time<<" hours"<<endl;  return(0); }

HOW TO MAKE SNACK-GAME IN NOTE PAD

Image
HOW TO MAKE SNACK-GAME IN NOTEPAD  simple setup 1 )  open note paid file 2)   paste this code 3) save and enjoy @echo off color 2e title CMD Snake Game    -CYANOMOBI if "%~1" == "startGame" goto :game if "%~1" == "startController" goto :controller set "choice=" 2>nul >nul choice /c:yn /t 0 /d y if errorlevel 1 if not errorlevel 2 set "choice=choice /cs" if not defined choice (   2>nul >nul choice /c:yn /t:y,1   if errorlevel 1 if not errorlevel 2 set "choice=choice /s" ) if not defined choice (   echo ERROR: This game requires the CHOICE command, but it is missing.   echo Game aborted. :(   echo(   echo A 16 bit port of CHOICE.EXE from FREEDOS is available at   echo http://winsupport.org/utilities/freedos-choice.html   echo(   echo A 32 bit version from ??? suitable for 64 bit machines is available at   echo http://hp.vector.co.jp/authors/VA007219/d...

Other Third-Party App Tricks

Image
Other Third-Party App Tricks Updated: 19 /11/2018  by  Abdul Kareem Khan Yousafzai Steam: Move games to another drive or partition   Software such as   Steam Mover   used to be required for this process and although these third party solutions should still work,   Steam now provides the ability   to store games on multiple drives: Go to Steam > Settings > Downloads > Steam Library Folders, make a new Steam library folder on the new drive, then right click on an already installed game in your Steam library > Properties > Local Files tab > Move install folder... > Choose the directory > Move folder. Repeat last command in Excel  Pressing F4 in Excel repeats the last command. A great example we found on  Reddit : if you select a cell and highlight it yellow, you can then highlight any other selected cells yellow by pressing F4. Use Windows' Problem Steps Recorder  This handy tool automatically record...

Security Tips

Image
Security Tips Lock your computer if you get up  Sick of your "friends" going onto your computer at work or home and posting things on your Facebook/Twitter page on your behalf? It's certainly an annoyance, but an easy one to prevent. Windows + L will lock your system right away, requiring a password (if you've set one) to log in again. On macOS use Cmd + Option + Power to log off. On the latest revision of macOS (High Sierra) a quicker option to simply lock the screen was added which works using the shortcut Cmd + Ctrl + Q. Scan suspicious files with VirusTotal  If you're worried about a file being infected, you can  upload it to VirusTotal  to have it checked by a few dozen antivirus engines from the cloud. Often times someone has already uploaded the same file, sparing you the wait. See who is logged on to your router  Software such as  Wireless Network Watcher  makes this particularly easy and even has alarms for when someone new appea...

File Management Tricks

Image
File Management Tricks Rename a file quickly  Right-clicking and selecting rename is not very efficient. Instead press F2 while a file is selected to change its name. To alter the name of another file, type Tab without deselecting the current file. On Macs, hitting Enter will rename (which may sound counter-intuitive to Windows users) while Cmd + O is used to open. Cloud backup important files  If you're working on a critical project, make sure you aren't backing up locally only. Services like  Dropbox ,  Google Drive , or  any  of the other popular cloud storage solutions will do the legwork for you in the background. Of course, you can also throw the files on a thumb drive or external HDD to be extra safe, but backing up to the cloud can be done seamlessly. Rename files sequentially in Windows or Mac  You actually don't need to download any programs to perform a batch file rename. Instead, you can select all the files you want to change, ri...

Web Browsing Tricks

Image
Web Browsing Tricks Jump to address bar  There are a number of ways to jump right to the address bar from anywhere in browser. Pressing Ctrl + L, F6, and Alt + D all accomplish this goal. Automatically add www. and .com to a URL  You can shave off a couple of seconds typing in a URL by simply click Ctrl + Enter after you type the name of the site. Need .net instead of .com? Press Ctrl + Shift + Enter instead. Cycle through open tabs  Pressing Ctrl + Tab while in a browser will flip between each one (Ctrl + Shift + Tab to go backwards). This can be much faster than moving the mouse and clicking on a tab. Ctrl + Num (1, 2, 3, 4, n..) will also take you to certain tab in that numeric order. Ctrl + 9 always brings you to the very last tab, even if it's beyond the ninth one. Scroll through pages with the spacebar  Tapping the spacebar on a website will scroll down in full page chunks and hitting  shift + space  will take you back up. Instant image ...