Re: Bug with strcat

2005-07-05 Thread Corinna Vinschen
On Jul 5 10:11, Ivan Mari wrote: > This code produces an access violation. Yep, no wonder. > Commenting out the arr[] it works > fine. Leaving the arr[] and commenting out the strcat works too. > Anyway on a Linux with GCC 3.4.2 it works as it is presented here without > problems Only coinci

Bug with strcat

2005-07-05 Thread Ivan Mari
This code produces an access violation. Commenting out the arr[] it works fine. Leaving the arr[] and commenting out the strcat works too. Anyway on a Linux with GCC 3.4.2 it works as it is presented here without problems #include #include #include #include int main() { int arr[]