#Help with some c
28 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
@hollow ingot
Your message appears to contain screenshots but no code. Please send code and error messages in text instead of screenshots if applicable!
[{
"owner": "C/C++: IntelliSense",
"code": "137",
"severity": 8,
"message": "expression must be a modifiable lvalue",
"source": "C/C++",
"startLineNumber": 235,
"startColumn": 9,
"endLineNumber": 235,
"endColumn": 20
}]
what is textToPrint defined as
char textToPrint[numOfLinesInSpecifiedFile - 1][256];
since you cannot copy an entire array by assignment you have to do it component wise
arr[line][character]
yes
!man strcpy
does the same thing but its a stdlib function
@hollow ingot Has your question been resolved? If so, type !solved :)
1 more thing right
i am trying to delete a file
using remove()
so im making two different feature in my rextmanagement fprogerm
1 feature is delete file
and another is delete line
what i have done with delete file i have used remove() and it works fine
now im trying to implement the delete Line
i cant use remove because