Anonymous
Anonymous
Artöm
Also consider compiling with -fsanitize=address or -fsanitize=undefined and run it again with same input
Javi
ok give me 2 mins
I think that your main problem is that you consider that programming is just writing code
Javi
It isn't
Javi
Writing code is maybe 40-50% of programming
Javi
You missed all the requirements, data flow, architecture part of programming
Javi
That's why your statements are so confusing
Javi
Try to plan what your program will do and what it will look like before you write the first line of code
Anonymous
this was more of a test to see if i can used what i learnt up until this part , but i havent learnt about data flow , architecture yet
Anonymous
so if i ask for an int input and they put a character it does some weird ish
Anonymous
but working on a solution as we speak
Anonymous
Javi
I don't know what your program is meant to do. You should first write down a simple flow of information (what goes in, how it is changed and what goes out), then identify the different steps that your program has to take, define what individual actions are needed and then which classes/modules can accomplish those actions and how they interact to each other.
Then you can start coding.
Anonymous
I am a new in this field want to learn programming
Have less time I want to learn c , c++ within a month
Can you please help me out with the proper study material
klimi
Proper study material?
klimi
We usually just say people to use google....
Anonymous
Need special study material
Anonymous
To complete it within a month
Anonymous
Both c & c++
Dima
not possible
Anonymous
Actually I have just a month for this if I devote everyday I believe it's possible
klimi
It is possible
Dima
you need to go deeper, not just preparing for exams or whatever
Anonymous
So I need the proper study material & some of your help
klimi
Do you know other programing language?
Dima
this is silly idea to get it in one month
Anonymous
Not for exams for job
Dima
lol!
klimi
klimi
I will have to do that too
Anonymous
So what I can manage
Dima
what kind of job it must be to accept someone with that experience
Dima
intern stuff?
Anonymous
Don't demotivate me
Dima
Is it for intern-job?
Anonymous
Job
klimi
Anonymous
Actually you know what I have to get to other languages further
Dima
I am not trying to demotivate but no one needs whoever with X months of experience
Dima
you better just practice and do stuff for yourself, but after go for a work
Anonymous
Within 5 months I have to complete 4 languages
Dima
your software quality will not be acceptable with that experience amount, I saw this and I understand how it reflects on software quality
Dima
you better practice instead
Anonymous
You can't "complete" a language
Dima
indeed
klimi
klimi
Lacking point
Dima
Dima
Anonymous
Yes I know but seriously I have less time
klimi
Anonymous
Please don't make fun
Dima
it’s funny actually
Dima
I told ya
Dima
practice now instead
Anonymous
Please if you can please help me out
Dima
don’t rush for this
Dima
Dima
Anonymous
Aidar
klimi
You will spend a big amount of time not getting the right answer
Anonymous
😞
klimi
It is not time efficient to ask others to explain it to you on internet
Anonymous
Okay I thought I'll get some help but 😞
klimi
You can probably get some teacher or someone who could teach you 1o1
klimi
Dont be mad at me, I am actually trying to help yku
Aidar
Anonymous
Java python & c++ in 5 months
Anonymous
😞
Start with arrays in cpp. Find a site where there is a code example. Alter it a bit and take a note of result. Practice more variation by yourself. Use Ubuntu or a Linux distracted and not windows for programming.
Aidar
Anonymous
Distro
klimi
Try to understand the basic concepts not just how to use it