What do you want to save?
Add Code snippet
New code examples
-
C 2021-09-09 02:12:03
circular linked list in c
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <stdbool.h> struct node { int data; int key; struct node *next; }; struct node *head = NULL; struct node *current = NULL; bool isEmpty() { return ... Add solution -
C++ 2021-09-08 18:12:01
esp32 arduino mqtt
#include <WiFi.h> #include <PubSubClient.h> // Replace the next variables with your SSID/Password combination const char* ssid = "REPLACE_WITH_YOUR_SSID"; const char* password = "REPLACE_WITH_YOUR_PASSWORD"; // Add your M... Add solution -
C# 2021-08-29 19:19:04
how to get a subset of a list in c#
using System; using System.Linq; public class MainClass { public static void Main() { int[] array = { 1, 2, 3, 4, 5, 6, 7, 8, 9 }; int offset = 0; int length = 3; var subArray = array.Skip(offset).Take(length).ToArray(); Console.WriteLine(... Add solution