#include issues
87 messages ยท Page 1 of 1 (latest)
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 run !howto ask.

k...
it's not code tho it's just an external error
int main() {
std::cout << "Hello World";
}
either way you can't get help by posting nothing but a general statement :p
where does the error come from? #include <iostream>?
yes
it says i need to update my includepath idk how tho
it's fine to be a beginner don't worry about it
and also don't be offended if you repeatedly get asked for specific details, you'll learn that wroking off assumptions is the best way to get shafted in solving a problem 
okay so VS Code but what about the rest then?
your OS and compiler
lol have you installed one to begin with 
vs code extensions are not enough on their own
my advice anyhow if you're beginning is straight up to use Visual Studio, not VS Code
bruh i thought they were the same thing ๐
Visual Studio is a full-blown IDE bundled with a compiler and a build system, whereas VS Code is "just" a text editor around which you build a setup that suits you and your specific needs, with a tailored workflow
vs code is an editor where you write your code, while Visual Studio is an IDE with its own compiler (MSVC)
mh k ic
the thing is at this stage of your learning, you don't have any specific needs nor do you require a specific workflow, so yeah better to use Visual Studio and get the out-of-the-box C++ experience
to sum it up: getting a C++ setup up and running is a tedious task and not suited for beginners, don't focus on it right now :p
Or if you want something viable from terminal, try MinGW
a suite of GNU tools re-written for windows to be specific
you can install gcc with it and use that as your compiler
not a road I'd go down in your case :p
I'm not sure that makes anything easier, not at this point ๐
well... If you just want to compile a single exec file, maybe this is easier ๐
Once you get comfortable with your tools and the compilation pipeline (including what can go wrong and how to fix it), then yeah CMake is a first-class choice of a build system
until that point I'd stick with VS ^^
ok thanks for the tips
vs seems like the best thing rn for me but i'll try to understand also other programs eventually
should i just go for another language instead of c++ maybe?
not necessarily, why would you need to ^^
I've heard people saying it's not really beginner friendly
it's a complex language and it has a steep learning curve but there's a reason many people use it
yeah but you can't expect to get started on something and not be a beginner at it ^^
i see your point i'll give it a shot ;) thx a lot
other people on this server came from python too, with possibly limited programming experience if at all, and had trouble getting started but they made it ๐
you're welcome 
i don't have any programming experience whatsoever i'm just trying to create a base for university i just feel like it would be too hard to follow otherwise

sure
I might add that you should be careful in picking your learning resources
some of the top search results are straight up BS
unfortunately you can't know unless someone with a little experience takes a look at it and then tells you that it's shit
"shit" as in they make you build bad habits
I just like to follow Mosh's tutorials idk if you know him
it's a pretty big channel
never heard of him ^^
looks like an online-course
yes it's a short tutorial for each of the main languages
it's not bad at all
his one-hour video on youtube seems reasonable to say the least
if you're looking for written resources there's https://learncpp.com/
very long to build up to the beef of C++ but very detailed and factually not wrong and frequently updated
also when in doubt your best and only reliable friend is https://en.cppreference.com/w/
(that being said, don't hesitate to post questions here too)
You may also find MS C++ ref useful, you can use it as a dictionary. (https://learn.microsoft.com/en-us/cpp/cpp/cpp-language-reference)
@fiery verge Has your question been resolved? If so, run !solved :)