I just started c++ some days ago and did already write the simplest line of code which just prints hello. i did try to compile it a million times using mingw and like 6 other compiler from other sources. Every time i get a error telling me no such file or dictonary and it includes someting with Createprocess. I did search through forums and tutorials for 4 days and still struggle when i use visual studio instead of a simple notepad it already errors saying that iostream wont work and that i need to update include path but every guide wants me to use a different folder from the same file one time its lib another its bin where gcc.exe is located another time include folder. Yes i did include it in envoirement.
#C++ librarys keep not getting detected
60 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 use !howto ask.
Did you really use Visual studio or was it actually Visual studio code?
code
Then you'd be better off using Visual studio.
Consider using Visual Studio it includes compiler, debugger, intelliSense and also has plugin support
wait now im confused i downloaded visual studio code but it still has these features
VS code does not come with a compiler.
i tried it one time with just an textfile and compiling in terminal but it had an error even google didnt know about
What.
Use this:
im a total beginner so idk what im even doing
How to Learn C++ Programming
We generally recommend a good book to learn the necessary fundamentals:
To actually write and run C++ code, you will need a compiler, editor, and debugger. We strongly recommend to start out using an IDE, which will provide all these tools for you:
<:microsoft:1165512917047853127> Windows
- [Visual Studio](#1165492293810257920 message)
- CLion
<:tux:1165505626894520361> Linux
alr gotta remove some files these compilers did took me 50gb or smth
i couldnt if even iostream failed
check the Visual Studio quick tutorial
why you propaganda visual studio over code? its not hard to set up vscode without knowing anything in couple of days, and along with it learn many things
Because they tried and failed miserably.
10gb is kinda big for vs :,/
you gotta remember my setups newest hardware is from 2009
yeah but my setup can only handle 1 big game at a time
its ether russia or india
nope
If you can still afford the disk space Visual studio is still worth it.
i did, goodbye heart of iron
Because I'm a linux user and setting up a C++ compiler + VSC takes literally 2 minutes with a slow internet (also I'm not sure but I think there is literally a button to install a compiler).
Anyway I know that I can setup VSC on windows and that I always preferred using VS (even tho it's quite big and slow).
Also I hate launch.json
talking about slow internet my vs did freeze at 60% since like 14 minutes
you need only download vscode, install clangd(exsention), cmake extentions, and install cmake + build essential
if clang, then install clang itself, codelldb, and if newest version of clang then before set repository* to packet system
how to use it if no one wants to help at my actual problem the only solution was literally "just install vs"
idk work perfect without changes for cmake tools
not sure i have now like 10 compilers including clang and all wont work
i can show the error rq
this is an error
hows that an error
skill issue
having 10 compilers, seems like impossible if not targeting this goal specifically
i only use 1 of them depending which useless tutorial i watch
or read
rn its something called mingw
even with worst compiler (msvc) i have only one issue - he not work normal with cmake without CMakePresets.json
other issues is about compiler itself not ide
im quite sure its not compiler error tho 
whats devenw.exe
idk, goggle it
alr it works (i think) no error by using iostream but now theres no way to check docs because all are made for the code edition
g++.exe: error: CreateProcess: No such file or directory
im quite sure its not compiler error but build system / environment or code itself