Thread: Want to dive into some serious C programming

  1. #1
    Registered User
    Join Date
    Dec 2012
    Posts
    19

    Want to dive into some serious C programming

    Hello,
    I have learnt the basics of C programming.
    Variables,arrays,pointers,structions,file and console i/o etc.

    So i thought i would just download a android linux kernel and start reading it to understand how it works. Doing this made me feel i dont know C programming very well.
    It is like i just know to write small programs like calculator, tax calculator, small word games like "The stone is falling on you from the hill above, what will you do?
    1. Run
    2. Jump"
    and then the game goes on .
    But theres nothing much i did rather than that.

    Would you guys recomend something that will improve my skills? also advice me something that will help me get started understanding the codes in the kernel?(the codes in kernel are real tough to understand, almost 2 hours i opend up the files and when i didnt understand how it was i opened all the headers and got more confused )

    As of now learning a bit of windows 32 bit application programming.(it is the last chapter in the C programming book i read)

  2. #2
    Registered User
    Join Date
    Nov 2011
    Location
    Saratoga, California, USA
    Posts
    334
    Linux is a BIG package to jump to. From what you listed, Data Structures would be the next traditional step.

    If you're really interested in Linux and OS's, you could check out "Understanding the Linux Kernel". There's also "Advanced Programming in the Unix Environment". Hard to do better than W. Stevens.

  3. #3
    Registered User
    Join Date
    May 2012
    Posts
    505
    It's harder than it was.
    When I learnt C, you had a character raster as a DOS screen. Once you learnt to write a char to x, y, you could build programs on top of that.
    Now you've got to open windows, get a graphics canvas, and so on. The learning curve is much steeper.

    There's a need for a program that creates a sequence logo. They are used for DNA and proteins, but they could also be used in other applications. It consists of characters of different heights, with the heights representing the weight of the characters at that position.

    If you go onto my website, you'll find a program called data density, which contains files called gif.c and rbtree.c. These allow you to read and write GIF files. If you go onto the Matlab website, you'll find a sequence logo program, by me, in Matlab.

    You could create your own version in C, as a pure ANSI C program, no Windows functions at all, then maybe extend it to non-biological applications, like scores for a quiz game (height of characters represents each team's score in a section of the game).
    I'm the author of MiniBasic: How to write a script interpreter and Basic Algorithms
    Visit my website for lots of associated C programming resources.
    https://github.com/MalcolmMcLean


  4. #4
    Registered User
    Join Date
    Dec 2012
    Posts
    19
    Quote Originally Posted by Tclausex View Post
    Linux is a BIG package to jump to. From what you listed, Data Structures would be the next traditional step.

    If you're really interested in Linux and OS's, you could check out "Understanding the Linux Kernel". There's also "Advanced Programming in the Unix Environment". Hard to do better than W. Stevens.
    Data structures ??? Can u throw a lil light on that ? .


    Quote Originally Posted by Malcolm McLean View Post
    .....
    If you go onto my website, you'll find a program called data density, which contains files called gif.c and rbtree.c. These allow you to read and write GIF files. If you go onto the Matlab website, you'll find a sequence logo program, by me, in Matlab.

    You could create your own version in C, as a pure ANSI C program, no Windows functions at all, then maybe extend it to non-biological applications, like scores for a quiz game (height of characters represents each team's score in a section of the game).
    Thankyou , sequence logo program means ? I will check out as soon as I have access to my pc . On bed its 1 am

  5. #5
    Registered User
    Join Date
    May 2012
    Posts
    1,066
    Quote Originally Posted by mhrsolanki2020 View Post
    Data structures ??? Can u throw a lil light on that ? .
    Data structure - Wikipedia, the free encyclopedia

    Bye, Andreas

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 12-11-2011, 04:25 PM
  2. code for creating a folder in your C:\ dive
    By jamietrent in forum C# Programming
    Replies: 4
    Last Post: 09-13-2009, 08:43 AM
  3. donut sales take a dive
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 24
    Last Post: 07-03-2004, 01:34 PM
  4. Dive into C+ ??
    By new_newb in forum C++ Programming
    Replies: 5
    Last Post: 05-18-2003, 06:37 PM