Vlad
Again. Stack IS free
Vlad
Until you run out of it
Vlad
But you have to be a total dipshit for this to happen
Vlad
And penny pinching with passing string_view by reference will not help
Ludovic 'Archivist'
So a stack frame with recursive call and std::string_view called 50 times will have extra 50x8 bytes for nothing
Most calling conventions will pass a stack offset anyway, make it const string_view and you are most likely OK
Ludovic 'Archivist'
And penny pinching with passing string_view by reference will not help
It may be useful if your intent is to change the view, but 99% of the time it will be a const string_view so it is better to just use that. If you need to copy, we'll you will copy anyway, matters not if it is in the caller or callee, and that is why calling conventions tend to not mandate the copy upwards of const structures of more than sizeof(intptr_t)
Ranjit
hi anybody here know qt
Ranjit
is qt good to make cross platform apps using c++
FriedRice
there is a thing called tail recursion, it can be optimized by the compiler automatically.
FriedRice
If you do tail recursion, you'll not create any new stack frame, but reusing the old frame
Rose
User Hitesh has 1/2 warnings; be careful! Reason: job ad
Tonio
Hi everyone!
Engine
Hi everyone!
Hi, read the rules please!
Ayman
Welcome
A
Difference between parameters and arguments?
Blue
Difference between parameters and arguments?
parameters are defined in the function's definition, while arguments are passed to the function when it's called:
harmony5 🇺🇳 ⌤
They are same
Generally, you call parameters when referring to the function definition, and you call arguments the actual, concrete values passed to the function when you call it
Engine
Difference between parameters and arguments?
To clarify, think of parameters as a variable, you define it with the function and reference it within it, and think of arguments as values given to variables (to parameters of function)
Shivangi Kumari
koi best web development cource bta sakta ha in hindi
Engine
koi best web development cource bta sakta ha in hindi
Didn't understand, if not English, read rule #1
Shivangi Kumari
Can you suggest the best full-stack web development course?
klimi
Can you suggest the best full-stack web development course?
usually this is not something you do in c/c++
Jitender
O.k.
Jitender
After 24 hours I can post
Blue
Hey why is this group's spam bot restricts most of the msgs. Why can't it let us talk freely about the subject? My messages often gets deleted here.
Hahhh
Difference between local static and global static in c program
klimi
Blue
it is probably that you are just spamming, but the bot can be wrong too as it is just a heuristic
But no klimi, this was probably the 3 rd msg I've sent in the group. The spam bot is kinda annoying.. not letting us interact freely with the people here.
klimi
you should be good
Blue
Well, let's see.
Blue
Thanks klimi.
ʙᴀнᴀᴘᴀм
can someone please post here any C programming book where I can learn C
ʙᴀнᴀᴘᴀм
Urgent need
Rose
can someone please post here any C programming book where I can learn C
Please check out this channel - @Resources for information on learning sources for C and C++ (books and videos) and Frequently Asked Questions.
harmony5 🇺🇳 ⌤
lol its paid
Modern c book is available free online on its site
Jojo
Are remote and/or online jobs for linux and c usually available? I have been seeking them out, at least for beginners and it's has not been a thing one finds, I keep finding or catching my mind wondering how the look like or how to go about them, any leads on their abouts?
S G Associate
Do not aspire to meet a wonderful person. Aspire to become the wonderful person that you expect others to be. SadhguruQuotes
Rose
Do not aspire to meet a wonderful person. Aspire to become the wonderful person that you expect others to be. SadhguruQuotes
Offtopic discussions should be done in the C/C++ Offtopic group. Please take your discussion/questions there.
Jitender
Can I post now
Rose
Welcome Majors! Please read the pinned message 🙂 Click the button below to unmute yourself.
John
/notes
Rose
/notes
List of notes in C/C++ Programming: - 0_to_show_item_use"#item" - gitgud - howtoask - markdown - mcve - meta - ot - paste - projects - res You can retrieve these notes by using /get notename, or #notename
Blue
/notes
Rose
/notes
List of notes in C/C++ Programming: - 0_to_show_item_use"#item" - gitgud - howtoask - markdown - mcve - meta - ot - paste - projects - res You can retrieve these notes by using /get notename, or #notename
Blue
/get howtoask
Rose
/get howtoask
These are ways you can improve the odds of someone wanting to help you. Be considerate when posting questions. • Use a search engine to check if anyone else had the same question as yours before asking. Stackoverflow is your friend. • Be straight to the point (do not ask to ask.) • Be specific, include as many details as you can. • Show what you've tried to solve the problem • We don't care if anything is "urgent" or "important" - wait patiently for someone to reply. • In addition, please check this site to learn how to ask questions in a public forum. It's good style to limit the amount of messages you send to a public forum; put effort into 1 message, rather than sending many of them, and edit messages to fix errors or to include more information.
Mohamed
i have DS and Algorithms final exam in CPP i Forgot every thing, i can't implement any thing any tips 😭 very destructive Help 😭😭
FriedRice
you are cooked dude
Rose
Don't ask meta questions. In other words, don't ask to ask. Questions like "Does anyone know XYZ?", "Has anyone used XYZ?" or "Can someone help me?" are all considered meta questions because they don't specify what your actual problem is. These questions give the impression that you want people to approach you and offer their help as if they don't have any other work to do. Now doesn't that expectation make you look like an idiot? If you have a question ask it directly. You are more likely to get a response that way.
Harsh
/notes
Rose
/notes
List of notes in C/C++ Programming: - 0_to_show_item_use"#item" - gitgud - howtoask - markdown - mcve - meta - ot - paste - projects - res You can retrieve these notes by using /get notename, or #notename
Harsh
/notes
Rose
/notes
List of notes in C/C++ Programming: - 0_to_show_item_use"#item" - gitgud - howtoask - markdown - mcve - meta - ot - paste - projects - res You can retrieve these notes by using /get notename, or #notename
klimi
use AI assistant to accelerate your learning process?
Meh, I wouldn't use it like that. I pretty much doubt it will accelerate learning when you are super cooked.
Bilal😮‍💨🐊
I need help with launching of html websites using vs code
Bilal😮‍💨🐊
what do you mean?
Linking it to a domain
klimi
Linking it to a domain
1. this has nothing to do with the topic of this group 2. vscode is a code editor, not a hosting service 3. you will need to contact your DNS administrator to do the changes probably 4. and keep offtopic in #ot
Rose
That's 2/2 warnings; S G Associate is banned! Reasons: 1: ot, go philosophise on off topic 2: ot
Xyz
/start@MissRose_bot
Rose
/start@MissRose_bot
Heya :) PM me if you have any questions on how to use me!
Mohamed
/start@MissRose_bot
Rose
/start@MissRose_bot
Heya :) PM me if you have any questions on how to use me!
Maneesh Naik
/start@MissRose_bot
Rose
/start@MissRose_bot
Heya :) PM me if you have any questions on how to use me!
Rose
Heya :) PM me if you have any questions on how to use me!
Blue
Hey Guys.. where did you strengthen your basics of c++ from? Like what you did and which books and courses were actually helpful?