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.
201 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.
don't suggest chatgpt, it sucks
shouldn't be that hard
flowchart shouldn't be that hard, for the code you could try to do it yourself, shouldn't be hard
i'm offering advice
just follow learncpp.com
as a human, do you really think your time is well spent explaining such a basic concept that you know AI won't fuck up?
I did and I tried to follow it, and it still gave me an error on the int main part
chatgpt is actually shit
do it yourself
and learn from it
you can learn from chatgpt too?
whats with this stigma against AI in this server?
are you guys mad the chatgpt stole your clout? 😭
I’m just struggling and stressed
look, i had to learn it the hard way, running around to around ass stack overflow questions and wikis 10 years ago,
nowadays, it really doesn't need to be that difficult, chatgpt does all the hard/boring work for you, it is literally a god sent for learning programming, and ofcourse it can be wrong, but finding & correcting it's wrongs is still much faster than constantly searching for things on your own
its like having a personal tutor
you shouldn't throw that advantage away
i'm not telling you to use chatgpt to do your homework, i'm telling you to ask chatgpt to teach you how to do it yourself, and as it isn't a living breathing human, it can give you the time of day that no one on this server will, for the simple fact that everyone is busy with their lives
ofcourse this server is helpful for getting advice from actual humans that are experts on the topic
and where chatgpt doesn't suffice
but don't just throw it out the window because someone online with a insecurity about AI said "ai sucks"
One of the worst personal tutors ever. Imagine having the most confident teacher that doesn't know when they're wrong even when you point it out several times and this teacher also uses extremely bad resources on top of that
Only people who are very experienced with C++ should be using AI because they can tell when it's hallucinating, recommending bad practices, and using code from decades ago
Write out the steps yourself.
Ex:
Ask yourself "how do I accomplish this" at each step.
GPT is just a glorified
"if... else..." machine
Also, keep your ai use to a minimum when you're learning
(I'm not saying don't use it)
hard disagree. It majorly hallucinates when you ask it something very niche and not well known, for something like the OP's question, it is so overtly simple that AI will do just fine and you can obviously learn from it
AI is like an assistant, and if you don't know what you're assistant is telling you, you're boned
Even then beginners shouldn't use AI. If they skip out on learning the fundamentals on their own, they're going to be clueless for everything else
you want proof? here;
thats the whole point I'm making? i'm telling the op to ask AI to teach him it, not give him the solution directly
what?
you're doing everything possible to stop her from learning
i'm making a point here, the point is that AI will not fuck up such a simple thing
like what you're saying
do you think op doesn't have AI access?
what even is this argument of yours?
"ai makes mistakes don't learn from it"
clanker
as if humans dont?
"humans mistake stop learning from them"
😭
yall acting as if I'm telling you to use AI on a nasa project
If she doesn't want to use it, she should have the choice. delete this
AI is literally the best tool out for learning and if you're giving people the advice that you shouldn't use it specifically for learning then you're outright gatekeeping or hallucinating yourself
????? 😭
how am I forcing her hand, and anyways, that message is directed to YOU, not to OP
using AI while learning is literally ruining your entire learning progress
The best tool for learning is a book or a website that people spend lots of hours on making and making sure it has the best and most accurate information
it's way better to read and try to implement yourself without getting your hand held
you can only know if you understand what you're writing if you don't have to use AI at all
guess where AI sources it's information from
mfs acting as if 100% of all what AI says is just hallucinations
GitHub
A congregation of bad code on the internet
public repositories
yea if you use it mindlessly to do YOUR tasks
not what i'm advising is it?
its like saying if a teacher taught you things over text it would cost you brainpower
this is some advanced gatekeeping
im out
Is it mindless to ask it to figure out 10 lines of code for you?
it absolutely is
not what i told the op to do
told op to ask ai to teach how to do it yourself
you know what you suggested, learncpp but worse and less context
learncpp isn't personalized
thats the point
this has
using namespace std;
already teaching bad practices with just this few lines of code
ai is a "personal tutor" whether or not it's wrong
you don't need "personalised" lessons for something like this
which is totally fine for something like an homework assignment, the mentality that a person should write perfect code from day 1 is what keeps people from learning anything ever
if you really need that much help for something so simple you generally shouldn't be coding
ah there it is
elitism
instead of enabling learning and keeping learning as a priority, you're priority is being an elitist about it
keep at it lol
keep throwing buzzwords at me, yo ass aint tuff
buzzwords?
if you're not gonna actually give a counterargument and instead pulling the "you're ...ist!" card just fuck off
hands a legitimate source that teaches someone how to fish
gets called elitist
you're literally just forcing a beginner to take a much harder route because you think "that is the right and cool way, and If I say this, i will look so cool"
that's not what i said
The harder route is the ONLY route in this field
There are no shortcuts if you want a career in this field
you're the one stopping her from learning by posting the literal solution. If most students just saw the solution out of nowhere, do you think they would not copy it word for word and post it?
again, the solution was for you, not for her, it was to make a point moron
you're right bro, this field is for the "REAL programmers" and the "REAL hackers", nun of that pussy shit
Hmm ok?
yall are fucking insane, im out
the irony
Yea see ya keep using robots to help you think
Ok we get @eveyrone
(1 commit this year btw, 4 last year, clearly doesn't have a career in coding)
Lol its pathetic honestly
thank god for the ignore button
anyway
@lament stone use learncpp.com
very helpful
And this
yep
Ok
if you have a library nearby you could get one of those books, they can be helpful if you're a reader
😂
wonderful logic
.
We highly recommend against the use of LLMs and AI assistants because:
for someone who is supposedly has a job of primarily deploying logic, you really dont seem to have much of it
If you think everyone else is wrong in this server about beginners using AI, why don't you make a post in #server-suggestions
Can u do the flowchart part as well
flowchart is easy
do it urself
better to learn
flowchart should be the first step in making code
Checkout lucid or raptor or probably best to use a pen and paper
Isn’t this close to what the flowchart should be?
not really
a flowchart is like this
Lots of lines
this but bigger and everything that happens in the code
Yep
A chart of how your program flows
It’s still giving me an error on cout << “ Enter passcode” ;
Now gave me another error on cin >> userPass;
Maybe there's a pattern
Finding out what cin and cout are could lead you to the answer
Take a gander at chapter 1.5 in learncpp
Though you should read the previous stuff as well
It seems like you arent using std:: namespace for cin and cout
Checkout the second line to the 5th line in the error message box it tells you the suggested alternative
This is the other error
Did you declare the variables? Can you send your entire screen with all the code in it?
I don’t know im about to get frustrated already
Part of the process the more u get frustrated now the less you will get frustrated later
Here’s the entire code
So, you didn't declare
And
You're missing a {
There's also another issue but you should really figure that one out yourself
It has something to do with the attempts
Can you draw it out so I know please cause I’m still confused
In this code, what is passcode?
Is it a number
A string
A bool
The computer doesn't know and you need to tell it
AI is pinned to task bar and anime in background 
I get it
What you should do is follow the program line by line keep track of the variables with a pen and paper because like soapy said other than the compilation errors there is a runtime bug with your program. It will be in a loop forever
Also tries seems to be ambiguous with attempts so you can get rid of tries
You got this dont give up if you have a passion for programming you will fight with all your might through these moments
@lament stone
Please don't delete forum posts. They can be helpful to refer to later and other members can learn from them. In the future you can use !solved to close a post and mark a post as solved.
I run the code and it shows blank cause I don’t know what I’m doing wrong
Show your code
Like the output
Yea and the code itself
Now it shows enter passcode
Yes and it was correct
Ok so it works?
I need help with the flowchart part and the pseudo code part

Saying stuff this vague is not good in this server. People are much more willing to help if you try it on your own and when you’re stuck on a specific part ask about that
Treat it the same as when you’re going to a TA or a teacher for help.
!warn @dry sorrel Telling users to just ask chatgpt isn't really acceptable here. We'd much prefer they ask here then possibly get incorrect information from an LLM without knowing enough to know better. You're free to not engage with a question if you don't feel like answering it. More importantly, you've completely derailed this channel into an AI debate instead of actually helping OP with their question, and that's also super not ok. Simiarly, resorting to insults and personal attacks is toxic and not acceptable.
henry was warned
!warn @rancid yew Please don't escalate conflicts here with insults and hostility
rrramble was warned
Sorry, wont again 😄
Dude... this small code was really hard to code?
Was that the solution you wanted?
He's not the op
There’s an error here
Did you include the header for time and srand?
At the top of the file #include