Not a good week at all. More assignments, more tests, more everything lah coming in. More and more work and I can't keep up with them and it's getting to me. My C programming doesn't seem to be getting better and it's scaring me! I can't seem to grasp the idea of argc and argv. I mean I know what they do but I don't know how and when to include them in programming. And I still don't get malloc() and calloc()! And I'm going crazyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy that it's making me sad and angry at the same time the whole time. Breakdown almost everyday and I'm so close to giving up. I'm mentally unhealthy and exhausted. I need help but I think nobody can really help me but myself. =((( Come on, 11 months to go. Please don't give up. You've survived one month. Just 11 more months... 11 more months.
- argc counts the number of arguments.
- argv prints strings. It is an array of pointers to char. Characters, not numbers ok?
- argc is int, argv is char.
- can be char *argv[] or char **argv.
Something to share...
"Ya Allah, sesungguhnya aku mohon kepadaMu tabah dalam menghadapi segala urusan dan kekuatan dalam menerima petunjukMu. Dan aku mohon kepadaMu agar aku dapat mensyukuri nikmatMu, dan membaguskan ibadah kepadaMu. Aku mohon kepadaMu hati yang sihat, lisan yang benar, dan aku mohon kepadaMu sebaik-baik apa yang Engkau ketahui, serta berlindung kepadaMu dari apa saja yang Engkau ketahui, dan Engkaulah Yang Maha Mengetahui yang ghaib."
No comments:
Post a Comment