I built some build systems by using various codes from google & youtube but cant make it. every time some error is showing. is there any way of solving this? Last time i used this code to build a system
**{ "shell_cmd" : "gcc $file_name -o ${file_base_name}", "working_dir" : "$file_path", "variants": [ { "name": "Run", "shell_cmd": "gcc $file_name -o ${file_base_name} && ${file_path}/${file_base_name}" } ] }**strong text****
but errors are showing like
gcc: error: Take: No such file or directory gcc: error: five: No such file or directory gcc: error: numbers: No such file or directory gcc: error: using: No such file or directory gcc: error: array: No such file or directory gcc: fatal error: no input files compilation terminated. Unable to initialize device PRN Unable to initialize device PRN [Finished in 0.2s]
My code was
include
int main() { int i, exr[5];
for (i=0; i<=4; i++)
{
scanf("%d", &exr[i]);
}
for (i=0; i<=4; i++)
{
printf("exr[%d]=%d\n",i, exr[i]);
}
}