Thread: HyperC Pre Process File Injection

  1. #1
    null pointer Structure's Avatar
    Join Date
    May 2019
    Posts
    147

    Post HyperC Pre Process File Injection

    https://www.codexcore.com/hyperc

    Hyper C Compiler file inserts.

    Code:
    :>insert.code;
    @{
      char* impdata = ":$>insert.string";
    };

    Code:
    // opengl shader import... ;


    <c static const char
    * vertex_shader_source = "#version 330 core \n :$>shaders/vertex.glsl;";

    <c static const char* fragment_shader_source = "#version 330 core \n :$>shaders/fragment.glsl;";






  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    27,083
    Yes, I remember you were trying to extend C, but this isn't C.

    *thread moved*
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    null pointer Structure's Avatar
    Join Date
    May 2019
    Posts
    147

    Thumbs up HyperC Command Line Options

    Code:
    -x : skip c compilation. i.e. construct file from base imports.
    Code:
    
    
    Code:
    -w : use winMain() in place of main() using @{ } entry function.
    
    






Popular pages Recent additions subscribe to a feed

Similar Threads

  1. The future of the C language is HyperC
    By Structure in forum Projects and Job Recruitment
    Replies: 6
    Last Post: 05-14-2019, 08:55 AM
  2. cannot find pdb file/injection of runtime library failed
    By methodos in forum Game Programming
    Replies: 1
    Last Post: 06-07-2012, 05:04 PM
  3. DLL Injection
    By Lionel in forum Windows Programming
    Replies: 6
    Last Post: 09-25-2005, 12:41 PM
  4. Process sending file descriptors to another process
    By Yasir_Malik in forum C Programming
    Replies: 4
    Last Post: 04-07-2005, 07:36 PM

Tags for this Thread