🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c.moderated
Article #2371

ada-like naming scheme?

#2371
From: Justin C Lloyd
Date: Sun, 24 Mar 1996 17:41
17 lines
973 bytes
Does anyone know how to do write a .c file so that you have to include the
name of c file in any function calls, similar to ada?

In ada, for instance:

   ada.text_io.get(x);

means there is a collection of procedures named ada (a package), and in that
one named text_io, and in the text_io collection, one called get.

Maybe a way to do this by putting everything in a struct? For instance...

   float_sort.quicksort(float_array);
   integer_sort.quicksort(int_array);
   integer_sort.selection_sort(int_array);

--JcL
Technical Details
Message-ID: <4j41gd$nij@solutions.solon.com>
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
From: lloyd@upsilon.cs.fsu.edu (Justin C Lloyd)
Newsgroups: comp.lang.c.moderated,comp.lang.c
Subject: ada-like naming scheme?
Date: 24 Mar 1996 11:41:33 -0600
Organization: FSU Computer Science Department
Sender: clc@solutions.solon.com
Approved: clc@solutions.solon.com
Message-ID: <4j41gd$nij@solutions.solon.com>
NNTP-Posting-Host: solutions.solon.com
X-Newsreader: TIN [version 1.2 PL2]