C Compiler
ID: drops.ccompiler.com
-
Version:
1.1
-
Update on:
2015-01-01
The description of 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");
}
}
-
Requirements:
Android 1.5+
C Compiler 1.1 APK for Android 1.5+
Version | 1.1 for Android 1.5+ |
Update on | 2015-01-01 |
Installs | 50.000++ |
File size | 1.780.480 bytes |
Permissions | view permissions |
What's new | - Bug fixes for unwanted spaces and variable declaration |