sorry if this is OT, not sure if it is since it is a C++ q, sort of :).
I am working on a C++ library where all the files use the 8.3 convention. I
am now adding some collection classes. The typical library convention for
naming files is something like:
header ==> sfxmem.h
source ==> memory.cpp
where multiple memory classes are thrown into.
if the source spans multiple files, it is something like:
header ==> sfxfiles.h
source ==> files1.cpp, files2.cpp, etc.
obviously for my collection classes I would follow this convention with:
header ==> sfxcoll.h
but I am having a difficult time (yes I am obsessive compulsive) coming up
with what I think is a normal looking .cpp name.
these are some examples I have come up with:
collect.cpp
collect1.cpp
collect2.cpp
coll1.cpp
coll2.cpp
coll.cpp
colls.cpp
collectn.cpp
this last one seems kind of too cryptic... the other filenames have names
like apihook.cpp, menu.cpp, split.cpp, toolhelp.cpp, ie. none of the other
source files use something cryptic like that. and coll/colls... you look at
that, you have no dang clue what it is.
So I am kind of leaning towards "collect.cpp" right now, but that kind of
bothers me since it sounds like its collecting something rather then
collections of something.
any other ideas? 7 4077
"Nobody" <no****@cox.net> wrote in message
news:JzqQb.10950$bg1.4895@fed1read05... sorry if this is OT, not sure if it is since it is a C++ q, sort of :).
I am working on a C++ library where all the files use the 8.3 convention.
I am now adding some collection classes. The typical library convention for naming files is something like:
header ==> sfxmem.h source ==> memory.cpp
where multiple memory classes are thrown into.
if the source spans multiple files, it is something like:
header ==> sfxfiles.h source ==> files1.cpp, files2.cpp, etc.
obviously for my collection classes I would follow this convention with:
header ==> sfxcoll.h
but I am having a difficult time (yes I am obsessive compulsive) coming up with what I think is a normal looking .cpp name.
these are some examples I have come up with:
collect.cpp collect1.cpp collect2.cpp coll1.cpp coll2.cpp coll.cpp colls.cpp collectn.cpp
this last one seems kind of too cryptic... the other filenames have names like apihook.cpp, menu.cpp, split.cpp, toolhelp.cpp, ie. none of the other source files use something cryptic like that. and coll/colls... you look
at that, you have no dang clue what it is.
So I am kind of leaning towards "collect.cpp" right now, but that kind of bothers me since it sounds like its collecting something rather then collections of something.
any other ideas?
What's wrong with collection.cpp ?
I said I wanted to stick to the 8.3 convention that the rest of the library
uses.
"Jumbo @uko2.co.uk>" <pcr1000011<nospam> wrote in message
news:10***************@news.minx.net.uk... "Nobody" <no****@cox.net> wrote in message news:JzqQb.10950$bg1.4895@fed1read05... sorry if this is OT, not sure if it is since it is a C++ q, sort of :).
I am working on a C++ library where all the files use the 8.3
convention. I am now adding some collection classes. The typical library convention
for naming files is something like:
header ==> sfxmem.h source ==> memory.cpp
where multiple memory classes are thrown into.
if the source spans multiple files, it is something like:
header ==> sfxfiles.h source ==> files1.cpp, files2.cpp, etc.
obviously for my collection classes I would follow this convention with:
header ==> sfxcoll.h
but I am having a difficult time (yes I am obsessive compulsive) coming
up with what I think is a normal looking .cpp name.
these are some examples I have come up with:
collect.cpp collect1.cpp collect2.cpp coll1.cpp coll2.cpp coll.cpp colls.cpp collectn.cpp
this last one seems kind of too cryptic... the other filenames have
names like apihook.cpp, menu.cpp, split.cpp, toolhelp.cpp, ie. none of the
other source files use something cryptic like that. and coll/colls... you look at that, you have no dang clue what it is.
So I am kind of leaning towards "collect.cpp" right now, but that kind
of bothers me since it sounds like its collecting something rather then collections of something.
any other ideas? What's wrong with collection.cpp ?
"Nobody" <no****@cox.net> wrote in message
news:XbrQb.11013$bg1.1442@fed1read05... I said I wanted to stick to the 8.3 convention that the rest of the
library uses.
ok sorry.
"Jumbo @uko2.co.uk>" <pcr1000011<nospam> wrote in message
news:10***************@news.minx.net.uk... "Nobody" <no****@cox.net> wrote in message news:JzqQb.10950$bg1.4895@fed1read05... sorry if this is OT, not sure if it is since it is a C++ q, sort of :).
I am working on a C++ library where all the files use the 8.3
convention. I
[snip]
these are some examples I have come up with:
collect.cpp collect1.cpp collect2.cpp coll1.cpp coll2.cpp coll.cpp colls.cpp collectn.cpp
[snip]
What's wrong with collection.cpp ?
Um, perhaps the fact that you apparently cannot count? :-)
-Mike
"Mike Wahler" <mk******@mkwahler.net> wrote... "Jumbo @uko2.co.uk>" <pcr1000011<nospam> wrote in message news:10***************@news.minx.net.uk... "Nobody" <no****@cox.net> wrote in message news:JzqQb.10950$bg1.4895@fed1read05... sorry if this is OT, not sure if it is since it is a C++ q, sort of
:). I am working on a C++ library where all the files use the 8.3 convention. I
[snip] these are some examples I have come up with:
collect.cpp collect1.cpp collect2.cpp coll1.cpp coll2.cpp coll.cpp colls.cpp collectn.cpp
[snip]
What's wrong with collection.cpp ?
Um, perhaps the fact that you apparently cannot count? :-)
Aw, come on, it could be "Jumbo" never heard of 8.3 convention...
"Victor Bazarov" <v.********@comAcast.net> wrote in message
news:ASCQb.144749$na.232583@attbi_s04... "Mike Wahler" <mk******@mkwahler.net> wrote... "Jumbo @uko2.co.uk>" <pcr1000011<nospam> wrote in message news:10***************@news.minx.net.uk... "Nobody" <no****@cox.net> wrote in message news:JzqQb.10950$bg1.4895@fed1read05... > sorry if this is OT, not sure if it is since it is a C++ q, sort of :). > > I am working on a C++ library where all the files use the 8.3
convention. I
[snip]
> these are some examples I have come up with: > > collect.cpp > collect1.cpp > collect2.cpp > coll1.cpp > coll2.cpp > coll.cpp > colls.cpp > collectn.cpp
[snip]
What's wrong with collection.cpp ?
Um, perhaps the fact that you apparently cannot count? :-)
Aw, come on, it could be "Jumbo" never heard of 8.3 convention...
Geneva convention perhaps but no not 8.3 convention. I didn't know what he
was talking about :-)
"Jumbo @uko2.co.uk>" <pcr1000011<nospam> wrote in message
news:10***************@news.minx.net.uk... Aw, come on, it could be "Jumbo" never heard of 8.3 convention...
Geneva convention perhaps but no not 8.3 convention. I didn't know what
he was talking about :-)
Your message
news:10***************@news.minx.net.uk , dated 1/24/04,
indicates otherwise. :-)
-Mike
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Derek |
last post by:
The company where I work uses a naming convention that I have
never used before. They use mixed-case letters for public
member functions, but lower-case with underscores for the
rest, like this:...
|
by: cmiddlebrook |
last post by:
Hi there,
I keep finding myself getting inconsistent with naming conventions for
things like member variables, class names etc and I just want to find
something that suits me and stick to it. I...
|
by: Mark Broadbent |
last post by:
stupid question time again to most of you experts but this is something that
continually bothers me.
I am trying to get into the habit of naming variables and controls in an
assembly as per...
|
by: 42 |
last post by:
Hi,
Stupid question:
I keep bumping into the desire to create classes and properties with the
same name and the current favored naming conventions aren't
automatically differentiating them......
|
by: Alan Silver |
last post by:
Hello,
I have been developing ASP.NET with a text editor so far (better way to
learn initially), and have now been trying Visual Web Developer. I want
to create a project for an existing site...
|
by: jjkboswell |
last post by:
I'm trying to pin down a good naming convention for the 3 things
required to implement an event.
You need:
1) a delegate
2) an event
3) an event handler
Below is my understanding of a...
|
by: MP |
last post by:
Hi,
Coming from a vb6 background I am accustomed to prefixing variable names to
indicate their usage.
Now just beginning to try to learn database stuff I've been lurking here and
working on my...
|
by: Jonathan Wood |
last post by:
I was just wondering what naming convention most of you use for class
variables.
Underscore, "m_" prefix, camel case, capitalized, etc?
Has one style emerged as the most popular?
Thanks for...
|
by: Smithers |
last post by:
Is it common practise to begin the name of form classes with "frm" (e.g.,
frmOneForm, frmAnotherForm).
Or is that generally considered an outdated convention?
If not "frm" what is a common or...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
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...
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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,...
|
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...
|
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,...
| |