Liste des Groupes | Revenir à cl c |
On 10.02.2025 11:39, David Brown wrote:The details will of course be different because your code is different (you didn't show it, so all anyone can do is guess). But the type of effects I described, and the way to get good information about your code and how it works, is valid for a wide range of code. The fact that you think C does not have checks, and that you dislike that your erroneous code compiles and runs without you being informed of the errors, shows that you could benefit from the kind of suggestions I gave about good tool usage.This assumption is incorrect (for my case), so all derived possible[...]>
Let's assume your full code is :
>
int main() {
int n = 5;
char * arr[n];
>
arr[99] = "foobar";
}
implications like>are meaningless.
In C, that means exactly the same as a do-nothing program:
>
int main() { }
>
[...]
Les messages affichés proviennent d'usenet.