Thread: starting coding again! tips please !

  1. #1
    Registered User
    Join Date
    Mar 2019
    Posts
    5

    starting coding again! tips please !

    Hey so its been nearly about 5 years for me since i have done any serious coding using C.

    Lately i have been thinking about making a comeback, because i found it alot of fun. I originally studied during college for an electronics tech program. I studied numbers, arrays, and points, file I/O.

    I never made it into more advanced electronics programming like VHDL which would have been technology and more into bachelor / masters.

    Anyway , to sum it up i want to start again and first i need to pick an app to practice on... anyone could perhaps recommend me, in college i used visual studio and i have heard codeblocks could be good.

    Furthermore, maybe someone could send me some basic text files for c codes i could practice and manipulate.

    Eventually plan to make a code with a menu system with for tracking inventory. With saving and writing to disk option.

    Sorry i am all over the place, looking forward to hearing from some of you... or any of you!

  2. #2
    TEIAM - problem solved
    Join Date
    Apr 2012
    Location
    Melbourne Australia
    Posts
    1,876
    Code blocks is good - I use it on Windows 10

    I've always found the best way to get good at a programming language is to go to a forum (like this) and fix other peoples code.


    Start simple: Something like a converter from fahrenheit to celcius -

    You may want to go through a tutorial to get you started - C Tutorial - Learn C - Cprogramming.com
    Fact - Beethoven wrote his first symphony in C

  3. #3
    TEIAM - problem solved
    Join Date
    Apr 2012
    Location
    Melbourne Australia
    Posts
    1,876
    I should also mention Project Euler - It is a great way to polish your programming and learn some algorithms
    Fact - Beethoven wrote his first symphony in C

  4. #4
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    27,737
    Quote Originally Posted by gabeperron
    in college i used visual studio and i have heard codeblocks could be good.
    They are both IDEs that come bundled with different compilers. You could go with what you're familiar with, though you might need a newer version of Visual Studio to have a C compiler that is more C99 compliant.

    Quote Originally Posted by gabeperron
    Furthermore, maybe someone could send me some basic text files for c codes i could practice and manipulate.
    You could start with the good old "hello world" program, add in some basic standard I/O, and then implement some of the common introductory searching and sorting algorithms and data structures for practice. Reading a file of a flexible number of records into a dynamic array could help you revise malloc/realloc/free; creating and manipulating linked lists and binary trees could be good to get your head around pointers again.

    Quote Originally Posted by gabeperron
    Eventually plan to make a code with a menu system with for tracking inventory. With saving and writing to disk option.
    Learn to use SQLite: it will provide inspiration for your own future C API design and push you learn about SQL and relational database design if you don't already know them.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Starting a large project, tips?
    By Alpo in forum General Discussions
    Replies: 28
    Last Post: 10-27-2014, 01:59 PM
  2. Replies: 9
    Last Post: 03-20-2009, 05:22 PM
  3. Tips
    By laughman in forum C++ Programming
    Replies: 5
    Last Post: 10-01-2002, 11:48 AM
  4. A few tips please...
    By gems in forum C++ Programming
    Replies: 4
    Last Post: 04-11-2002, 02:28 PM

Tags for this Thread