Pelles C forum

C language => Beginner questions => Topic started by: ranadas on January 28, 2020, 03:35:27 PM

Title: How to remove this line in Pelles C?
Post by: ranadas on January 28, 2020, 03:35:27 PM
please help me remove this line
Title: Re: How to remove this line in Pelles C?
Post by: Grincheux on January 28, 2020, 04:34:14 PM
You can't, this is the end of the input file.
Title: Re: How to remove this line in Pelles C?
Post by: John Z on January 28, 2020, 09:25:11 PM
The dashes are not in your file, just on the screen to indicate the end of the file.  If you open the same file in Notepad you will see that the line is not there - just a display artifact.
Title: Re: How to remove this line in Pelles C?
Post by: ranadas on January 29, 2020, 05:36:25 AM
but i want to , isn't there any way that i can prevent it from showing in pelles c , that eof dashed line
Title: Re: How to remove this line in Pelles C?
Post by: John Z on January 29, 2020, 08:38:46 PM
It can only be hidden from the screen view by putting enough linefeeds after the final } that the dashed/underscore line is off of the viewable screen.

There are also certain font sizes that do not display any dashes/underscore character.  Hold down the CTRL key and scroll the mouse wheel until you find the one where the dash/underscore character does not show.  Be aware that using this technique - they won't show in the code either.