Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.

    GIF shows where to locate </> in the thread and or post editor toolbar.
    To learn more about how to use our BBCode feature, review our "How to post your code into threads" here.

    Thank you, Code Forum.

Im so depressed i wanna cry ..

justme

Coder
I started to learn C and i feel so insecure and depressed because i dont understand C programming i mean it feels like im missing something like i need to start all over again from the begging of the code learning . i can sit on some question for hours and still couldn't even write a code properly almost never .
And i would really need help with it maybe if anyone could recommended me on anything good on youtube i could see or some website i could study from it ?
I will really appreciate it ..
 
I started to learn C and i feel so insecure and depressed because i dont understand C programming i mean it feels like im missing something like i need to start all over again from the begging of the code learning . i can sit on some question for hours and still couldn't even write a code properly almost never .
And i would really need help with it maybe if anyone could recommended me on anything good on youtube i could see or some website i could study from it ?
I will really appreciate it ..
Hi there,

A simple youtube search brings up hundreds of videos: "C Programming for absolute beginners"

If you're looking for something more specific:
To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
 
Hello there, @justme.

I'll preface by saying that I felt the same way before when starting off. Programming is daunting: you see what other people are building, tell yourself that you need to get as good as them and before you know it, you're crushing your self-esteem and enjoyment for something you wish to improve in. It's important that you realise that many famous programmers did not get to where they are now without lots of learning and practice, and you must remember that they have years of experience behind them too. You're only a beginner, so do not worry about the skills of others and compare yourself to them - this is easier said than done, but with a bit of training of your mind, it can be done(meditation?)

You need to have a bit of creativity when it come to programming: what do you want to build? You can make anything, just as long as you have a bit of creativity in you combined with your knowledge of the language. Inspire yourself: once you have been learning C for some time, look at simple projects done by others on sites like GitHub(which has some good educational resources) and analyse the way it has been laid out and written - functions written, libraries/APIs used, etc.

