34

cout<<"Hello devRant world";

//omg this place is so cool!!!

Comments
  • 8
    Reported for c++

    Just kidding, welcome to devrant!
  • 7
    @CozyPlanes I read the word reported and was like 😓!!!!
    You got me 😂
    Thanks btw
  • 4
    @Alice umm the number of ++ you have 😮 astounding wow
  • 4
    puts "Welcome"
  • 3
  • 2
    @AlexDeLarge 😵
    I have a long way to go
  • 2
    @LastDigitOfPi 😵😵
    I really love your user name btw 😍
  • 5
    *waves in anime*
  • 2
    @Alice that's so sweet of you 😊
    Liking the community already.
  • 3
    Ugh please use some spaces. Also, welcome!
  • 3
    @LastDigitOfPi Privacy God, present! 😊
  • 4
    std::cout << “hi there, welcome to devRant!!! 😁”;

    ++ especially for C++ 😍😍😁😁
  • 2
    @Bumble-Bee And welcome to this awesome place!
  • 3
    Thanks all <3
  • 4
    I agree! I'm glad I stumbled into this.
  • 3
    @c3ypt1c friendos unite!
  • 2
    @spyke welcome fella <3
  • 4
    well && come
  • 3
    Welcome, although you are missing an std:: because I will assume you are a good person that does not use "using namespace std"
  • 1
    fmt.Println("Welcome")
  • 0
    @aritzh umm what's wrong with using namespace std; ? 😅
  • 3
    @Bumble-Bee it is considered bad practice because it makes everything in that scope to be global scoped which makes it easier to cause ambiguity as to which namespace the functions are actually from.
    For example, if you are having multiple namespaces and u use “using namespace <name>;” for all those, the people who look at your code will be confused as to which function resides in which namespace. That’s a nightmare.

    Also, similar named functions in different namespaces can caused unintended ambiguities because of being accumulated in same namespace 🙂
  • 1
    @Electrux oh ok,but if I am not using multiple namespaces and doing something simple,it does save time.
  • 3
    @Bumble-Bee true... but still, as a convention and for the sake of readability, it is not preferred... otherwise it is of course up to the programmer 🙂

    Personally, I find writing std::cout to be much more fun 😂😂
    Plus, writing :: is a trigger for giving completion in multiple engines so there is that too 😁😁
  • 0
    Belated Welcome
Add Comment