User forums > Using Code::Blocks

CodeBlocks doesn't allow me to work with external files

(1/2) > >>

vlad.ulmeanu:
Hello ,
I've installed Code::Blocks 13.12 on Ubuntu 14.04 LTS and I can run a program and print something on the console ( fprintf with stdout ).
But : when I change the parameters to print in a file , Code::Blocks shows me on the terminal :

Process returned 139 .
Segmentation fault ( Core Dumped ).

What can I do ?

Thanks ,
Vlad

P.S. : I didn't make any kind of errors regarding writing the program, that's why I asked the question on this forum .

scarphin:
Did you try running the program from the console (shell, bash whatever) and confirm that it works when run from console?

BlueHazzard:

--- Quote from: vlad.ulmeanu on February 02, 2015, 03:33:34 pm ---P.S. : I didn't make any kind of errors regarding writing the program, that's why I asked the question on this forum .

--- End quote ---
i don't think so...

[Edit:] Are you using localized strings?

vlad.ulmeanu:
Localized strings means a string that is defined globally or a string that is defined locally ?

Please note that I'm working in C, not C++ .

BlueHazzard:
localized means that you are using strings with some non ASCII output (ex. unicode)
Or more simple: are you using non english character in your output?
Can you show the code that is crashing?

Navigation

[0] Message Index

[#] Next page

Go to full version