Havoc
Hey
Havoc
#include "std_lib_facilities.h" int main() { cout << "Hello World!\n"; keep_window_open(); return 0; }
Havoc
trying to run this simple code but it wont run, error windows says file doesn't exist, using visual studio
D1ws
the header file shall be in the same dir.
Havoc
I see so how do I tell it
Anonymous
Is it located within the folder of your current project?
Havoc
the system cannot find the specific file
Anonymous
yeah
std_lib_facilities.h?
Havoc
it's in the same folder : Hello World
Havoc
but should the file be in .h or .txt?
Anonymous
What
Havoc
like the file std_lib_facilities, should I save it as .txt or .h
D1ws
come on. really.
Havoc
yuh
Anonymous
Save it as .exe
D1ws
are yu kidding
Havoc
me or him
Havoc
Save it as .exe
Uh the include "file" can't be saved as .exe it's a library
D1ws
but should the file be in .h or .txt?
this part if yu mean the head file. yu cant.
Anonymous
Uh the include "file" can't be saved as .exe it's a library
I think you may have broke the entire visual studio. You are a genius
Havoc
is english your second language? I'm just having a hard time comprehending you
Simple Sorcerer
What's all the fuss. What's the problem?
Havoc
uh my code wont run
Havoc
bruh
Anonymous
Put it next to your code location
Havoc
I did at first but it sill wouldn't run, I did : Create new program > Add file > I downloaded the library from the internet and saved it as .h>
Anonymous
What directory is it in
Havoc
the same 1 as the program folder
Anonymous
the same folder that Helloworld.cpp is in?
Simple Sorcerer
Ugh. These IDEs are so intuitive. it's a good thing I stopped using them)))
D1ws
i guess. hes using windows.
Anonymous
vim + make
Wordpress
Simple Sorcerer
Wordpress
ahahahahaahahahahaahahahahah
Simple Sorcerer
Wordpress
I hate him with all my heart.
Simple Sorcerer
I hate him with all my heart.
maybe I failed to fulfil its potential :)
Simple Sorcerer
The admin's gonna come in and ban everyone for talking out of turn)))
Anonymous
yes
Check your IDE settings
Havoc
alr I saved file to the folder and it still said can't file specific file
Anonymous
what file
Simple Sorcerer
screens would be very helpful to Havoc right now. but alas they have been switched off :(
Havoc
yeah can't upload pics, but I think I found out why it was rejecting it
Havoc
It says
Havoc
Error C1083 Cannot open include file: 'std_lib_facilities.h': No such file or directory
Simple Sorcerer
Error C1083 Cannot open include file: 'std_lib_facilities.h': No such file or directory
is there any possibility to just add it to the project so that it would be displayed in the project files?
Havoc
dont think so
Simple Sorcerer
is there any possibility to just add it to the project so that it would be displayed in the project files?
My credentials are at an end. Those who use Visual Studio will help you.
Anonymous
No one uses Visual Studio ;-;
Havoc
fr?
Anonymous
Go get JetBeans lol
Simple Sorcerer
Go get JetBeans lol
it's not an option for beginners.
klimi
No one uses Visual Studio ;-;
please refrain from IDE flamewars
Anonymous
it's not an option for beginners.
But he's already operating at a higher level than us
Anonymous
please refrain from IDE flamewars
Sorry, I don't even use an IDE I use unreal blueprints for my LUAscripts
klimi
fr?
People do in fact use Visual Studio :)
klimi
Just save it as .h and you are fine
klimi
(if you are using C++)
Anonymous
Try another header
Simple Sorcerer
I feel like I'm giving bad advice. Help him out, guys.
klimi
Okay sure, i can try find something online how to do it in visual studio
Havoc
do you still need help?
well it worked after I used "std_lib_facilities,h.txt"
klimi
well it worked after I used "std_lib_facilities,h.txt"
that is probably because you saved the file wrong
klimi
It should be saved as .h
Simple Sorcerer
Nobody expected this
I have an assumption that he created it using Windows Explorer. But it doesn't show the extension .txt
Anonymous
.h.txt lol
mito
Rose
User Shivam has 1/2 warnings; be careful! Reason: random AI talk