What do you want to save?
Add Code snippet
New code examples
-
C++ 2022-03-22 08:50:25
integer to char c++
// for example you have such integer int i = 3; // and you want to convert it to a char so that char c = '3'; what you need to do is, by adding i to '0'. The reason why it works is because '0' actually means an integer value of 48. '1'..'9' means 49..57... Add solution -
BASIC 2022-03-20 07:40:02
get unique random number in vb.net
Dim numbers = Enumerable.Range(0, 11).ToList() Dim RandomClass As New Random() Dim RandomIndex As Integer For counter As Integer = 1 To 5 RandomIndex = RandomClass.Next(0, numbers.Count) MsgBox(numbers(RandomIndex)) numbers.RemoveAt(RandomInde... Add solution -
Javascript 2022-03-20 02:25:33
9.6.4. Beyond for Loops // Input Validation // while loops
const input = require('readline-sync'); let num = input.question('Please enter a positive number:'); num = Number(num); while (num <= 0) { num = input.question('Invalid input. Please enter a positive number:'); num = Number(num); } /*This prog... Add solution -
Python 2022-03-20 02:15:44
python create table postgresql
.wp-block-code { border: 0; padding: 0; } .wp-block-code > div { overflow: auto; } .shcb-language { border: 0; clip: rect(1px, 1px, 1px, 1px); -webkit-clip-path: inset(50%); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden... Add solution -
Other 2022-03-19 08:10:11
Good News Bible
Dim x As Integer, For x = 1 to Array.Length -1 Next x Add solution
Best helpers
Ranking is empty