This file contains hidden or 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
program ico; | |
uses | |
Windows, | |
Messages, | |
SysUtils, | |
CommDlg, | |
ShellAPI, | |
WinProcs; |
This file contains hidden or 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
from json import loads | |
from os import uname, stat | |
from re import sub | |
from urllib.error import HTTPError | |
from urllib.parse import urlencode | |
from base64 import b64encode | |
from sys import argv, version | |
from urllib.request import urlopen, Request | |
headers = { |
This file contains hidden or 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
float x; | |
void setup() { | |
size(600,600,P3D); | |
} | |
void draw() { | |
x+=0.1; | |
background(#A75E0F); | |
stroke(0); | |
translate(300,300); | |
rotateX(PI/3); |
This file contains hidden or 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
float x; | |
float a=150; | |
float b=150; | |
float da=1; | |
float db=2; | |
void setup() { | |
size(600,600,P3D); | |
} | |
void draw() { | |
x+=0.1; |
This file contains hidden or 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> | |
using namespace std; | |
int main() { | |
double a[3][3]; | |
double b[3]; | |
for (int i=1; i<4; i++) { | |
for (int j=1; j<4; j++) { | |
cout << "Enter left side coeficients" << endl; | |
cout << "a[" << i << "," << j << "]="; | |
cin >> a[i][j]; |
This file contains hidden or 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 <Windows.h> | |
#define width 640 | |
#define height 480 | |
LRESULT CALLBACK WindowProc(HWND hwnd,UINT uMsg,WPARAM wParam,LPARAM lParam); | |
int CALLBACK WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) | |
{ | |
WNDCLASSEX windowClass; | |
HWND hWnd; |
This file contains hidden or 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
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
0 |
This file contains hidden or 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
PFont font; | |
float a; | |
float b; | |
void setup () { | |
font = createFont("Consolas", 14); | |
textFont(font); | |
size(600,600); | |
} | |
void draw () { | |
textSize(45); |
This file contains hidden or 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
float a; | |
float b; | |
void setup() { | |
size (600,600); | |
} | |
void draw () { | |
a=random(300); | |
b=random(300); | |
background(120); | |
pushMatrix(); |