User contributions
12 March 2022
Music: I Learned How to Get a Music Score!
This is my first try at a music score - it's great!
+131
Music: I Learned How to Get a Music Score!
This is my first try at a music score - it's great!
−206
Music: I Learned How to Get a Music Score!
Created page with "== This is my first try at a music score - it's great! == <pre> X: 1 T: Cooley's M: 4/4 L: 1/8 K: Emin |:D2|"Em"EB{c}BA B2 EB|~B2 AB dBAG|"D"FDAD BDAD|FDAD dAFD| "Em"EBBA B2 EB|B2 AB defg|"D"afe^c dBAF|"Em"DEFD E2:| |:gf|"Em"eB B2 efge|eB B2 gedB|"D"A2 FA DAFA|A2 FA defg| "Em"eB B2 eBgB|eB B2 defg|"D"afe^c dBAF|"Em"DEFD E2:| </pre>"
User:Eric
Music
+47
C Language Practice: String Compare
Created page with "== Compare: If one string happens to match another string == * Step 1: Get a string compare function * Step 2: Call it and print it <syntaxhighlight lang="c" line style="border: 1px dashed red;"> #include <stdio.h> #include <stdlib.h> #include <string.h> int strcheck(char *str, char *check) { int ftime; int i, j; for (i = 0; str[i] != '\0'; i++) { for(j = 0; check[j] != '\0'; j++) { if (check[j] == str[i]) {..."
User:Eric
Code
+41
11 March 2022
C Language Practice: Octagonal to Decimal
Created page with "== Convert: Octagonal to Decimal == * Step 1: Get all the packs and the otod function * Step 2: Get the main function and call the otod function <syntaxhighlight lang="c" line style="border: 1px dashed red;"> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> int otod(char *o) { int i; int d = 0; int p = 0, t = 0; for (i = strlen(o) - 1; i >= 0; i--) { if ((o[i] >= '0') && (o[i] <= '7')) { t..."
User:Eric
Code
+47
9 March 2022
C Language Practice: Binary to Hexagonal Numbers
Created page with "== Convert Binary to Hexagonal == <syntaxhighlight lang="c" line style="border: 1px dashed red;"> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> int btod(char *b) { int i; int decimal = 0; int place = 0, temp = 0; for(i = strlen(b) - 1; i >= 0; i--) { if ((b[i] == '0') || (b[i] == '1')) { temp = b[i] - '0'; } else { printf("error: not a valid binary numbe..."
UserWiki:Eric
Code
+54
UserWiki:Eric
Created page with "== Code == C Language_Practice: Octagonal to Binary Numbers C Language Practice: Binary to Decimal"
8 March 2022
C Language Practice: Octagonal to Binary Numbers
Created page with "== Converting: Octagonal to Binary == * Step 1: Convert octagonal to decimal * Step 2: Convert decimal to Binary <syntaxhighlight lang="c" line style="border: 1px dashed red;"> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <math.h> int otod(char *o) { int i; int decimal = 0; int place = 0, temp = 0; for (i = strlen(o) - 1; i >= 0; i--) { if ((o[i] >= '0') && (o[i] <= '7')) { temp = o[i] - '0';..."
User:Eric
Code
+54
6 March 2022
User:Eric
Code
−148
C Language Practice: Binary to Decimal
Created page with "== Binary to Decimal == This is my first practice. I got a bit confused with the code when I first met the problem, but in the end I got it. <syntaxhighlight lang="c" line style="border: 1px solid red;"> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <math.h> int btod(char *binary) { int i; int decimal = 0; int place = 0, temp = 0; for(i = strlen(binary) - 1; i >= 0; --i) { if ((binary[i] == '0') || (binary[i] == '..."
User:Eric
Code
+44
User:Eric
Code
+4
User:Eric
no edit summary
+197
User:Eric
no edit summary
+13
User:Eric
Created page with "== Eric's Page == Hi, welcome. == Read == == Math == == Music == == Games == == Sports =="