User:Maddy from Celeste/sandbox: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
syntaxhighlight in image frame Tag: Replaced |
||
(47 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Image frame|innerstyle=text-align:left;|content= |
|||
{{sandbox notice}} |
|||
<syntaxhighlight lang="C"> |
|||
#include <stdio.h> |
|||
int |
|||
{{Wikidata list |
|||
main (void) |
|||
|sparql=SELECT ?item WHERE { |
|||
{ |
|||
FILTER NOT EXISTS { ?w schema:about ?item; schema:isPartOf <https://en.wikipedia.org/> . } |
|||
puts ("Hello, world!"); |
|||
?item wdt:P31 wd:Q5 . |
|||
return 0; |
|||
?item wdt:P21 wd:Q6581072 . |
|||
?item wdt:P106 wd:Q14915627 . |
|||
?item wikibase:sitelinks ?linkcount . |
|||
} |
} |
||
</syntaxhighlight> |
|||
|columns=label:name,P18,description,P106,P569,P570,P19,P20,item:wikidata item,?linkcount:site links |
|||
<syntaxhighlight lang="Scheme"> |
|||
|links=red |
|||
(display "Hello, World") |
|||
|thumb=40 |
|||
</syntaxhighlight> |
|||
|caption=Hello world in C (top) and Scheme (bottom) |
|||
}} |
}} |
||
{{Wikidata list end}} |
Latest revision as of 21:38, 5 December 2023
#include <stdio.h>
int
main (void)
{
puts ("Hello, world!");
return 0;
}
(display "Hello, World")