Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 4 of 4

Thread: Question On 'code' Tag

  1. #1
    Member Regular Contributor
    Join Date
    Apr 2012
    Location
    Los Angeles
    Posts
    388

    Question On 'code' Tag

    Why is it that when I post code using the [ code]tag, the filenames following #include disappear? I've noticed this in other posters' code too. Is there an easy work-around?

    Thanks

  2. #2
    Member Regular Contributor
    Join Date
    Jul 2012
    Posts
    425
    Code :
    #include "hello.h"
    int test_func()
    {
       return 0;
    }

    Notes: works well for me when previewing.
    Edit: works well also when posting.

  3. #3
    Senior Member OpenGL Guru Dark Photon's Avatar
    Join Date
    Oct 2004
    Location
    Druidia
    Posts
    4,167
    Quote Originally Posted by Carmine View Post
    Why is it that when I post code using the [ code]tag, the filenames following #include disappear? I've noticed this in other posters' code too. Is there an easy work-around?

    Thanks
    Follow-up with an example and we'll take a look.

    It's probably not related, but just out of curiosity, what do you have your Message Editor Interface set to in your forum settings?

  4. #4
    Member Regular Contributor
    Join Date
    Apr 2012
    Location
    Los Angeles
    Posts
    388
    Quote Originally Posted by Dark Photon View Post
    Follow-up with an example and we'll take a look.
    Just tried to follow up, but the errant behavior didn't appear!
    Next time it happens, I'll post it. Thanks.

    It's probably not related, but just out of curiosity, what do you have your Message Editor Interface set to in your forum settings?
    "Standard Editor"
    Last edited by Carmine; 06-21-2017 at 05:02 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •