»
(008) CubeIDE Implementation of USB Peripherals*
(018) C99 pointer*
(019) C99 With only value assignment*
(022) POSIX pthread multi-threads mutex*
(023) POSIX pthread multi-threads programming*
(026) C99 loop
(027) C99 time and wait*
(028) High-precision calculation with GMP*
(029) Web Service Lib*
(030) International Components for Unicode (ICU)*
(031) Performance of C is higher than C++, because...*
for-loop:
------------------------------------------------------------------
for(int i=0;i<100;i++){
printf("%d ",i);
}
printf("\n");
------------------------------------------------------------------
while-loop
------------------------------------------------------------------
while(true){
printf("looping\n");
if(needExitLoop){
break;
}
}
------------------------------------------------------------------
do-while-loop
------------------------------------------------------------------
int count=1;
do{
printf("looping\n");
--count;
}while(count>0);
------------------------------------------------------------------