What do you want to save?
Add Code snippet
New code examples
-
Other 2022-02-14 07:10:06
player movement script unity
using UnityEngine; using System.Collections; // This script moves the character controller forward // and sideways based on the arrow keys. // It also jumps when pressing space. // Make sure to attach a character controller to the same game object. // It... Add solution -
Other 2022-02-13 11:45:07
prime of sieve
//sieve of eratosthenes or prime of sieve #include<iostream> #include<math.h> using namespace std; void primeofsieve(long long int n) { long long int arr[n]={}; for(int i=2;i<=sqrt(n);i++) { for(long long int j=i*i;j<=n;j+=i) arr... Add solution -
C# 2022-02-12 07:15:32
c# only letters
bool result = input.All(Char.IsLetter); bool result = input.All(Char.IsLetterOrDigit); bool result = input.All(c=>Char.IsLetterOrDigit(c) || c=='_'); // Instantiate random number generator. private readonly Random _random = new Random(); // G... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5