Author Topic: The code doesn't appear  (Read 4445 times)

Offline Leo.J90

  • Multiple posting newcomer
  • *
  • Posts: 30
  • Programming & Reverse Engineering
The code doesn't appear
« 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. :?

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
« Last Edit: May 04, 2006, 07:10:59 pm by X.Cyclop »
"Don't think about the work, think about the benefit"

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: The code doesn't appear
« Reply #1 on: May 04, 2006, 07:18:55 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

Offline Leo.J90

  • Multiple posting newcomer
  • *
  • Posts: 30
  • Programming & Reverse Engineering
Re: The code doesn't appear
« Reply #2 on: May 05, 2006, 01:41:07 am »
Ok. I'll do it.

Thanks! :wink:

Sorry. Where can i check it?
« Last Edit: May 05, 2006, 01:48:35 am by X.Cyclop »
"Don't think about the work, think about the benefit"

takeshimiya

  • Guest
Re: The code doesn't appear
« Reply #3 on: May 05, 2006, 03:09:13 am »
Sorry. Where can i check it?
Settings->Editor->Default encoding when opening files.
Assuming you're using a nightly build ;)