What is with this niggerlicious syntax? Why use the shift operator instead of treating cout as a regular function?

What is with this niggerlicious syntax? Why use the shift operator instead of treating cout as a regular function?

Attached: BE4CFB8A-7C5E-4BE9-8C41-1CBD7FA4F80B.jpg (800x600, 87K)

Other urls found in this thread:

repl.it/repls/MessyEmptyDriver
twitter.com/SFWRedditImages

Yes, it's completely retarded.
Just drop that garbage language and learn C. Then maybe learn Go, Rust, or some shit if you want to learn something more "modern".

Because it's supposed to represent a stream. Learn to UNIX faggots.

Also, it *is* possible to just invoke functions directly, and it is also possible to use stdio.

However, if you're not used to the concept of operator overloading, you're going to have a real hard time learning C++, fucking brainlets.

>Because it's supposed to represent a stream. Learn to UNIX faggots.
This is one of the weakest and most retarded justifications I have heard for that.
The fucking syntax isn't even right, and C++ is probably the least unix-like language there is.
The REAL unix way in programs is to write to file descriptors.

>However, if you're not used to the concept of operator overloading, you're going to have a real hard time learning C++, fucking brainlets.
Wow, you're so fucking smart, aren't you user? You're such a top-tier C++ programmer.
Get over yourself. Operator overloading is nothing special or noteworthy.
All it has done here is create some fuck-ugly and inconsistent syntax, producing slow and objectively worse code.

It looks better that way anyways

It might represent a UNIX stream but it isn’t a unix stream so why act like it is? Surely a consistent way of calling functions is more important.

import util.java.Scanner;

Scanner reader = new Scanner(System.in);

System.out.print("enter an integer: ") ;
int number = Integer.parseInt(reader.next());

Or instead of using Go or Rust since both of them are still pretty shit, just use the C++ features you like and don't use the ones you don't like. You can still use printf all you like, I prefer it as well

You're obviously too retarded to be a good programmer so please stay the fuck away from it.

>The REAL unix way in programs is to write to file descriptors.
Yes, because pipes and stream redirects totally aren't a thing, right?

import java.util.Scanner;

public class Faggot {
public static void main(String[] args) {
Scanner reader = new Scanner(System.out);
System.out.print("enter an integer: ") ;
int number =reader.nextInt();
// do something with the number after this point
}
}

Who's retarded enough to complain about cin and out? That shit destroys buffer reader or scanner in with Java. There's surprisingly no easier syntax in any other non scripting or meme language

>t. 69 iq

>the shift operator
C brainlets everyone

What’s wrong with cout and cin? What other way is there to get a user input from the console besides get line and printf ?

Complaining about trivial syntax choices is the mark of a brainlet.

repl.it/repls/MessyEmptyDriver

>propmts the user
do the needful sir

There are regular istream/ostream functions on those and you can just use stdio.h if you prefer. Personally I find it's nicer for outputting mixed type data than needing to compose a string with additions (not as nice as string formatting though, no idea why they didn't provide that functionality).

>it might represent a stack but it isn't a stack so why act like it is?
>it might represent a queue but it isn't a queue so why act like it is?
>it might represent text but it's just a bunch of numbers so why act like it is?

Basically this, complaining about shit like this is first week intro to CS tier

cout and cin are fstreams.
Use C++ for things beyond hello world and you will understand.