News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

The code doesn't appear

Started by Leo.J90, May 04, 2006, 07:04:02 PM

Previous topic - Next topic

Leo.J90

I copied all CB files from Windows to Linux, and when i try to open and change any main.c the code doesn't appear, main.c apperas as empty. But, if i open it with Kate the code appears. :?


When i compile it, it makes 5 folders as if I'd be on Windows. For example:

I have:
/Functions/ <--- folder
main.c
Functions.cbp
Functions.layout

And when i compile it, it makes: C:/Documents and Settings/Leo/My Documents/Exercises/Functions/Functions.exe

So i have: /home/leo/Documents/Exercises/Functions/C:/Documents and Settings/Leo/My Documents/Exercises/Functions/Functions.exe
"Don't think about the work, think about the benefit"

Michael

Quote from: X.Cyclop on May 04, 2006, 07:04:02 PM
I copied all CB files from Windows to Linux, and when i try to open and change any main.c the code doesn't appear, main.c apperas as empty. But, if i open it with Kate the code appears. :?

May be it is a character encoding problem. Check if you use in Linux the same encoding as in Windows.

Best wishes,
Michael
[url="http://img207.imageshack.us/img207/9728/411948picture4em.png"]http://img207.imageshack.us/img207/9728/411948picture4em.png[/url]

Leo.J90

#2
Ok. I'll do it.

Thanks! :wink:


Sorry. Where can i check it?
"Don't think about the work, think about the benefit"

takeshimiya

Quote from: X.Cyclop on May 05, 2006, 01:41:07 AM
Sorry. Where can i check it?
Settings->Editor->Default encoding when opening files.
Assuming you're using a nightly build ;)