User Controls

There was a nigger who came up with this idea

  1. #1
    filtration African Astronaut
    This post has been edited by a bot I made to preserve my privacy.
  2. #2
    joe biden Tuskegee Airman
    Nigger
  3. #3
    Sophie Pedophile Tech Support
    What's that, Perl?
  4. #4
    filtration African Astronaut
    This post has been edited by a bot I made to preserve my privacy.
  5. #5
    Bueno motherfucker
  6. #6
    filtration African Astronaut
    This post has been edited by a bot I made to preserve my privacy.
  7. #7
    Sophie Pedophile Tech Support
    Originally posted by filtration c++

    It didn't strike me as C++, what does it do and why is it neat?
  8. #8
    Bueno motherfucker
  9. #9
    Sophie Pedophile Tech Support
    Originally posted by Bueno Just outputs text to the console :/

    Seems a lot of work to print some text. Generally i don't write console applications in C++. Debug prints aren't necessary either in Visual Studio. Although in the interest of full disclosure; only things i've ever really worked on in C++ are DLLs and a Windows service.
  10. #10
    Bueno motherfucker
  11. #11
    Sophie Pedophile Tech Support
    Originally posted by Bueno I used to help my classmates remember how the cout looks like with a mental imagine.
    Once you are in a pen and paper test is can be hard to remember which one is which unless your explicitly remember it.

    cout >> "Out" >> end1;
    cout << "Out" << end1;
    cout > "Out" > end1;
    cout < "Out" < end1;

    The mental image:


    And yes, you will be billed shortly for my consultancy.


    #include <iostream>

    main()
    {
    cout << "Money well spent!" << endl;
    return 0;
    }

    ( ͡° ʖ̯ ͡°)
    The following users say it would be alright if the author of this post didn't die in a fire!
  12. #12
    filtration African Astronaut
    This post has been edited by a bot I made to preserve my privacy.
  13. #13
    filtration African Astronaut
    This post has been edited by a bot I made to preserve my privacy.
    The following users say it would be alright if the author of this post didn't die in a fire!
  14. #14
    Lanny Bird of Courage
    Operator overloading was kind of a hot exciting thing when C++ was coming up in the world so people thought this kind of thing was cool. I mean having a stream object you could pass around or take as a parameter is kind of an improvement on printf in terms of composability, it just didn’t really need to be implemented through the << operator.
  15. #15
    aldra JIDF Controlled Opposition
    streams are gay, stdio forever
    The following users say it would be alright if the author of this post didn't die in a fire!
  16. #16
    Ghost Black Hole
    Originally posted by Lanny Operator overloading was kind of a hot exciting thing when C++ was coming up in the world so people thought this kind of thing was cool. I mean having a stream object you could pass around or take as a parameter is kind of an improvement on printf in terms of composability, it just didn’t really need to be implemented through the << operator.

    what a second he didn't say that about Joseph R Biden! Are you pulling a fast one again peter!
  17. #17
    Sophie Pedophile Tech Support
    Originally posted by Lanny Operator overloading was kind of a hot exciting thing when C++ was coming up in the world so people thought this kind of thing was cool. I mean having a stream object you could pass around or take as a parameter is kind of an improvement on printf in terms of composability, it just didn’t really need to be implemented through the << operator.

    It kind of reminds me of that funky way to set up an array in Bash, feels like populating the array in reverse.


    #!/bin/bash
    # Kind of like so
    while IFS= read -d $'\0' -r file ; do
    file_list=("${file_list[@]}" "$file")

    done < <( sudo find / -name "*.log" -print0)
  18. #18
    SBTlauien African Astronaut
    I still like...


    System.out.print("Hello");
  19. #19
    filtration African Astronaut
    This post has been edited by a bot I made to preserve my privacy.
Jump to Top