55
sdushantha
124d

Just started learning C++. Might end up writing an essay when I write an actual program.

Comments
  • 9
    This looks sleek, is this your desktop ? what DE is it
  • 2
    @GTom wanna know too
  • 5
    Just leaving a 📌 for the desktop type
  • 11
    Looks like gnome with some tweaks
  • 4
    @IllSlapU well there missing the params for main, should be int main(void) {} (or the params with args) also they never endl the cout, they also leak std which isn't a big deal here but if they use that in a include somewhere it's bad practice..
  • 6
    @GTom @BambuSource @resdac Its Ubuntu with arc-dark gtk theme. Yes this is my desktop. I am dual booting Ubuntu and MacOS on my school MacBook air
  • 3
    @hexc It's totally fine and actually good practice in most scenarios NOT to use std::endl but just use "\n" instead. Really the only thing here that isn't that great is using std namespace, but it doesn't do any harm in a "Hello, world!", so I don't see any real issues here.
  • 2
    Ohh...if a "Hello World" annoys you, wait until you manage pointers, data structures...just learn and have some fun with the compiled world
  • 2
    You forgot the parentheses after main
  • 1
    Move to Ruby. Thank me later :)
  • 1
    @BambuSource GNOME with Arc Theme.

    Also I suppose he's using Papirus Icons.
  • 1
    Where can I download these wallpapers?
  • 0
    should be on /r/unixporn
  • 0
    I would suggest to use puts and printf instead of iostream, imho much easier to write and use in many cases.
Your Job Suck?
Get a Better Job
Add Comment