Friday, May 21, 2010

I know a little bit of C programming, and I've been studying it for a few months now...since april!?

In june, I took a long break, since August(in this time...never opened a c book or wrote a c program!) And I hated it after that...I felt like I lost someone I love! Now, if you do not practice a programming language for a while, do you forget?





And one more question...give me an idea for a useful console C program! I am out of ideas...don't know what to do!

I know a little bit of C programming, and I've been studying it for a few months now...since april!?
It can be difficult to remember the details when it comes to a programming language of any kind if you haven't used it for a while, so don't sweat that problem. All you have to do is find a review on 'C' programming and you'll be fine.





I wrote 3 interesting and informative programs for the console when I was learning and reviewing C++ coding. The first one was a pretty simple application I used to replicate Pascal's Triangle. The user was asked to input some data and the program would output the corresponding data in the triangle.





The 2nd Program I wrote was pretty fun, because I was learning to read and write binary, hex, and Octal in a computer science class. I decided to write a console program that could automatically convert the numbers to their corresponding base-n digits, and even used it during a test! How cool!





The 3rd Program was far more complicated, and was written in both C++ and Java. I was taking "Intro to Java" at Cabrillo College in Aptos, CA, and we had to write a program of our own making for the final project. It was funny, because I made a text-based console game with a controllable character, (quite literally, the character was the letter 'a'), and I ran the game in it's own thread, updating the screen every 10 seconds. The game used character identification for collision detection, and allowed the player to maintain an inventory of gold, weapons, and useful tools. What was funny about this is that I didn't realize the application had to be graphical, not console, and so with two days left I was forced to convert everything over to bitmaps. Unfortunately, this created a major problem with collision detection, and I wasn't familiar enough with threads, so the final project wasn't what it was supposed to be.





Anyhow, it is easy to forget a language, but what you should never forget is how to solve a problem in pseudocode. As long as you know how to write an algorhythm, it will always just be a matter of time before you get the program you want. Of course, I'm sure you already know that.





Good luck with this stuff, and feel free to ask for help on my site, listed below.


-Andy
Reply:No Problem. I'm always happy to help. Report It

Reply:Yes.





www.bloodshed.net





Download free


DevC++

lotus flower

No comments:

Post a Comment