#include <stdio.h>
/* Counting example */
int main(int argc, char** argv) {
int i;
// This counts from 0 to 9.
for (i = 0; i < 10; i++) {
printf("Counting %d\n", i);
}
}
Kodeprøver
Med de nævnte undtagelser er dette indhold licenseret under Creative Commons Attribution 4.0 License, og kodeeksempler er licenseret under Apache 2.0 License. Yderligere oplysninger kan ses i websitepolitikker for Google Developers. Java er et registreret varemærke tilhørende Oracle og/eller tilknyttede virksomheder.
Last updated 2024-11-30 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Translation issue","translationIssue","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-30 UTC."],[],[]]