File tree Expand file tree Collapse file tree 2 files changed +6
-16
lines changed
libeditor/src/main/res/layout Expand file tree Collapse file tree 2 files changed +6
-16
lines changed Original file line number Diff line number Diff line change 11#include <stdio.h>
2- #include <errno.h>
3- #include <string.h>
4-
5- extern int errno ;
2+ #include <float.h>
63
74int main () {
8- FILE *fp;
9-
10- fp = fopen("file.txt", "r");
11- if( fp == NULL ) {
12- fprintf(stderr, "Value of errno: %d", errno);
13- fprintf(stderr, "Error opening file: %s", strerror(errno));
14- } else {
15- fclose(fp);
16- }
5+ printf("The maximum value of float = %.10e", FLT_MAX);
6+ printf("The minimum value of float = %.10e", FLT_MIN);
177
18- return(0 );
8+ printf("The number of digits in the number = %.10e", FLT_MANT_DIG );
199}
Original file line number Diff line number Diff line change 3232
3333 </android .support.v7.widget.RecyclerView>
3434
35- <FrameLayout
35+ <ScrollView
3636 android : id =" @+id/compiler_output_container"
3737 android : layout_width =" match_parent"
3838 android : layout_height =" match_parent"
4949 android : textColor =" ?android:textColorPrimary"
5050 android : textSize =" @dimen/smallest_text_size"
5151 android : typeface =" monospace" />
52- </FrameLayout >
52+ </ScrollView >
5353
5454</android .support.v4.view.ViewPager>
5555
You can’t perform that action at this time.
0 commit comments