User Profile

Collapse

Profile Sidebar

Collapse
chrimpylimes
chrimpylimes
Last Activity: Jul 29 '19, 04:07 AM
Joined: Jul 7 '19
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • chrimpylimes
    started a topic Haskell Parser error.

    Haskell Parser error.

    I'm trying out the happy parser generator of Haskell. After generating the module in happy.hs (no problem while generating!), I run the command `ghc happy.hs`, and I get the error: `Line 297: parse error on input 'data'`. Does anyone have solutions? Or tell me where can I get the solution?

    I tried loading the module in GHCi, rather than compiling it using ghc. But it seems not to be working too - I get the same error.
    I expect...
    See more | Go to post

  • chrimpylimes
    replied to Minecraft Forge Problem
    in Java
    This is closing. i found the solution
    See more | Go to post

    Leave a comment:


  • chrimpylimes
    started a topic Minecraft Forge Problem
    in Java

    Minecraft Forge Problem

    Hythere! so far i've got another problem. the code does not have any compile errors, but i can't find the block in the game( ; _ ; )/~~~
    Code:
    Code:
    package xyz.zhc.elements;
    
    import net.minecraft.block.Block;
    import net.minecraft.block.material.Material;
    import net.minecraft.client.renderer.block.model.ModelResourceLocation;
    import net.minecraft.creativetab.CreativeTabs;
    import net.minecraft.item.Item;
    ...
    See more | Go to post

  • your func(float n) function should be float too because the binary operator '+' needs the second value to be same with the first one (float) , but it detected void, that's the problem. My suggestion to the code:
    Code:
    #include<iostream>
    #include<cmath>
    #include<math.h>
    //cmath for cpp, math.h for c. only keep one.
    #include<time.h>
     
    using namespace std;
     
    float
    ...
    See more | Go to post

    Leave a comment:


  • chrimpylimes
    replied to Problem with POW
    in C
    maybe (just maybe) you need to change all the variables to double cause in int things like 7/8 is equal to 0
    See more | Go to post

    Leave a comment:


  • chrimpylimes
    replied to convert problem
    in C
    BTW thanks should be thx not tks
    See more | Go to post

    Leave a comment:


  • chrimpylimes
    replied to convert problem
    in C
    I also hava a suggestion to your code - i would like to add a void or int before the main():
    Code:
    void main() {
        //some code
        return;//not essential
    }
    or:
    Code:
    int main() {
        //some code
        return 0;
        // ESSENTIAL if using "int" 
    }
    Because i'm a c++ coder, so maybe c can't use int.
    See more | Go to post
    Last edited by chrimpylimes; Jul 9 '19, 09:22 AM. Reason: Didn't add "}" after int main.

    Leave a comment:


  • This is solved. I had a problem in my program. I didn't make the texture of the "bus" item. I'm closing it.
    See more | Go to post

    Leave a comment:


  • Anyone there?
    Code:
    help me to post this on stack overflow too since i dont hane a stackoverflow account (#^.^#)
    See more | Go to post

    Leave a comment:


  • chrimpylimes
    started a topic AL lib: (EE) alc_cleanup: 1 device not closed
    in Java

    AL lib: (EE) alc_cleanup: 1 device not closed

    I get this error while trying to do "./gradlew runClient".
    log:
    Code:
    Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
    [20:21:27] [main/INFO] [GradleStart]: Extra: []
    [20:21:27] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, /Users/zhanghaocheng/.gradle/caches/minecraft/assets, --assetIndex,
    ...
    See more | Go to post
No activity results to display
Show More
Working...