Record Detail

Compile Error

/in/ex1.c: In function 'main':
/in/ex1.c:13:57: error: conversion to 'char' from 'int' may alter its value [-Werror=conversion]
    if (fileName[i - 1][j] <= 'Z') fileName[i - 1][j] += ' ';
                                                         ^~~
/in/ex1.c:15:50: error: comparison of unsigned expression >= 0 is always true [-Werror=type-limits]
   for (size_t j = strlen(fileName[i - 1]) - 1; j >= 0; j--) {
                                                  ^~
cc1: all warnings being treated as errors

Information

Submit By
Type
Submission
Problem
Mid2 Ex1
Homework
Midterm Exam 2
Language
C
Submit At
2022-07-07 15:32:33
Judged At
2022-07-08 16:05:01
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes