What do you want to save?
Add Code snippet
New code examples
-
C++ 2022-01-22 14:25:20
va_list to printf
/* vprintf example */ #include <stdio.h> #include <stdarg.h> void WriteFormatted ( const char * format, ... ) { va_list args; va_start (args, format); vprintf (format, args); va_end (args); } int main () { WriteFormatted ("Ca... Add solution -
Other 2021-11-18 20:20:16
how to get free ssl certificate from letsencrypt for local
openssl req -x509 -out localhost.crt -keyout localhost.key \ -newkey rsa:2048 -nodes -sha256 \ -subj '/CN=localhost' -extensions EXT -config <( \ printf "[dn]\nCN=localhost\n[req]\ndistinguished_name = dn\n[EXT]\nsubjectAltName=DNS:localhos... Add solution -
C++ 2021-11-18 14:41:15
increase the speed of cin and cout in c++
#include <iostream> int main(int argc, char **argv) { int parity = 0; int x; //you can use scanf , printf alternatively for speed std::ios::sync_with_stdio(false);// this increases the speed of i/o while (std::cin >> x) parity ^... Add solution -
Other 2021-11-16 06:53:08
Clear RAM Cache and Swap Space.
# echo 3 > /proc/sys/vm/drop_caches && swapoff -a && swapon -a && printf '\n%s\n' 'Ram-cache and Swap Cleared' OR $ su -c "echo 3 >'/proc/sys/vm/drop_caches' && swapoff -a && swapon -a && printf... Add solution -
C++ 2021-11-15 17:13:17
vprintf
// vprintf syntax int vprintf ( const char * format, va_list arg ); Add solution -
C 2021-11-13 14:28:13
ask the user if they would like to do something again in C
#include<stdio.h> int main(){ int x, y, sum; char ch; print: printf ("Enter the first number:"); scanf ("%d",&x); printf ("Enter the second number:"); scanf ("%d",&y); sum=x+y; ... Add solution
Best helpers
Daniel Cook
+5
Czlsws
+5
Mick Daw
+5
Shahruz Raad
+5
Horse
+5
Csandreas1
+5
SOUMEN
+5
Vy32
+5
Anugram
+5
ImMathan
+5
Joyo
+5
Huggy Buggy
+5