Author Topic: Saved file different from the original  (Read 3135 times)

Offline DavDesh

  • Single posting newcomer
  • *
  • Posts: 2
Saved file different from the original
« on: April 02, 2015, 09:04:58 pm »
Hello everybody, i'm using codeblocks 13.12 on windows 8.1 x64.
After saving my source file, closed the IDE and re-open it (the same file!) it was different from what i saved: there was code lines one after the others one like i never hit enter (not for all the lines)
AND there was missing parts (parts that i'm sure i wrote because i compiled and run the .exe (it worked).

it seems also that some parts of the header file merged into the c file.

it's a known bug? anyone experienced this before?


(sorry for my bad english  :-[)

Offline DavDesh

  • Single posting newcomer
  • *
  • Posts: 2
Re: Saved file different from the original
« Reply #1 on: April 02, 2015, 10:18:52 pm »
i was working on my source file by the "files" management view (no project open)

Code
for(i=0; i<output.colonne; i++){void sInAltoRC(matrice * x,char s, int i_orig, int i_dest);             //
void MischiaRC(matrice * x, char s, int n_volte);                       //
        output.puntatore[0][i]=data_out[i];
    }

this is my code now. As you can see parts of the header appeared in the .c source file.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Saved file different from the original
« Reply #2 on: April 02, 2015, 10:58:35 pm »
Can you reproduce the problem one more time?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]