C Compiler
ID: drops.ccompiler.com
-
版本:
1.1
-
更新于:
2015-01-01
的描述 C Compiler
- It is an offline application, so compilation and execution will be so fast as comparing other c compiler apps.
- for the time being only integer operations are allowed. and for looping use while loop only (no for loop in this version).
sample program:
NB: NOT SUPPORTED INLINE INTEGER OPERATIONS (see the examples).
Example 1: Addition of Two Numbers
#include
void main(){
int a,b,sum;
printf("Enter the First Number:");
scanf("%d",&a);
printf("Enter the Second Number:");
scanf("%d",&b);
sum = a+b;
printf("Sum of given Num is :%d",sum); //do not support "printf("Sum is :%d",(a+b));
}
Example 2: Check the given number is odd or even.
#include
void main(){
int a,test;
printf("Enter the value:");
scanf("%d",&a);
test=a%2; //do the operation out side, don't do inline operation like ( if(a%2) ) not allowed right now, will come in next versions.
if(test==0){ // open the braces for all the branch and loop conditions.
printf("Number is Even");
}
else{
printf("Number is Odd");
}
}
-
要求:
Android 1.5+
C Compiler 1.1 APK 为了 Android 1.5+
版本 | 1.1 为了 Android 1.5+ |
更新于 | 2015-01-01 |
安装 | 50.000++ |
文件大小 | 1.780.480 bytes |
权限 | 查看权限 |
什么是新的 | - Bug fixes for unwanted spaces and variable declaration |