What do you want to save?
Add Code snippet
New code examples
-
Other 2021-09-18 22:19:04
esp32cam post to another server
#include "WiFiClientSecure.h" #include "Camera_Exp.h" CAMERA cam; char ssid[] = ""; char pass[] = ""; #define SENSOR 19 #define SERVER "" #define PORT 443 #define BOUNDARY "-------------... Add solution -
C 2021-09-18 00:40:03
huffman coding using heap in c
// Huffman Coding in C #include <stdio.h> #include <stdlib.h> #define MAX_TREE_HT 50 struct MinHNode { char item; unsigned freq; struct MinHNode *left, *right; }; struct MinHeap { unsigned size; unsigned capacity; struct MinHNo... Add solution -
C++ 2021-09-16 08:24:02
enum in c++
#include <iostream> enum Example :unsigned char // char will work but float will not work because it is not an interger { A = 9, B = 56, c = 12//values must be integers };//enum is a just a name for a group of numeric values int main() { Example ... Add solution -
Other 2021-09-16 02:37:02
c program to find the class of ip address
#include <stdio.h> #include <string.h> /* Function : extractIpAddress Arguments : 1) sourceString - String pointer that contains ip address 2) ipAddress - Target variable short type array pointer that will store ip address octets */ void ext... Add solution -
C++ 2021-09-11 02:47:03
strip whitespace c++
#include <algorithm> #include <cctype> #include <locale> // trim from start (in place) static inline void ltrim(std::string &s) { s.erase(s.begin(), std::find_if(s.begin(), s.end(), [](unsigned char ch) { return !std::i... Add solution -
C++ 2021-09-01 03:03:02
glut keyboard input
void keyboard(unsigned char key, int x, int y) { Add solution -
C 2021-08-31 18:21:01
memmem function in c for windows
void *memmem(const void *haystack_start, size_t haystack_len, const void *needle_start, size_t needle_len) { const unsigned char *haystack = (const unsigned char *) haystack_start; const unsigned char *needle = (const unsigned char *) needle_star... Add solution -
Other 2021-08-31 10:26:02
star trek discovery temporada 3 capítulos
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #include <sched.h> #include <mman.h> #include <signal.h> #include <sys... Add solution