suggest a c program

Discussion in 'C++' started by SAILOLLA, Dec 7, 2007.

  1. SAILOLLA

    SAILOLLA New Member

    Joined:
    Dec 5, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    hi this sai. i'm very much intersted in c program. plz help out by suggesting a intersting program to write. bye . hau a nice time
     
  2. NewsBot

    NewsBot New Member

    Joined:
    Dec 2, 2008
    Messages:
    1,267
    Likes Received:
    2
    Trophy Points:
    0
    You cannot get the suggestion in the introduce yourself forum and so I have moved to C forum
     
  3. Mahesh.Shetye

    Mahesh.Shetye New Member

    Joined:
    Mar 22, 2008
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    You should try with some simple programs like linked list, sorted list in C.
     
  4. imported_xpi0t0s

    imported_xpi0t0s New Member

    Joined:
    Jul 18, 2008
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    0
    Depends what you're interested in. Checking through my own projects I have a chess solver, a 6502 processor emulator, a polynomial "math" package (e.g. it can add "2x+1" to "3x^2+5x-7"), a brainf__k interpreter, a logic gate simulator (you connect AND, NOR, XOR and other gates together and it shows how they work), a solver for Sokoban, a C compiler for the Z80 (which is a large project including a compiler, linker, z80 emulator, assembler and disassembler), a solver for the game Vexed, a SlitherLink solver, a Slant solver (see Simon Tatham's puzzle collection), a Nurikabe solver, a disassembler for PIC chips, a Monopoly simulator, a Sudoku solver, a Nonograms solver, a Mandelbrot generator, a rocket hack for Quake 2 that made rockets fire as fast as the machine gun, a ray tracer, a 68000 processor emulator and a few others that didn't seem worth mentioning.

    As you see I like writing solvers for logic games. This usually only goes as far as implementing the "rules", I don't usually aim to make it able to solve all possible puzzles.

    The ray tracer is on hold until I can work out how to reflect correctly off a sphere. At the moment when a ray strikes the sphere it just travels away from the sphere perpendicular to the point it struck the sphere.

    The compiler was started because I heard that writing a compiler was a good test of a programmer's ability. Due to the size of the project it's a long way off complete, although the assembler, disassembler and emulator are fairly complete. The emulator is a Windows program that will pick up a z80 machine code file (my own format), along with emulated hardware setup (currently implemented are buttons and 7-segment LED displays) which are accessed with memory mapped IO, and will run or step through the program.
    So I can write a small Z80 program to display a number on the LEDs and increment or decrement it with the buttons.

    Hope this gives you some ideas!
     
  5. hima2013

    hima2013 New Member

    Joined:
    Oct 23, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    student,faculty of engineering
    Location:
    egypt
    i suggest u make a simple programe .. a clock that have hoyrs , minutes and seconds .. display them into the console window , and update it every second .... make the programe at first with any simple way u know , then try to make it using structres , and finally make it using classes ... it would be a perfect start in C and C++ programming
     
  6. danyald

    danyald New Member

    Joined:
    Aug 2, 2010
    Messages:
    39
    Likes Received:
    1
    Trophy Points:
    0
    Home Page:
    http://www.DCOMsoftwares.tk
    Check this 3D game with source code and try to make a game similar to this
    here is the link
    see the address.txt file
     
  7. manu

    manu New Member

    Joined:
    Jan 21, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    write a prog to solve sudoku puzzle
     
  8. rohitphulsunge

    rohitphulsunge New Member

    Joined:
    Jan 11, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Nagpur, Maharashtra, India
    Rohit Phulsunge says-
    May be you can make a program which can work like an array but which consumes smaller space than an array. Now you will argue that link list are already in place, think of using hashing with linked list to create a more optimal sequential search :) :cool:
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice