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
http://services.runescape.com/m=itemdb_rs/api/graph/1317.json | |
http://services.runescape.com/m=itemdb_rs/api/graph/1111.json | |
http://services.runescape.com/m=itemdb_rs/api/graph/1161.json | |
http://services.runescape.com/m=itemdb_rs/api/graph/1271.json | |
http://services.runescape.com/m=itemdb_rs/api/graph/1123.json | |
http://services.runescape.com/m=itemdb_rs/api/graph/1073.json | |
http://services.runescape.com/m=itemdb_rs/api/graph/1091.json | |
http://services.runescape.com/m=itemdb_rs/api/graph/1397.json | |
http://services.runescape.com/m=itemdb_rs/api/graph/19404.json | |
http://services.runescape.com/m=itemdb_rs/api/graph/3749.json |
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
import java.awt.*; | |
public class Heptagon { | |
private int x, y, radius; | |
private double area; | |
private Color theColor; | |
private boolean isVisible; | |
private Polygon polygon; | |
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
case IDC_TWEETER: | |
if(wmEventW == BN_CLICKED) | |
{ | |
WCHAR* TweetWood = new WCHAR[256]; | |
WCHAR* TweetMyURL = new WCHAR[50]; | |
WCHAR TweetBegin[256]; | |
WCHAR TweetFormula[256]; | |
WCHAR TweetN[16]; | |
GetDlgItemText(wWnd, IDC_ENTER_N, TweetN, 16); | |
swprintf(TweetFormula, 256, L"%ls+x+2%%5E+%ls+-1", TweetN, TweetN); |
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
switch(msg) | |
{ | |
case WM_CREATE: | |
{ | |
HWND hStatus = CreateWindowEx(NULL, STATUSCLASSNAME, NULL, WS_CHILD | WS_VISIBLE | | |
SBARS_SIZEGRIP, CW_USEDEFAULT, 650, CW_USEDEFAULT, CW_USEDEFAULT, | |
pWnd, (HMENU)IDC_MAIN_STATUS, | |
GetModuleHandle(NULL), NULL); |
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
LRESULT CALLBACK WinProcPROTH(HWND pWnd,UINT msg,WPARAM wParam,LPARAM lParam) //WinProc for Proth Window | |
{ | |
switch(msg) | |
{ | |
case WM_CREATE: | |
{ | |
Proth_OnCommand_Create (pWnd); | |
Web_OnCommand_Create (pWnd); | |
} | |
break; |
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 "Genesis.h" | |
#include "stdafx.h" | |
#include "resource.h" | |
#include "includer.h" | |
#include "cpufinder.h" | |
using namespace std; | |
wchar_t* enterk = L"k..."; | |
wchar_t* entern = L"n..."; |
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
mpz_t remainder, quotient, squareroot; | |
mpz_init (remainder); | |
mpz_init (quotient); | |
mpz_init (squareroot); | |
unsigned long int trial = 2; | |
mpz_sqrt(squareroot, proth); | |
[ProgressBar incrementBy:delta]; | |
for(trial=2; mpz_cmp_ui(proth,trial) > 0; trial++) |
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
std::vector<unsigned long int> ta(99999); | |
for (u=0; u<99999; u++, dos++) //we start at two because 1 is obviously always a factor | |
{ | |
ta[u] = dos; | |
} | |
for (u=0; u<99999; u++) | |
{ |