Opened 16 years ago

Closed 16 years ago

#120 closed enhancement (fixed)

New v.example proposal

Reported by: marisn Owned by: grass-dev@…
Priority: minor Milestone: 6.4.0
Component: Docs Version: svn-trunk
Keywords: example Cc:
CPU: Unspecified Platform: Unspecified

Description

My C programming skills are poor and thus I found v.example not really helpfull. I added some comments to v.example and db related code. I would be happy, if some of GRASS C gurus could have a look at attached v.example version and enhance it to provide best-practise example for new developers.

Attachments (1)

main.c (6.9 KB ) - added by marisn 16 years ago.
New v.example version

Download all attachments as: .zip

Change History (4)

by marisn, 16 years ago

Attachment: main.c added

New v.example version

comment:1 by neteler, 16 years ago

Hi Maris,

I have tried and the patch works. Please submit to SVN...

Markus

comment:2 by marisn, 16 years ago

I *know* that this patch works, but as it's an example how GRASS modules should be coded, it has to be work of art with all best-practises etc. I would be happy, if some of GRASS C guru's could also take a look on v.example after applying this patch.

comment:3 by neteler, 16 years ago

CPU: Unspecified
Platform: Unspecified
Resolution: fixed
Status: newclosed

Submitted to SVN for easier testing.

Markus

Note: See TracTickets for help on using tickets.