Std::count << "Hello World" << std::endl;

>std::count

Attached: bs-sdfi.png (270x270, 113K)

Other urls found in this thread:

spike.scu.edu.au/~barry/interrupts.html
youtube.com/watch?v=7uLzaKlZSQQ
ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.cbclx01/cplr233.htm
twitter.com/SFWRedditGifs

fmt.Println("Hello, δΈ–η•Œ")

Attached: gophers.png (427x180, 47K)

>can't appreciate the generality and flexibility of streams
>compares it to a simple print function as if that's all it is

void print(string message) {
std::cout

>operator overloading on file descriptor wrappers is flexibility

Attached: doubting the soy.jpg (655x902, 138K)

memestreams

>printf("Hello World");

What a fucking nigger.

Attached: DR_M.jpg (363x400, 80K)

Again, streams are not "file descriptor wrapper". They are a abstract concept.

> std::count
> count
> being so retarded that you still make a mistake in a hello world program

you are the nigger.

>print "Hello World"

What a fucking nigger.

Attached: GuidoAvatar_400x400.jpg (400x400, 21K)

>main = putStrLn "Hello World"
What a fucking genius.

Attached: 800px-Professor_Simon_Peyton_Jones_FRS.jpg (800x1200, 126K)

mov dx, 0120h
mov ah, 09h
int 021h


What a fucking nigger.

Attached: color.jpg (2202x2820, 1.2M)

print(β€œ>still using Python 2β€œ)

what in the fuck, im gonna learn asm now

System.out.println("Hello World");

What a fucking nigger

Attached: 1200px-James_Gosling_2008.jpg (1200x1207, 132K)

you forgot the
hellostr db 'hello world', 24h

and also the fact that that shit only works in DOS

?"Hello, World."

Which one of you niggers know what language this works in?

>int 021h
DOS was really awful
spike.scu.edu.au/~barry/interrupts.html

why so, now you have int 80 in linux and its the exact same thing (well, except for calling conventions ofc)

endl is undefined

Look up BIOS Interrupt Call and see how it differs from Linux's int 80.

Who else was afraid this would print a page from the printer and mom would come whoop their ass

Then google how to fix it? Maybe fuck off back to your programming bootcamp you shit eating pajeet. Nobody is doing your intro to java homework

+[-[-.---.>..>..>.

Attached: urban.jpg (512x292, 13K)

>BIOS Interrupt Call
but int 21h is a software interrupt, not a bios interrupt call lol, int 13h (for example) is

int 80 is no different, but modern linux uses syscall and sysenter on x86_64, not that you would ever invoke a kernel routine directly since you would instead use the c library.

>puts "Hello World"

What a fucking nigger.

Attached: Yukihiro_Matsumoto.jpg (220x328, 16K)

Yeah, my bad. It's been a while since I've messed with DOS but back when I was younger I pretty much thought every interrupt was a call for info from the BIOS.

"Files" are already an abstract concept on most systems, this is wankery

Can your memestream do this?
#include
#include

int main()
{
int i, n = 10;
const char *s0 = "----------";
const char *s1 = "##########";

for (i = 0; i

I love how what the most famous argument for Python is deprecated

(you)
yes

yes you're right about syscall
>not that you would ever invoke a kernel routine directly since you would instead use the c library.
well, I've done it for fun (and learning) :)

Yes, with type safety.

SNOBOL

You know you don't have to use it, right? Obviously not much use for hello world, but it considerably simplifies buffer IO syntax in more advanced usage.

>nigger
what an odd way to spell Genius

>you
(You)

BEGIN { print "Hello World" }

Who needs type safety when you have God by your side?

Attached: punished terry.jpg (210x240, 7K)

C++ is deprecated. Use Rust:
#![no_std]

#[macro_use]
extern crate std as std_deprecated;

mod std {
use std_deprecated::{
fmt::{self, Display, Formatter},
ops::Shl,
};

pub const cout: Cout = Cout(());
pub const endl: Endl = Endl(());

pub struct Cout(());
pub struct Endl(());

impl Shl for Cout {
type Output = Self;

fn shl(self, rhs: D) -> Self {
print!("{}", rhs);
self
}
}

impl Display for Endl {
fn fmt(&self, fmt: &mut Formatter) -> fmt::Result {
writeln!(fmt)
}
}
}

fn main() {
std::cout

Why wouldn't you just include std?
C++ is my favorite language BTW
Fuck c#
HVe a nice day!?

It's unreadable, so much clutter just to printf.

youtube.com/watch?v=7uLzaKlZSQQ

Attached: me2.png (403x347, 103K)

>DOS Interrupt
>Not using BIOS interrupt 10h
Get the fuck out

>std::count
No such thing.

Stop using std::endl unless you need to you fucking retards

Attached: 1518346849981.png (1384x1496, 743K)

(print (let ((printlet ">being a printlet"))
printlet))
>">being a printlet"

(prin1 "Hello World")
(print "Hello World")
(pprint "Hello World")
(princ "Hello World")
(print-object "Hello World" *standard-output*)
(write-string "Hello World" *standard-output*)
(write-line "Hello World" *standard-output*)
(write-sequence "Hello World" *standard-output*)
(format t "Hello World~%")

>std::count

The second one takes up more processing power

>Hello WorldPress any key to continue...
Yep, definitely don't need it there.

reading this as while imagining OPs anger that resulted in him making this thread for some reason made me laugh way to hard

[citation needed]

>this is your average winfag

>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n

Attached: 1528054758348.webm (482x480, 1.88M)

>passing std::string by value

Attached: 1406733526621.gif (683x400, 14K)

>what is '\n'

If you would know what std::endl does then it would maybe make sense for you. Btw you can printf with C++ as well, I'm just not sure if you are aware of that.

>Passing anything by pointers ever
Stop being a communist and give every function their own struct/data.

I think you should read this
ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.cbclx01/cplr233.htm

\nigger

>taking obvious bait

Attached: 1505434153454.png (1198x1200, 93K)