>first job interview >asked to write hello world in C++ >open visual studio >hear laughing in the background >"Actually we just hired somebody else, good luck"
Third time this has happened. Every time I mention visual studio they immediately end the interview. What editor should I learn that will actually get me a job?
/*! * Sentence type * * Type of sentence, used to decide how to terminate sentence. */ enum ESentenceType { eStatement, eExclamation, sQuestion, eCommand };
/*! * Utility class to prevent unintended copying of class instances. */ class nonCopyable { protected: nonCopyable() { }
/*! * Utility function to obtain punctuation mark to end sentence * of specified type. */ inline char getPunctionMark(ESentenceType sentenceType) { char puncMark = '.'; switch(sentenceType) { case eStatement : puncMark = '.'; break; case eExclamation: puncMark = '!'; break; case sQuestion : puncMark = '?'; break; case eCommand : puncMark = '.'; break; default: { // should never get here assert(false); } } return puncMark; }
/*! * Utility class for creation of instances. */ template class Creatable { protected: Creatable() { }
virtual ~Creatable() { clear(); }
public: static TElem* create() { TElem* e = new TElem; return e; }
>implying that people don't develop Windows software using Windows
Retard.
Blake Martinez
>he doesnt know
Landon Kelly
>he doesn't develop
Kevin Robinson
uhhh... most people develop for windows on Linux, even ms devs themselves...
Carson Murphy
So uhh do they just assume the code is correct without any build tests?
Aaron Moore
this did not happen
Adam Gutierrez
Surprised people are replying to this b8.
Nicholas Young
was a joke, because every program by a windows person is littered with shit I've never seen as a C++ dev
Brayden Nguyen
emacs
James Thompson
Notepad++
Adam Parker
What the fuck are you talking about?
Landon Martinez
virtual ~AbstractHello(){std::cout
Hunter Anderson
forgot karlie browsed 4chins
Josiah Reyes
>delete this
Anthony Ward
It's true. They test in a VM or deploy to a remote test machine.
Blake Jenkins
No... really?
Evan Powell
Visual Studio Code
Evan Cruz
>Things that never happened.
Microsoft is so deeply inside the rectum of pretty much every company out there they would laugh if you used something else.
Also technically you should also only use the tools that are provided by the company due to standardization but you're just a NEET shitposting.
Benjamin Collins
the include and the int main must be in diferent lines the # makes the entire line to be a macro
Dominic Martin
nope
David Clark
why do people use this garbage?
Nolan Gutierrez
whats wrong with it?
Carter Jackson
might be IDE specific, VS doesn't allow it. I'm pretty sure it's not allowed anywhere though.
#includes should be on their own private lines
Oliver Walker
>25 yo >BS Comp Sci UIUC >use VS2015 + ReSharper allday erryday >$120k/yr + benefits Feels good man
Andrew Jackson
emacs
Evan Bell
#include main() { puts("hello world"); }
Colton Williams
>22:22:22
Colton Anderson
Because it's still better than Atom, yet free and not a sperg editor.
Charles Bell
$ cat hello.cc #include int main(){std::cout
Nicholas Roberts
install gentoo
Cameron Reyes
delicious utility
Cooper Reyes
>ReSharper
What the hell does resharper do anyways? Am actually curious.
Justin Foster
>plain text file Is a file format, not an editor. And to Windows users, it tends to imply use of Notepad, which really isn't ideal for anything more complex than Hello World. An editor with line numbers, at least, makes it much easier to resolve syntax errors.
What specifically makes Linux so better for development? Is it just things like make and an actually usable command prompt?
C/C++ standards say preprocessor directives are terminated by a newline, as there is no other explicit terminator like the ';' for regular code.
Ethan Wilson
Ever tried installing a library on Windows?
Jaxson Nelson
>first job interview >Third time this has happened.
Isaiah Reed
u just got TRICKED
Colton Reed
>unreadeable codes are what employers want
Levi Edwards
Visual studio is amazing, but in reality you shouldn't need that to write cout
Carter Brown
Whadaya mean got tricked?
Lucas Turner
>>cout
I really really hope you don't use using namespace std;
Landon Baker
A minimally acceptable answer would be what I put. Of course there are more satisfactory answers like yours that would be more in depth.
Kayden Brooks
No, neither are acceptable.
Kevin Sanders
it sharpers again
or it googles it.
Elijah Mitchell
Then this is why your teammates find you insufferable to work with.
Xavier Nelson
If you used a namespace within a hello world program, they would literally hire you just to fire you 2 seconds later for being a faggot
Matthew Cox
It's an interview you dunce, and obviously a low level one if all they want is "Hello world" in C++.
You ever done an entry level or new grad position interview in your life?
Logan Young
How the fuck are you justifying writing "using namespace std" instead of std::cout.
Anyone that can touch type does not need that retarded shit.
Jayden Brown
>hello world okay. what about some actual interview tests?
Evan Price
Seems like something I'd do when hiring.
Not that I'm involved in hiring, but the first thing I'd do is stick a developer on linux machine with a text editor (not ide) of their choice, and a modern gcc. Of course our real development isn't like that at all, we use plenty of tools to make our lives easier, but if you can't hack it with the bare basic tools, you probably don't understand enough to work here.
The time in my life where I train retarded windows based web dev kiddies how to 'cd' and 'ls' is over, and it's never coming back (don't even get my started on people not understanding pipes and stdin/stdout/stderr redirection)
Ian Bell
>first job interview >third time this has happened
Put some effort into this next time
James Morris
I try to maintain a perspective. I can work just as easily with hacked tools as professional tools. When it comes to computer science, as with hacking, my key tenant is maintaining a multi faceted outlook. Be prepared for whatever may cross your path, and educate yourself when you are not.
Landon Mitchell
Isn't C99 part of the C++14 spec?
Nolan Harris
As is the only way to survive as a developer. If you don't take that perspective, you'll get left behind after a few years.
Heard about a slightly older guy that applied to work at my office, as a dev for your standard CRUD style HTML5 frontend talking to a REST API backend. Wasn't doing well in the interview, proceeded to argue with my boss that visual basic is entirely appropriate for making modern web interfaces (he couldn't complete the javascript interview question adequately, wanted to do it in VB). He didn't get the job.
Connor Sullivan
VSCode is actually pretty nice. It is free/open, fast (after initial load anyway), simple but with a lot of powerful features and cross platform. if you ignore it is from MS it is a solid editor.
Even though this is b8, yeah. Using VS is just terrible unless it's for gamedev (where it's pretty much required).
Just use a decent text editor and a compiler. You really don't need anything else.
Austin Wright
Nice programming there, fagget
Angel Fisher
>what is continuous integration
Landon Young
I don't think it's a question of need so much as want at this point. It's full of bloat but fuck is it comfy to use, like one of those armchairs with the leg rest and the cup holder and the teamserver you don't need etc etc.
Eli Jackson
>terrible If your PC is worse than smartphones 4 years ago. Otherwise there is no reason to use a text editor.
Isaac Rodriguez
So that's why there are so few MS apps.
Robert Lopez
Obviously the first of many interviews for the job.
Ethan Bailey
I love this
Brody Wright
You fucking retard.
1) Get a text editor. 2) Learn to use the command line. 3) Profit.