You also must gain practice with the language: go onto any website which has exercises or find a programming book which has exercises(I'd recommend the K&R C book, but I think, from my own experience with it, it's for more intermediate level and not fresh beginners - but it's been a while since I last properly read it so I may be wrong), and just do the exercises. It's like studying for say, maths: just do the questions. And if you make a mistake, take note and learn from it. Tutorials are a good way to get an idea of how to structure a program, get set up and start writing, however do not rely on them for actual projects because nobody will be there to guide you and if somebody finds out you have copied from a tutorial and claimed it as your own, you will be setting yourself up for a lot of bother.

Avoid getting into the cycle of learning the same thing over and over again - that is insanity and nobody likes that. Using the same analogy with studying for school subjects: if you get stuck on a question, move on. Obviously, don't move on too far or else you'll get really stuck. And if it needs to be done, take a break for a while and then come back to it: go for a walk, cook a healthy meal, go for a walk with your dog, watch your favourite TV show or read your favourite book, go for a walk with your dog whilst reading your favourite book(maybe don't go that far, you may walk into a lake and destroy your favourite book!) Sometimes too, our ambitions get in the way of learning - this was the problem I had when I started off. They get in the way and so your ego makes you think you know and understand, but in truth, you don't. Deflate your ego, drop the big dreams of running the next [big tech company here] - it ain't happening, so get your head stuck into your computer screen and get typing!

Lastly, if your depression/insecurities begin to get severe, please step away and consider if programming is really for you. A hobby/skill should not cause a person to suffer from mental illness. If you do step away and you find your problems still lingering, please go and seek out a doctor if you can for your own sake, as there may be more problematic issues underneath.

I hope I have helped you and I send you my best wishes! 🙂
 
Hello there, @justme.

I'll preface by saying that I felt the same way before when starting off. Programming is daunting: you see what other people are building, tell yourself that you need to get as good as them and before you know it, you're crushing your self-esteem and enjoyment for something you wish to improve in. It's important that you realise that many famous programmers did not get to where they are now without lots of learning and practice, and you must remember that they have years of experience behind them too. You're only a beginner, so do not worry about the skills of others and compare yourself to them - this is easier said than done, but with a bit of training of your mind, it can be done(meditation?)

You need to have a bit of creativity when it come to programming: what do you want to build? You can make anything, just as long as you have a bit of creativity in you combined with your knowledge of the language. Inspire yourself: once you have been learning C for some time, look at simple projects done by others on sites like GitHub(which has some good educational resources) and analyse the way it has been laid out and written - functions written, libraries/APIs used, etc.

You also must gain practice with the language: go onto any website which has exercises or find a programming book which has exercises(I'd recommend the K&R C book, but I think, from my own experience with it, it's for more intermediate level and not fresh beginners - but it's been a while since I last properly read it so I may be wrong), and just do the exercises. It's like studying for say, maths: just do the questions. And if you make a mistake, take note and learn from it. Tutorials are a good way to get an idea of how to structure a program, get set up and start writing, however do not rely on them for actual projects because nobody will be there to guide you and if somebody finds out you have copied from a tutorial and claimed it as your own, you will be setting yourself up for a lot of bother.

Avoid getting into the cycle of learning the same thing over and over again - that is insanity and nobody likes that. Using the same analogy with studying for school subjects: if you get stuck on a question, move on. Obviously, don't move on too far or else you'll get really stuck. And if it needs to be done, take a break for a while and then come back to it: go for a walk, cook a healthy meal, go for a walk with your dog, watch your favourite TV show or read your favourite book, go for a walk with your dog whilst reading your favourite book(maybe don't go that far, you may walk into a lake and destroy your favourite book!) Sometimes too, our ambitions get in the way of learning - this was the problem I had when I started off. They get in the way and so your ego makes you think you know and understand, but in truth, you don't. Deflate your ego, drop the big dreams of running the next [big tech company here] - it ain't happening, so get your head stuck into your computer screen and get typing!

Lastly, if your depression/insecurities begin to get severe, please step away and consider if programming is really for you. A hobby/skill should not cause a person to suffer from mental illness. If you do step away and you find your problems still lingering, please go and seek out a doctor if you can for your own sake, as there may be more problematic issues underneath.

I hope I have helped you and I send you my best wishes! 🙂
i really appreciate your caring and advice, but im doing it as a part of the degree i feel like i started C learning with a bad start and the fact that im comparing myself to others that has learned this program in the past or any other programing made me feel kinda bad and worried about myself , because i feel like im not doing well and others got that easiley but i know its bad comparing myself to othrs and i only need to focuse on mhy self . anyway thank you so much for your adviced !
 
If you really need to compare yourself to others, keep in mind that they have likely struggled as well ! C does not come easily. I remember having a hard time with it in the beginning, especially pointers and I/O. It's like that with any skill, when you look up to others who make a breeze of it you easily get frustrated. There's nothing you can do but persevere. You have the immense benefit of living in the internet era, where great tutorials of any level are abundant. A luxury that early adapters like me never had. So by all means don't complain 😁 Do as many beginner's tutorials as you can get your hands on, even on subjects you have already covered. As with piano playing, a little repetition will not do any harm. It helps to solidly hammer things down, and give you the feeling you are getting somewhere.
 
i really appreciate your caring and advice, but im doing it as a part of the degree i feel like i started C learning with a bad start and the fact that im comparing myself to others that has learned this program in the past or any other programing made me feel kinda bad and worried about myself , because i feel like im not doing well and others got that easiley but i know its bad comparing myself to othrs and i only need to focuse on mhy self . anyway thank you so much for your adviced !
You're very welcome.

Let me say too that you're not alone in being in a course and running in a bad start. I mean, when I started physics in high school, I was incredibly bad at it: a lot of the material flew over my head and there were plenty of questions I struggled with. You will catch up eventually, but just now, you need to keep going. If you get stuck, ask the teacher for help with any questions you may have or for any guidance on your problem - the only way is up! Many people taking the course too will most likely be beginners at programming too with no prior experience with any other language(or they only know some basic HTML/CSS stuff, which isn't exactly programming in a sense), so you're most definitely not alone.

@cbreemer's advice is true too: like with a piano piece, just keep on repeating the same bar over and over again until you have got it right. Keep writing your own functions until you know how to write good functions. Keep mucking about with standard library functions so that you know how they work, etc.

I hope you do take my advice into consideration, especially with taking frequent and regular breaks - to add onto that: eat a healthy, balanced diet(vitamins, minerals, and plenty of calories are necessary to keep the brain functioning and your mind awake); get plenty of rest each night(and if you need to, take a nap midday); get plenty of exercise(even walking everyday will do); and do not cut off contact with anybody, for loneliness is very detrimental to your mental and physical wellbeing. A lot of the time, it's your lifestyle that can hinder you from progress, so find a lifestyle that suits you but does not hinder your learning, and get climbing!

Best of luck again!
 

Buy us a coffee!

Buy me a coffee.
Back
Top Bottom