Search:

Type: Posts; User: Structure

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thread: HyperC

    by Structure
    Replies
    70
    Views
    760

    If people want to use it and maybe if it works...

    If people want to use it and maybe if it works out i will open-source a bare bones version.
  2. Thread: OpenGL

    by Structure
    Replies
    10
    Views
    412

    I'm working on a matrix library. That is exactly...

    I'm working on a matrix library. That is exactly why.
  3. Replies
    21
    Views
    250

    Wow, an actual productive idea. I like it.

    Wow, an actual productive idea. I like it.
  4. Thread: HyperC

    by Structure
    Replies
    70
    Views
    760

    go away. I understand this issue and people...

    go away.


    I understand this issue and people are scared of running .exe i get it.
  5. Thread: Nice Forum

    by Structure
    Replies
    0
    Views
    42

    Nice Forum

    I am glad that there is educated people on here. I have been coding a long time and have always found c interesting. Been coding for 30+ years and i'm still learning.
  6. Thread: HyperC

    by Structure
    Replies
    70
    Views
    760

    If anyone wants to actually try the compiler and...

    If anyone wants to actually try the compiler and give me comments that would be fun. I built the compiler for myself but thought it might be usefull to others. tbh i'm not trying to put it out there...
  7. Replies
    21
    Views
    250

    because i like to party.

    because i like to party.
  8. Replies
    21
    Views
    250

    Comparing strings can be difficult... ...

    Comparing strings can be difficult...



    #include <stdio.h>
    #include <string.h>

    #define morse_A ".-"
    #define morse_B "-..."
    #define morse_C "-.-."
  9. Thread: pre-compiler

    by Structure
    Replies
    13
    Views
    159

    HyperC tips...

    Object Structures



    <stdio.h>; <string.h>;

    person! {
    name! {
    char first[15];
    char last[15];
  10. Thread: OpenGL

    by Structure
    Replies
    10
    Views
    412

    vertex.glsl layout (location = 0) in vec3...

    vertex.glsl


    layout (location = 0) in vec3 position;
    layout (location = 1) in vec2 inCoords;
    layout (location = 2) in vec4 fragmentColor;

    out vec2 TexCoords;
    out vec4 fragColor;
    out vec4...
  11. Thread: pre-compiler

    by Structure
    Replies
    13
    Views
    159

    HyperC tips...

    How can i import another file ?

    Imo there are many reasons to use the compiler.
    One of the best features in hyperC is file injection:



    :>filename.hcc;
  12. Replies
    21
    Views
    250

    The problem: 'a' is for characters. ...

    The problem:

    'a' is for characters.
    "abc" is for string.


    therefore: '--.' is invalid
  13. Replies
    4
    Views
    83

    Hi. I just got here. There are some very...

    Hi. I just got here.


    There are some very educated individuals on this forum.

    Nice to meet you! :cool:
  14. Thread: pre-compiler

    by Structure
    Replies
    13
    Views
    159

    I feel like you are missing the point. I'm...

    I feel like you are missing the point.


    I'm starting to grasp this concept a little better.
  15. Thread: pre-compiler

    by Structure
    Replies
    13
    Views
    159

    compare.hcc #@compare($*string1,$*string2) {...

    compare.hcc


    #@compare($*string1,$*string2) {
    #response = 1;
    case strlen(string1) != strlen(string2) {
    response = 0;
    } else {
    loop 0 to strlen(string1) as i {
    case...
  16. Thread: pre-compiler

    by Structure
    Replies
    13
    Views
    159

    HyperC

    /* compiled with HYPER C v4.2.4 */
    #include <stdio.h>
    #include <string.h>
    #include <stdlib.h>
    int compare(char *string1,char *string2) {
    int response = 1;
    for (int i=0;i<=strlen(string1);i++) {...
  17. Thread: pre-compiler

    by Structure
    Replies
    13
    Views
    159

    I'm not having any issues.

    I'm not having any issues.
  18. Thread: pre-compiler

    by Structure
    Replies
    13
    Views
    159

    It is. int compare($*string1,$*string2) { }...

    It is.


    int compare($*string1,$*string2) { }
    should be

    #@compare($*string1,$*string2) { }
    or

    int compare(char *string1,char *string2) { }
  19. Thread: HyperC

    by Structure
    Replies
    70
    Views
    760

    HyperC tips...

    Importing shaders:


    <c static const char* vertex_shader_source = ":$>shaders/vertex.glsl;";
    <c static const char* fragment_shader_source = ":$>shaders/fragment.glsl;";
  20. Thread: pre-compiler

    by Structure
    Replies
    13
    Views
    159

    HyperC Extended Example

    recursive rendering:



    <stdio.h>;<string.h>;<stdlib.h>;

    // string comparison function ;
    #@compare($*string1,$*string2) {
    #response = 1;
    loop 0 to strlen(string1) as i {
  21. Take a look at this: Linker Tools Error LNK2019...

    Take a look at this:
    Linker Tools Error LNK2019 | Microsoft Docs
  22. Thread: pre-compiler

    by Structure
    Replies
    13
    Views
    159

    pre-compiler

    What is it?

    It is HyperC. This is a pre-compiler for c developers. It was designed for experienced c developers or people who code a lot. The idea behind the compiler is to streamline common tasks...
  23. Thread: HyperC

    by Structure
    Replies
    70
    Views
    760

    Im still confused about the difference between...

    Im still confused about the difference between undefined behavior and a mistake.


    There should be some sort of structure and rules i think.
  24. Thread: HyperC

    by Structure
    Replies
    70
    Views
    760

    If you program with HyperC and you cause an error...

    If you program with HyperC and you cause an error how is that my fault ?

    If HyperC is the cause of the error i will fix it.

    FYI rigorous is an understatement for my coding techniques.
  25. Thread: HyperC

    by Structure
    Replies
    70
    Views
    760

    This is how i see it. Are you saying i should...

    This is how i see it.

    Are you saying i should try not to allow undefined behaviour?
Results 1 to 25 of 122
Page 1 of 5 1 2 3 4