This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/***********************************************, | |
* Creator: Dominent for ac - web | |
* Creature: Taragaman the Hungerer | |
* Made because: Eductional purposes. | |
* A big thanks for: QQrofl, Rochet2, Jameyboor and all other ac webers who helped me and are helping me atm. * | |
************************************************' | |
*/ | |
#include "ScriptPCH.h" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class npc_nkunchev : public CreatureScript | |
{ | |
public: | |
npc_nkunchev() : CreatureScript("npc_nkunchev") { } | |
bool OnGossipHello(Player * player, Creature * creature) | |
{ | |
player->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, "I want to play the game!", 0, 0); | |
player->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, "No thank you. Bye.", 0, 1); | |
player->PlayerTalkClass->SendGossipMenu(9425, creature->GetGUID()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bool question_1() | |
{ | |
player->ADD_GOSSIP_ITEM(0, "Which Instance does NOT have troll bosses?", sender, action); | |
player->ADD_GOSSIP_ITEM(0, "Zul'Aman", 2, 1); | |
player->ADD_GOSSIP_ITEM(0, "Zul'Drak", 2, 0); | |
player->ADD_GOSSIP_ITEM(0, "Zul'Gurub", 2, 2); | |
player->ADD_GOSSIP_ITEM(0, "Zul' Farrack", 2, 3); | |
return true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Calculate basic material properties! | |
#include <iostream> | |
#include <string> | |
#include <cmath> | |
using namespace std; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Input | |
You will be given many unsigned integers. | |
Output: | |
Find the repeats and remove them.Then display the numbers again. | |
*/ | |
#include <iostream> | |
#include <string> | |
#include <vector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "custom_functions.h" | |
#include <cstdlib> // exit(), rand(), srand() | |
#include <time.h> //time | |
int main(){ | |
int RandomN = 1; | |
string input = " "; | |
string PCguess = " "; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
#include <fstream> | |
#include <vector> | |
#include <algorithm> | |
#include <time.h> //CLOCKS_PER_SEC | |
using namespace std; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*Write a program that converts inches, centimeters, feet to meters, | |
writes out the smallest value, the largest, the number of values entered | |
and the sum of all values entered*/ | |
#include <iostream> | |
#include <string> | |
#include <cstdlib> | |
#include "custom_functions.h" | |
#include <vector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
Author: Dominent | |
Usage: Switches CAPS_LOCK with LEFT_CTRL | |
Date: 02/20/2017 | |
Remarks: Tested on Windows 10 Build 14986 | |
https://msdn.microsoft.com/windows/hardware/drivers/hid/keyboard-and-mouse-class-drivers | |
https://rayli.net/blog/life/remap-keys-map-caps-lock-to-control-button/ | |
http://smallvoid.com/article/winnt-scancode-map.html | |
#> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;=============================================================================== | |
;; Author: Petromil "Dominent" Pavlov | |
;; Last Revision: 25.02.2017 | |
;;=============================================================================== | |
;; TODO(Domi): Fix Shift + Tab | |
;; TODO(Domi): Add Compilation Command | |
;; TODO(Domi): Add Header Format | |
;; TODO(Domi): Add Rectangular selection | |
;; | |
;;=============================================================================== |
OlderNewer