mirror of
https://github.com/TheAlgorithms/C.git
synced 2026-02-12 21:39:06 +00:00
[BUG] Fixed error relating importing of Header file at data_structures/array/carray.c #72
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Suraj-Patro on GitHub (Oct 30, 2020).
Description
Fixed error relating importing of Header file at data_structures/array/carray.c
Expected Behavior
code should compile and execute
Actual Behavior
code throughs error on compilation
Possible Fix
include the custom header file with proper name
Steps to Reproduce
compile and execute
Context
@RavishankarreddyB commented on GitHub (Jan 14, 2021):
Hi @Suraj-Patro , I'm interested in fixing this.
I've few questions -
@Suraj-Patro commented on GitHub (Jan 24, 2021):
Same here.
It does generate a warning.
On execution, it results into a runtime error. because of the mis-spelled file name.
@RavishankarreddyB commented on GitHub (Jan 24, 2021):
@Suraj-Patro , So is the fix just changing to proper file name or anything else ?
@Suraj-Patro commented on GitHub (Jan 25, 2021):
Its about changing code of the header file included at the "#include preprocessor directive" in the data_structures/array/carray.c
pertaining to the mis-spelled file name "CArray.h" to "carray.h".