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
namespace SharpGL_EZ | |
{ | |
public class Fruct | |
{ | |
public Random dice = new Random(); | |
public int x, y; | |
public Fruct() | |
{ | |
x = dice.Next(); |
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
using System; | |
using System.IO; | |
namespace Labs | |
{ | |
class Program | |
{ | |
static Random dice = new Random(); | |
static bool Loop = true; | |
static string bstr = ""; | |
static int LabNum; |
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
" Change the color scheme from a list of color scheme names. | |
" Version 2010-09-12 from http://vim.wikia.com/wiki/VimTip341 | |
" Press key: | |
" F8 next scheme | |
" Shift-F8 previous scheme | |
" Alt-F8 random scheme | |
" Set the list of color schemes used by the above (default is 'all'): | |
" :SetColors all (all $VIMRUNTIME/colors/*.vim) | |
" :SetColors my (names built into script) | |
" :SetColors blue slate ron (these schemes) |
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
spam test |
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
int height = 10; | |
int width = 5; | |
int** double_array = new int*[height]; | |
for (int i = 0; i < height; i++) { | |
double_array[i] = new int[width]; | |
} |
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
size_t width = image.height; | |
size_t height = image.width3; | |
char** pixels = (char**) calloc(height, sizeof(char*)); | |
for (int i = 0; i < width; i ++) { | |
pixels[i] = (char*) calloc(width, sizeof(char)); | |
} | |
for (int i = 0; i < height; i++) { | |
for (int j = 0; j < width; j++) { |
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 <stdio.h> | |
#include <malloc.h> | |
#include "main.h" | |
bmpHeader header_plug; | |
bmpHeader header; | |
image_t image; | |
int condition = 0; | |
int main(void) { |
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 <stdio.h> | |
#include <malloc.h> | |
#include "main.h" | |
bmpHeader header_plug; | |
bmpHeader header; | |
image_t image; | |
int condition = 0; | |
int main(void) { |
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> | |
using namespace std; | |
// region Debug | |
// Если верен - на каждой итерации выводится не только её результат, но ещё и состояния всех бинов | |
bool debug = 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
{ | |
"name": "SerialNumber", | |
"value": "477", | |
"related": { | |
"name": "type", | |
"value": "control", | |
"related": { | |
"name": "requiredAccessLevel", | |
"value": "4", | |
"related": {} |
OlderNewer