473,387 Members | 1,512 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

C Projects

Hi folks!

I'm new to the C language. I can write it (basic things) and use the
compiler and stuff, but to get more experience in the C language I
need something to work on or with.

Does someone has an idea for inspiration or such?

Thank you
Sep 24 '08 #1
7 1618
su******@gmail.com said:
Hi folks!

I'm new to the C language. I can write it (basic things) and use the
compiler and stuff, but to get more experience in the C language I
need something to work on or with.

Does someone has an idea for inspiration or such?
"The C Programming Language", 2nd edition, by Kernighan and Ritchie - lots
of exercises.

--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
Sep 24 '08 #2
su******@gmail.com wrote:
I'm new to the C language. I can write it (basic things) and use the
compiler and stuff, but to get more experience in the C language I
need something to work on or with.

Does someone has an idea for inspiration or such?
How about a little recogniser and executer for arithmetic expressions?

It has the advantage that you can start with something very basic,
such as single-letter names and values and only a couple of operators,
and grow it as you explore.

And it's easy to write tests for.

--
'It changed the future .. and it changed us.' /Babylon 5/

Hewlett-Packard Limited registered office: Cain Road, Bracknell,
registered no: 690597 England Berks RG12 1HN

Sep 24 '08 #3
On 24 sep, 14:57, Richard Heathfield <r...@see.sig.invalidwrote:
supth...@gmail.com said:
Hi folks!
I'm new to the C language. I can write it (basic things) and use the
compiler and stuff, but to get more experience in the C language I
need something to work on or with.
Does someone has an idea for inspiration or such?

"The C Programming Language", 2nd edition, by Kernighan and Ritchie - lots
of exercises.

--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
Well thank you, but I have that book. But, I mean in real life, real
projects.
Sep 24 '08 #4
su******@gmail.com said:
On 24 sep, 14:57, Richard Heathfield <r...@see.sig.invalidwrote:
>supth...@gmail.com said:
Hi folks!
I'm new to the C language. I can write it (basic things) and use the
compiler and stuff, but to get more experience in the C language I
need something to work on or with.
Does someone has an idea for inspiration or such?

"The C Programming Language", 2nd edition, by Kernighan and Ritchie -
lots of exercises.
Well thank you, but I have that book.
Great!
But, I mean in real life, real projects.
Obviously it's up to you. But if you set yourself the goal of doing every
exercise in the book, you will find it far more challenging than you might
have guessed, and it will teach you lots about C that you didn't realise
you didn't know.

--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
Sep 24 '08 #5
<su******@gmail.comwrote in message
>
Well thank you, but I have that book. But, I mean in real life, real
projects.
It's harder than you might think to comply. The problem is that if a program
is relatively simple, and generally useful, there's probably a version in
existence somewhere. There are lots of useful and fairly simple programs - I
write them all the time - but they are too tied to protein folding to be of
much use.

The exception is games. You can always think of a new game.

How about an "ininite dungeon". I'm currently working on Perlin noise
generators. Using Perlin noise plus a regular pseud-random-number generator,
you ought to be able to come up with a dungeon for a character to move about
in that doesn't repeat (except in the cycle of the RNG) and looks
reasonable. For instance you can have wooden floors generated by Perlin
textures. The walls and room layout you'll have to think about. Monsters and
treasure can be placed just at random Cartesian co-ordiantes. Keep the fight
fairly simple - just three of four types of monsters and you crash into
them. Look up "rogue" to get the idea.

--
Free games and programming goodies.
http://www.personal.leeds.ac.uk/~bgy1mm

Sep 24 '08 #6
su******@gmail.com wrote:
On 24 sep, 14:57, Richard Heathfield <r...@see.sig.invalidwrote:
>supth...@gmail.com said:
>>Hi folks!
I'm new to the C language. I can write it (basic things) and use the
compiler and stuff, but to get more experience in the C language I
need something to work on or with.
Does someone has an idea for inspiration or such?
"The C Programming Language", 2nd edition, by Kernighan and Ritchie - lots
of exercises.

--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999

Well thank you, but I have that book. But, I mean in real life, real
projects.
Take something you enjoy.
I once liked fractals.
Anytime Scientific American had something about it in
the recreation articles, I dropped the periodical halfway
trough, to attack my computer and translate it into a program.
Any subject, football, basketball, collecting things, any at
all can be used to think up some useful program, with the
added value of being about something you enjoy.
Those examples in books have been produced by somebody who did
his level best to find totally useless, uninteresting program examples.
Sep 24 '08 #7
Thank you all, I am thinking about a game or something like that, or
an own OS (just a small one, for fun) thank you all!

Also, I think comp.lang.c is a good way to start C and learn from the
experts.
Sep 25 '08 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Brett C. | last post by:
For my thesis (once the bloody thing stops throwing bugs at me) I am going to need to collect stats on the frequency that atomic types in local variables are applied to various opcodes and methods....
1
by: Adriaan Renting | last post by:
I think the point you want to make is that Python needs vastly less lines of code as a similar application written in C++. I think Python might on average be 50-60% of comparable C++ code, but not...
5
by: Tinius | last post by:
I have created a class which I wish to reuse amongst several projects. But each time I Add the class to a new project, it creates a copy of that class in the folder of the new project. This means...
16
by: Robert W. | last post by:
I'm building a solution that has 1 component for the Desktop and 1 component for the Pocket PC. (Though this isn't a mobile question). I have a data library that will be shared on both platforms....
10
by: Gerben van Loon | last post by:
Hi there, hope someone can help me on this: I'm planning to deploy several ASP.NET projects to a production server. Normally I used the "Project / Copy project" option in VS.NET, but to this...
3
by: epigram | last post by:
I've been creating some toy ASP.NET apps in an effort to understand the technology. I've something odd with regards to project/solution creation. If you create a new asp.net application, it...
0
by: AC [MVP MCMS] | last post by:
I have a full blown VS.NET 2003 solution with a handful of library assemblies, two web projects, and a few web service projects. The entire solution is in VSS. Recently our build server went...
1
by: eagle | last post by:
I have 2 asp.net projects that I have build together as one solution, sharing procedures, etc. One project is for staff members, the other is for admin members. Pretty typical, where the...
1
by: =?Utf-8?B?RG91Zw==?= | last post by:
We have a very large code base and use the partitioned solution model for development and deployment. The problem is that in .NET 2005 the setup projects cause severe performance problems when...
3
by: Glenn | last post by:
My current classic-ASP site has users, projects, roles and the 2.0 membership looks like a perfect fit, but I'm having trouble finding examples of how to have users that belong to different...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.