Asad
const char* const ptr[3] is double pointer. You should have written const char* const* const ptr = ... (I am not sure, though).
Bumpy
its was in exam in my university
Bumpy
i think that i could
Anonymous
how can i make GUI tools in C
Vlad
You reassign constant
Anonymous
ok
Anonymous
Anyone from Bangladesh
Anonymous
Hi guys
Anonymous
Is anyone here have experience in using Whitesource bolt ?
MRT
Is there a library that makes working with databases easier?
MRT
like django orm
Igor🇺🇦
Asad
Is there a library that makes working with databases easier?
This one looks good for SQLite https://github.com/fnc12/sqlite_orm
Anonymous
Wahuni
Anonymous
Guys Anyone who can explain to me abt signature
Pavel
Guys Anyone who can explain to me abt signature
Function signatures? What exactly you don't understand about them? (it's a big topic to explain it all)
Pavel
Just short explanation
Here is very brief explanation https://www.csee.umbc.edu/courses/undergraduate/202/spring07/Lectures/ChangSynopses/modules/m04-overload/slides.php?print
Anonymous
Thank you
Anonymous
@gameraccoon
Anonymous
hi
Anonymous
Someone is a strong C++ here?
Anonymous
I need some help
Mad
Where can I use strlen()
Mad
What does strlen() function mean
Igor🇺🇦
Where can I use strlen()
Have you heard of such things as the Internet and search engines? 🤷‍♂️
Anonymous
If you don't want to answer stfu
Igor🇺🇦
If you don't want to answer stfu
You could have typed the same text in search without wasting everyone's time. 🤦‍♂️
Anonymous
You could have typed the same text in search without wasting everyone's time. 🤦‍♂️
Yeah like you are not wasting your time by typing this😂😂😂
Anonymous
How backwards your reasoning is..😂
Igor🇺🇦
Yeah like you are not wasting your time by typing this😂😂😂
Since you're not very bright here is some explainer : https://letmegooglethat.com/?q=strlen No need to thank me.
Anonymous
Please get a job... I know this is not the actual search... Why do you waste so much time instead answering the guy...😕... You have a problem in your coconut
Davi
What does strlen() function mean
You ought to have read some manpages... From man strlen: "strlen - calculate the length of a string" #include <string.h> size_t strlen(const char *s); "The strlen() function calculates the length of the string pointed to by s, excluding the terminating null byte ('\0')."
Vlad
Please get a job... I know this is not the actual search... Why do you waste so much time instead answering the guy...😕... You have a problem in your coconut
Why would you answer somebody who didn't put the effort to just google the stuff to begin with? It's literally just second away
Anonymous
This is the shittiest grp ever . Filled with shit people
Pavel
#ot if you want to discuss googling and meta, let's go to OT and not start offtopic here
Anonymous
Since you're not very bright here is some explainer : https://letmegooglethat.com/?q=strlen No need to thank me.
You are part of a growing problem I think we need to address . You are part of a group of people who speak absolute trash without having any actual knowledge. This is a group created to help others , you must not be impolite because someone's question is stupid or can be found on google. If I were the admin I would have banned you already. Please change.
Anonymous
Please be polite
I didn't mean shut the fuck up... I meant stop fooling with us . Kinda polite😂
Anonymous
You didn't have to be a little girl because nobody had answered your "serious" question. Get over your narcissism
Wasn't the one who asked the question just concerned someone would be so impolite because of someone asking something.
Jas
I think the way there is a "Python" a "Python Talk" (gated entry after passing a little test) and a "Python Offtopic" group is probably a model the admins here should consider.
Jas
Lets people looking for different kinds of chat environment find them and get along nicely. Just a thought.
AHMED
#include <iostream> #include <filesystem> using namespace std; int main() { filesystem::path folderpath = "InternalStorage:\\c++\\"; if (filesystem::exists(folderpath)) { cout << "The path: " << folderpath << " exists."; } else { cout << "The path: " << folderpath << " does not exist."; } }
AHMED
<stdin>:2:10: fatal error: 'filesystem' file not found #include <filesystem> ^~~~~~~~~~~~ 1 error generated.
Pavel
<stdin>:2:10: fatal error: 'filesystem' file not found #include <filesystem> ^~~~~~~~~~~~ 1 error generated.
Filesystem is in experimental in some versions of compilers, you may want to include #include <experimental/filesystem> Or update your compiler https://stackoverflow.com/questions/39231363/fatal-error-filesystem-no-such-file-or-directory/39231488
Anonymous
The question was what do you use cout or std::cout. I prefer using fmt::print it has much nicer syntax and is faster
OK how do you get Fmt::print Do you have to inculde a preprocessor directive Because Std::cout is in iostream.h
Anonymous
You could have typed the same text in search without wasting everyone's time. 🤦‍♂️
Yes you are right Maybe One on one explaination is his best method of learning How do you see that ?.. Just saying 👍
Anonymous
https://fmt.dev/latest/index.html
Thanks #include <fmt/core.h> 👌😌
Igor🇺🇦
Thanks #include <fmt/core.h> 👌😌
That would only work after these steps. https://fmt.dev/latest/usage.html It's not C++ standard.
Anonymous
Ok
klimi
Dima was faster :(
Dima
Nish
Hey, I have a question for yous. I have limited experience of programming in general. Just little scripts here and there to solve problems. I am good with basics of c++ and now I want to dive deeper. I believe a good practice would be to start studying some open source app and learn how they coded it to get a sense of it. My problem is, I don't even know how to read some open source app. It's just so much of code (even small projects) for me to get started with. Do you have any tips on how do you READ someone's code to understand how they developed that app. For example, let's say implementation of "ls" command on Linux.
Anonymous
i have a que difference between array and pointer
Anonymous
how
Anonymous
im not talking about that little difference of sizeof() and else
Anonymous
how
In any way
Anonymous
int a[]; int *p=a; std::cout«a«std::endl;
Anonymous
std::cout«p«std::endl;
Anonymous
whts the difference
Anonymous
Array decays to pointer