Parra
Parra
Parra
it's a cli that I'm writing on top of metacall library
Parra
opinions? is it intuitive?
Dima
> js
Parra
it's c/c++
Parra
metacall embeds virtual machines at c/c++ level
Parra
i use js as an example of the cli
Parra
https://github.com/metacall/core/tree/develop/source/examples/metacallcli
Dewi Sandy
Dewi Sandy
Hi guys. I need your help. Do you know any solution for this error ? I'm trying to compare 2 histogram images.
Talula
Yo
Yoyo...
Anonymous
And I think it looks intuitive, but asking me if something is intuitive or "user friendly" is most of the time a bad idea
Ибраги́м
https://quuxplusone.github.io/blog/2019/01/15/requires-requires-is-like-noexcept-noexcept/
Dima
noexcept noexcept noexcept noexcept noexcept noexcept
klimi
Yoyo...
Doing good?
MᏫᎻᎯᎷᎷᎬᎠ
klimi
Hf
Talula
Doing good?
Office closed sitting at home, transformer in my office got damaged... hate it.
MᏫᎻᎯᎷᎷᎬᎠ
Sudeep
Okay
Krishna
Should we generate the 2D&3D modelling software using only C&C++
Parra
Parra
if you are planning to embed any language to your software, try metacall 😄👍
many
noexcept noexcept noexcept noexcept noexcept noexcept
Any situations that we would like to ignore exceptions? I'm afraid of using it since it sounds evil
Saurabh
const int dimx = 800, dimy = 800; FILE *fp = fopen("first.ppm", "wb"); /* b - binary mode */ (void) fprintf(fp, "P6\n%d %d\n255\n", dimx, dimy); What will be the output of this line . Can anyone tell me ?
Dima
can’t you see
Dima
%d - integer
S.
What's that (void) for
swarnim
What's that (void) for
It casts whatever fprintf returns to void
Saurabh
ok
swarnim
it is not required
This is a way to not get warnings
swarnim
If your warnings are turned on..
swarnim
Say for example Clang probably has it on by default. Don't remember very well
swarnim
It's ugly
I am with you on that.
swarnim
ok
Edited my answer read it again. Please
Anonymous
😱
swarnim
😱
Pretty sure that's a Bot
Dima
probably just another “hacker anonymous”
Dima
frends pls help to solve me 2 + 2
BinaryByter
6
S.
Pretty sure that's a Bot
It cannot correctly resolve "//" ?
Anonymous
Dima
get rid of js from this chat
swarnim
get rid of js from this chat
console.log("2"+"2");
VJ
VJ
Can any oneExplain the program??
BinaryByter
No, you ask a question
VJ
I didn't understand
BinaryByter
what don't you
VJ
When I compile I got 2 1 3 0
buggybug
Can any oneExplain the program??
The variable 'i' is incremented on every iteration, j in this case is a Boolean variable that equals to 1 if the i is less or equals to 1, or 0 otherwise
BinaryByter
btw:
BinaryByter
if I see anybody code like that
BinaryByter
I will get a knife
BinaryByter
and I will dye it red
BinaryByter
with that guys blood
Dima
wtf lol
BinaryByter
wtf lol
this though
buggybug
Actually this code can be much smaller (just the for statement is enough)
Dima
what the hell lol
Dima
the best code primer is the code written by you or by your attempts (talking about teachers and stuff)
Dima
or just look at my code kek
klimi
Hi jas
Jonathan
hey guys i am trying to understnad why i get an error when i run this code: #include <stdio.h> #include <stdlib.h> struct otter{ int a; int b; struct inner *Objectin ; }Objectout; struct inner{ int c; }; int main() { Objectout.a = 1; Objectout.b = 2; Objectout.Objectin->c = 3; printf("%d %d %d\n",Objectout.a,Objectout.b,Objectout.Objectin->c); return 0; } thank you so very much for any and all help 🙂
klimi
And error is?
Jonathan
And error is?
The build executes successful but I get the following error: Thread 1:EXC_BAD_ACCESS (code =1, address =0xo)