What do you want to save?
Add Code snippet
New code examples
-
C 2022-02-11 22:40:24
change text color c
#include <stdio.h> #include <windows.h> #define COLOR_DEFAULT 7 #define LIGHT_RED 12 void setColor(int color); int main() { setColor(LIGHT_RED); printf("This text is red"); setColor(colorDefault); } void setColor(int color... Add solution -
Other 2022-02-09 11:55:20
lorem ipsum
Lorem ipsum dolor sit amet consectetur adipisicing elit. Maxime mollitia, molestiae quas vel sint commodi repudiandae consequuntur voluptatum laborum numquam blanditiis harum quisquam eius sed odit fugiat iusto fuga praesentium optio, eaque rerum! Provide... Add solution -
Other 2022-02-08 01:15:14
import 'package:sqfLite/sqfLite.dart';
// Get a location using getDatabasesPath var databasesPath = await getDatabasesPath(); String path = join(databasesPath, 'demo.db'); // Delete the database await deleteDatabase(path); // open the database Database database = await openDatabase(path, ver... Add solution -
Other 2022-02-07 04:30:16
dijkstra algorithm using c
#include<stdio.h>#include<conio.h>#define INFINITY 9999#define MAX 10 void dijikstra(int G[MAX][MAX], int n, int startnode); void main(){ int G[MAX][MAX], i, j, n, u; clrscr(); printf("\nEnter the no. of vertices:: "); scan... Add solution -
C# 2022-02-06 00:50:41
encrypption in C# console using mod of 26
namespace CaesarCipher { class Program { static void Main(string[] args) { // Determining if user wants to encrypt or decrypt. Console.WriteLine("Chose One: Encrypt / Decrypt"); string encryptDecrypt = Console.ReadL... Add solution -
C++ 2022-02-05 10:40:25
Write a program that asks a user for their birth year encoded as two digits (like "62") and for the current year, also encoded as two digits (like "99"). The program is to correctly write out the users age in years
#include<stdio.h> int main(){ signed int current, birth, a; printf("Enter Year of Birth\n"); scanf("%d",&birth); printf("Enter Current year\n"); scanf("%d",¤t); if(current<birth) ... Add solution
Best helpers
Seria Yin
+5
Kyle Smith
+5
JSanchez
+5
Larapsodia
+5
TJG
+5
Sharma Pocso
+5
Wilber82
+5
T-rex
+5
Wayno
+5
Winny
+5
Laura Stiehl
+5
Sikku
+5
AlecPerkey
+5
The Alpha
+5
IQAndreas
+5
TeacherSue
+5