25
vicci
7y

#include <iostream>
using namespace std

int main();
{
cout << "Hello devRant!"
}

Comments
  • 2
    I think theres a fault to this though
  • 10
    You forgot to return, now everyone is dead.

    I am but a simple man,
    I see C++,
    I ++
  • 4
    Semicolons. Where are they?
  • 4
    Welcome! You need to work on your cpp mate
  • 2
    It's not so bad, consider touch screen keyboard, no idea or compiler...
    but yeah, this "using" hurt my eyes...
  • 2
    @esavier the main method in cpp actually is allowed to not return anything.
  • 3
    @b3b3
    Touche.
    Still, posix standard both encourages and warns to take parameters from system, and return status codes after runtime. Not returning specific code means from user perspective that nothing went ok, or all errors during runtime was intentional.
  • 2
    Welcome! Now we've just got to work on your code a little bit… 😉
  • 2
    I'm more of a interpreted than compiled language guy. Well thats as far as my training goes for now. But thanks for the advice guys.
  • 0
    @TRIGGERED The test willl return an error. 😂😂😂
  • 0
    @TRIGGERED you salty. Guess you're just acting your name up.
  • 0
    @huntergray11 just after main( )
  • 0
    hi, you must return int value.
  • 1
    devRant during registration should encourage ppl to use sh to do their "hello world" introduction. Would spare them of many awkward moments.
    Welcome btw:)
    P.s. please don't use brackets like that.
Add Comment