#i have never written c++ b4, please show me how to run a hello world message

21 messages · Page 1 of 1 (latest)

alpine larkBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

elder nimbus
#

b4 is before?

spice vortex
#

yes

elder nimbus
#

lol just google it

distant pilot
#

if you look anywhere online, you can find good resources for learning c++ - for example: learncpp.com:

#include <iostream>
int main() {
  std::cout << "Hello, world!" << std::endl;
}
elder nimbus
#

yeah it's that

spice vortex
#

well yes
but how do i runn it?
i have installed llvm++

elder nimbus
#

also return 0;

#

compile it

#

then run

spice vortex
#

after running it theres 2 errors

distant pilot
elder nimbus
#

i'd still write it explicitly

spice vortex
#

cannot open source file "iostream". Please run the 'Select IntelliSense Configuration...' command to locate your system headers.

and
#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (C:\Users\v\OneDrive\Desktop\loim\enigineintergrator\holy.cpp).

warm hearth
#

#1013107104678162544 or #cpp-help-text .
This is #1013104018739974194 .
C is not the same as C++

spice vortex
#

these two errors are appearing

#

oh shit sorry

#

ill open it there

#

i didnt see

elder nimbus
#

just follow your guide or tutorial or whatever you are reading

alpine larkBOT
#

@spice vortex

Please Do Not Delete Posts!

Please don't delete forum posts. They can be helpful to refer to later and other members can learn from them. In the future you can use !solved to close a post and mark a post as solved.