Hi, Jow Forums. Currently learning C++, mainly doing it for operating system programming in the future...

Hi, Jow Forums. Currently learning C++, mainly doing it for operating system programming in the future. Is there a way to make npm packages work with this? It'd be more convenient than manually connecting libraries together to do what I want. Right now I'm trying to print stuff to the console without using cout, mainly wanting something more usable that'll know what type I'm putting in and in parenthesis. Is there something that can help me with this?

Attached: zsn8o5s5oel01.jpg (1025x1023, 170K)

Other urls found in this thread:

github.com/v8/v8/wiki/Getting Started with Embedding
twitter.com/SFWRedditGifs

Oh god. Learn the language first, don't reinvent the wheel.

github.com/v8/v8/wiki/Getting Started with Embedding

That makes me sick. Embed a meme language in c++

how do I print text with this?

For the love of god, please be bait...

Traps are gay

>c++
>not using asm x86

???

not astolfo

Oh, that's easy, just do gem add pip && pip install npm and it should work.

How do I make this work in C++?

You don't, it was a joke.
Unless you embed a javascript engine onto your program, you won't be able to use js libraries in C++. And yeah, unless you have a pretty good reason to do that, you shouldn't.

Just keep on studying C++, one day you'll laugh about this.

i wanna fug astolfo

I've been studying for a month now. Surely there's a solution to this right? cout isn't safe from what I've heard

Is there a C++ alternative to is-odd?

Just use printf like god intended

What? Isn't that a C thing? AFAIK you can't use npm with C

>npm is a package manager for the JavaScript programming language.
lol wtf

Reposity code in C++ are fucked.

bool var = (target & 0b1)

Yes, and? Is there not a way to make those work with C++?

cout is perfectly fine.

NO. Why would this be possible? Js is not even compiled...

Cout isn't safe from what I've heard, and I'd like to use parentheses instead of the weird byteshift operators

C++ is too bloated for writing an OS, you won't be able to use most of it's features anyway. Learn C and assembly.

The only C++ features unsuitable for kernel development are exceptions and RTTI.

>What? Isn't that a C thing?
Which means its usable in C++ with the cstdio lib...

If C doesn't support npm I'm not gonna use it. That's that

Then don't

It's not bloated

It's ok no one wants you using any real programming language

Sorry, we thought you wanted to get into programming for real.
Go back to your interpreted dynamic languages.

Do you actually have any idea what you're talking about or do you just make stuff up to make yourself seem smart?

Thanks OP, you gave me a good laugh

Attached: terrific.gif (184x141, 1024K)

But Java Script is bad, right?

Npm only works for Javascript shit. Only.

If there is no npm how can i find out if a number is odd?

I thought the thing with C/C++ is that there's a workaround for everything?

Hm

Traps are terribly psychotic, harmful and dangerous.

But what you want doesn't even make sense, don't blame c++.

x86 makes for shitty assembly. Other ISAs have a much more sane asem

What do you mean?