bool hasValue(int arr[],int value_to_find,int arrlength) { for(int i=0;i<arrlength;i++) { if(arr[i]==value_to_find) return true; else continue; } return false; }
Category: Functions
Print text/string in Blocks [Program]
Hello again, so i was wandering through my old folders and found a program that i created back then for Arduino, which could print a string in BLOCKS to serial monitor, so as currently i had no arduino with me so i tested it in c++, it works!, i thought i should share it with … Continue reading Print text/string in Blocks [Program]
