Tatuck
I saw a lot of tutorials. But none of them work in my case. I saw that if the file you want to include it's not in the includePath you put your mouse in it and then click "add to includePath..." but not in my case. Any help?
Suryanand
I'm not sure but you're probably in a tutorial purgatory and not following it the way you should be
Tatuck
When I click F5 or Run Debugging it creates two files in a folder: launch.json and tasks.json. But I don't think I can put a directory here
Suryanand
No you can't
Tatuck
No you can't
SO, where should I tell to VS Code to Include my directory??
Suryanand
Wherever the include path is?
Tatuck
OH hahaha, and where is the includePath?
V01D
OH hahaha, and where is the includePath?
In linux it is /usr/include
Tatuck
Yes, but do you know in vs code?
Suryanand
Probably
Suryanand
bin/include
Suryanand
Something like that
Tatuck
Let me see
Tatuck
Nope in C:\users\{username}\AppData\Local\Programs\Microsoft VS Code There isn't a includePath
Marián
Marián
can i do something like f >> v.push_back; ? just a one-liner that’d remove that „n“ variable and pushed back directly output of the stream
Konstantin
can i do something like f >> v.push_back; ? just a one-liner that’d remove that „n“ variable and pushed back directly output of the stream
you can't do exactly this, but if you want one liner, then research std::copy, std::ifstream_iterator and std::back_inserter
Marián
hmm okay thanks
Marián
and can i somehow detect failed conversion of >> to int?
Anonymous
Hi, thank for smm
Nils
Are these paid or free??
free and open source
Nils
Qt has a paid version too
Merazi
free and open source
free as in freedom (libre)
Nils
I found old lost thought data, with all my first programs I ever wrote
Marián
why std::getline(fstream) won’t seek filestream to next line?
Marián
? what lol
Nils
it just reads
Marián
wait so why does this not work
Marián
am trying to read numbers from file until i hit something that returns f.good() false, if so, i want to read the excess data and print em > continue
Marián
leaves the „err“ string equal to „“ and won’t seek the filestream, but f >> n seeks with no issue
Marián
ah okay, there’s a thing called .clear() and .ignore() lol
eder
ok
Anonymous
someone knows any academy or college online that teach c++ courses?
Anonymous
Anonymous
someone knows any academy or college online that teach c++ courses?
learncpp.com and the chernos playlist on youtube might be the best resources 🤷‍♂️
Anonymous
Is it easy to mod your original code or start from scratch?
klimi
learncpp.com and the chernos playlist on youtube might be the best resources 🤷‍♂️
Just.... One comment for the cherno channel... It is not always the best way possible how to solve peoblems
klimi
But for a beginner... Sure
klimi
But best for opengl and co
Yeah... I will have to disagree with you there
klimi
Thats the point what I dont like about cherno videos... That fact that he worked in ea and he picked up some bad habits.... Making his.... Code .... Somewhat... Unpleasant and in cross compile friendly with msvc hacks
Anonymous
Why they used printf If they have a chance to cout
Change your font please and use a dark theme
V01D
Change your font please and use a dark theme
Dark theme is actually worse for yout eyes
Zel
Too much white or black is bad
Anonymous
Dark theme is actually worse for yout eyes
Dark theme don't hurt your eyes
Anonymous
Too much white or black is bad
i said dark not black
Anonymous
Nothing causes permanent damage though. Just eye strain.
Zel
Themes should not contain large amounts of blue light
Anonymous
Dark theme don't hurt your eyes
When you are using dark theme you are likely sitting in a dark environment too. That causes eye strain as well.
Anonymous
Since light theme is "blinding", you are more likely to have lights on around you
Anonymous
Hello!!! Please ,Can you implement an ftp server in c++
Yehor
Hello!!! Please ,Can you implement an ftp server in c++
Are you asking about ability to implement an FTP server using C++?
Talula
Hello!!! Please ,Can you implement an ftp server in c++
https://github.com/continental/fineftp-server
Harsha [M]
!report
Anonymous
can someone help me with a question ? you are given a string s . you can select any two consecutive characters that are not equal and replace them with any other single character. you can repeat the process at most k times you are hence required to find the length of the smallest possible string that can be obtained
Anonymous
i am able to solve for repated consecutive characters but not this question can someone please help me with the code ?
Anonymous
Hello my friends.
أ بو بكر جدّ فل
Hello my friends.
hello hw re u?
Anonymous
Hi
Thanks so much
Anonymous
Fine fine.
Anonymous
Little by little I will be contributing to this great community. The support is very much appreciated, I see that it is an active group
Anonymous
For the moment I will share my account of GitHub I hope that it is of your pleasure, mainly because I have a project that this in c++, one is a mini motor of data bases, was a scholastic project that I would like to share, greetings, also I have a small sniffer and an encrypter of archives for the lovers of the cybersecurity
Anonymous
https://github.com/d4rk6h05t
Anonymous
does anybody knows the solution?
Anonymous
please can you guys help?
Anonymous
its really important
olli
please can you guys help?
Where is your code? (Learn how to ask) How did you solve it for the other case?
Anonymous
was facing some issues (thanks for teaching the irrelevant without helping in what was really asked )
olli
was facing some issues (thanks for teaching the irrelevant without helping in what was really asked )
seriously, there is a reason why nobody replied. Asking you to provide more infos is bothersome, if you want to be helped, spent the time to write a decent question https://stackoverflow.com/help/how-to-ask https://stackoverflow.com/help/minimal-reproducible-example