Posts

Extra: Play Dota 2 Reborn Offline LAN Party

For this, refer our fb post below: (Hit See More) Hello guys. Follow this steps to play Dota 2 Reborn offline:1) First of all make sure console is enable in the dota... Posted by The Malay Coder on  Friday, February 19, 2016

Tips | Buang Shortcut Virus dengan mudah

Image
Situasi : Engkorang cucuk pendrive / thumbdrive / external hard disk / external hard drive / apa saja yg korang panggil, dan "poof" file korang hilang, padahal file penuh nak mampus dalam tu. Rasa macam nak format pendrive, tapi tengok dekat Computer: Ok, jangan gelabah sangat pegi format, lepastu hilang semua file nangis 3 hari 3 malam. Tak payah install apa-apa, cuma copy-paste dan "Run". Pros guna natang ni : 1. 100% FREE 2. Kecik nak mampos (4kb) 3. No installation p/s: I selalu simpan software kecik ni dalam thumbdrive Ikuti langkah di bawah: 1. Download ShortcutVirusRemover - 4kb sahaja (by Eranda )  2. "Copy" ShortcutVirusRemover.bat yang hampa download tadi. 3. "Paste" kan dalam pendrive / thumbdrive / external hard disk / external hard drive       yang tiba-tiba jadi kosong tu. 4. "Run" / "open" / buka / "double click" ShortcutVirusRemover.bat 5....

C++ | Using Simpsons Rule to Numerically integrate an equation !

Image
So here is the code and the explanation below : #include <iostream> #include <cmath> using namespace std; main(){ int a,b,n; cout << "Enter upper limit, b:"; cin >> b; cout << "Enter lower limit, a:"; cin >> a; cout << "\nEnter number of Simpson's interval, n (even number only):"; cin >> n; long double dx, t=0; dx = (long double)(b-a)/n; long double fx[n+1]; for(int i=0;i<=n;i++){ if (i == 0){ t = a; } else if (i == n){ t = b; } else{ t = a+(i*dx); } //cout << "t = " << t << endl; // im just curious to know fx[i] = (1.36*pow(10,-10))*t*t*t*t - (1.23*pow(10,-7))*t*t*t + (4.12*pow(10,-6))*t*t + (3.95*pow(10,-4))*t - (8.58*pow(10,-2)); //fx[i] = (double)1 / (t + 1 ); //cout << "fx[" << i << "] = ...

C++ | Program That can Add, subtract, multiply and divide fraction and give answer in simplest form !

Image
So here is the code and the explanation below : #include <iostream> using namespace std; void fractions(int x, int y,int w, int z); void addi(int x, int y,int w, int z); void subt(int x, int y,int w, int z); void multiply(int x, int y,int w, int z); void division(int x, int y,int w, int z); main (){ int num1, den1, num2, den2,dec; cout << "Enter Numerator 1:" ; cin >> num1; cout << "\nEnter Denominator 1:" ; cin >> den1; cout << "\nEnter Numerator 2:" ; cin >> num2; cout << "\nEnter Denominator 2:" ; cin >> den2; fractions(num1, den1, num2, den2); cout << "\nEnter 1 for Addition"; cout << "\nEnter 2 for Subtraction"; cout << "\nEnter 3 for Multiplication"; cout << "\nEnter 4 for Division"; cout << "\nWhat operation you want to do:"; cin >> d...

C++ | Program That Accept 6-digits integer and then print back in reverse order

Image
So here is the code and the explanation below : #include <iostream> using namespace std; // else you need to code like this std::cout << "blablah"; int main() { int n, d; int i = 0, total=0; cout << "Enter number:"; cin >> n; cout << "\nThe reverse number is : " << endl; while (i <= 5) { d = n%10; // n remainder 10 total = total + d; cout << d << endl; // print out remainder n = n/10; // integer divide by 10 i++; } cout << "\nThe sum of the six digits is = " << total << endl ; return 0; } This program simply accept 6 digits number. ( well you can actually modify it for more ) But for the purpose to finish up my assignment, I keep it simple.  The 6 digits integer is stored in integer n which is actually a single integer (etc: 12456). And then it will enter the reversal loop, (the while loo...

Extra : Play DOTA 2 Offline The Simplified Way

Image
Last updated on : 18th October 2016 GMT +8 (p/s: I've recorded the tutorial video and now working on audio part) Update History : 24th September 2014 - D2OSL first public release (work until Rekindling Soul update) 30th January 2015 - This update is not working 4th February 2015 - Re-uploaded (Tested and working) 14th March 2015 - 15M15 update 21st April 2015 - Version 2.0.1 (Alpha) - Experimental 7th August 2015 - Version 2.0.2 (Beta) - Stable 18th October 2016 - Version CFG - Stable Please refer to this post for latest update . Upcoming update - Choose Hero For AI Bot. What's New? -No metamod or d2fixups, it seems dead -currently using dota 2 cfg file -save directory on close, so you don't need to re-enter the path over again on next start. -Guide divide into section and quicklinks New in this version: -Year Beast Brawl 2015 mode added -1v1 Solo Mid mode added -Added instruction in new tab -Choose hero for bot (not available yet) -Change na...

Tutorial: Bina animasi mudah dengan CSS3 (Part 1)

Image
Tutorial kali ini adalah pengenalan kepada animasi CSS3. Dalam tutorial ini noxasch akan tunjukkan macam mana nak buat satu animasi mudah menggunakan hanya HTML5 dan sedikit konsep asas animasi dalam CSS3. At the end of this tutorial, kita akan hasilkan satu animasi berikut :