One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
### ------------------------- Flutter.gitignore ------------------------ ### | |
# Miscellaneous | |
*.class | |
#*.lock | |
*.log | |
*.pyc | |
*.swp | |
.DS_Store | |
.atom/ |
Node push_tail(Node *head, int x) | |
{ | |
Node *new_tail = new Node(x); | |
new_tail->next = NULL; | |
if(head == NULL) | |
return new_tail; | |
else | |
{ | |
Node *current =head; |
Node* push_in_head(Node *head, int new_value) | |
{ | |
Node *new_node = new Node(new_value); | |
if(head == NULL) | |
return new_node; | |
else | |
{ | |
new_node->next= head; | |
return new_node; |
// Single Linked List | |
struct node | |
{ | |
int data; | |
struct node *next; | |
} | |
// Double linked list | |
struct Node | |
{ | |
int data; |
bool _showPassword = false; | |
Widget _buildPasswordTextField() { | |
return TextField( | |
obscureText: !this._showPassword, | |
decoration: InputDecoration( | |
labelText: 'password', | |
prefixIcon: Icon(Icons.security), | |
suffixIcon: IconButton( | |
icon: Icon( |
# Rock Paper Scissors ASCII Art | |
# Rock | |
print(""" | |
_______ | |
---' ____) | |
(_____) | |
(_____) | |
(____) | |
---.__(___) |
What you need to do to install SDL is:
#install sdl2
sudo apt install libsdl2-dev libsdl2-2.0-0 -y;
#install sdl image - if you want to display images
sudo apt install libjpeg-dev libwebp-dev libtiff5-dev libsdl2-image-dev libsdl2-image-2.0-0 -y;
#install sdl mixer - if you want sound
#include <Windows.h> | |
#include <stdio.h> | |
void PrintDisplayDevice(DISPLAY_DEVICEA* displayDevice, const char* indent = "") | |
{ | |
printf("%sDeviceName: %s\n", indent, displayDevice->DeviceName); | |
printf("%sDeviceString: %s\n", indent, displayDevice->DeviceString); | |
printf("%sStateFlags:", indent); | |
if (displayDevice->StateFlags & DISPLAY_DEVICE_ACTIVE) { printf(" ACTIVE"); } | |
if (displayDevice->StateFlags & DISPLAY_DEVICE_MIRRORING_DRIVER) { printf(" MIRRORING_DRIVER"); } |