473,405 Members | 2,444 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,405 software developers and data experts.

class generator

bob
Hi,

I'm looking for a tool (preferable with a gui but thats not essential)
that will generate my class header and .cxx file. i.e. I tell the tool
that my class is to have attributes x,y,z, of type a, b, c etc. and it
will generate the header and .cxx... i.e. essentially to save me time
each time I have to add a new class to my project.

I'm on windows with borland c++ builder.

thanks much

GrahamO

Jan 29 '07 #1
5 2323
bo*@blah.com wrote:
I'm looking for a tool [..]

I'm on windows with borland c++ builder.
Have you tried asking in a Windows newsgroup or a Borland
C++ Builder newsgroup? What did they say?
Jan 29 '07 #2
bob

no reply from those groups... any ideas on this group? surely there is
some sort of tool out there that does this, no? If not then there's
thousands and thousands of c++ developers writing the same mindless
lines of code over and over and over and.... :)

cheers

GrahamO

On Jan 29, 2:41 pm, "Victor Bazarov" <v.Abaza...@comAcast.netwrote:
b...@blah.com wrote:
I'm looking for a tool [..]
I'm on windows with borland c++ builder.Have you tried asking in a Windows newsgroup or a Borland
C++ Builder newsgroup? What did they say?
Jan 29 '07 #3
On 29 Jan 2007 03:20:04 -0800, "bo*@blah.com" <Gr**********@gmail.comwrote:
>Hi,

I'm looking for a tool (preferable with a gui but thats not essential)
that will generate my class header and .cxx file. i.e. I tell the tool
that my class is to have attributes x,y,z, of type a, b, c etc. and it
will generate the header and .cxx... i.e. essentially to save me time
each time I have to add a new class to my project.

I'm on windows with borland c++ builder.

thanks much

GrahamO
Although there are many tools to do this, try looking into your text editor
macro language. Maybe there's an easy way to at least get a skeleton of the
class created.
Jan 29 '07 #4

bo*@blah.com wrote:
Hi,

I'm looking for a tool (preferable with a gui but thats not essential)
that will generate my class header and .cxx file. i.e. I tell the tool
that my class is to have attributes x,y,z, of type a, b, c etc. and it
will generate the header and .cxx... i.e. essentially to save me time
each time I have to add a new class to my project.

I'm on windows with borland c++ builder.

thanks much

GrahamO
Eclipse (free IDE) with the C++ plugin... if you are using Windows,
you will also need to install Cygwin or MinGW... the Eclipse plugin
will let you use a C++ perspective, when you create a new C++ class
your header file and implementation files will be automatically
generated... The constructors/destructors will also be creted for you
(you can specify them in the New C++ class dialog)... as far as other
members... no... however, I believe Eclipse has another program that
will let you incorporate UML diagrams and create classes from those
diagrams... but I haven't looked at that, and it may only work in Java
perspectives.

Jan 29 '07 #5
bo*@blah.com wrote:
>
no reply from those groups... any ideas on this group? surely there


Please don't top-post. Your replies belong following or interspersed
with properly trimmed quotes. See the majority of other posts in the
newsgroup, or the group FAQ list:
<http://www.parashift.com/c++-faq-lite/how-to-post.html>
Jan 29 '07 #6

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

Similar topics

13
by: Emmanuel | last post by:
Hi, I run across this problem, and couldn't find any solution (python 2.2.2) : Code : =========== from __future__ import generators >>> class titi:
2
by: Clark C. Evans | last post by:
There is an interesting difference between how exceptions are handled between iterators constructed from a class, and iterators constructed from a generator. The following are "mostly equivalent":...
13
by: Bulba! | last post by:
Hello Mr Everyone, From: http://docs.python.org/tut/node11.html#SECTION0011900000000000000000 "Define a __iter__() method which returns an object with a next() method. If the class defines...
41
by: AngleWyrm | last post by:
I have created a new container class, called the hat. It provides random selection of user objects, both with and without replacement, with non-uniform probabilities. Uniform probabilities are a...
1
by: John C | last post by:
Hi, I am trying to include the generation of random numbers in my c++ class. However I don't quite know how to incorporate it. To start with, I managed to get random numbers going via the...
3
by: Bernard Bourée | last post by:
With VB6 we had an addin called Class Generator which was very helpful to create the framework of a class. I could not find the same tool with vb.net ? Does it desapear ? -- Bernard Bourée...
10
by: Ognen Duzlevski | last post by:
Hi, I have a "language definition" file, something along the lines of: page :: name : simple caption : simple function : complex function :: name : simple code : simple
1
by: ligong.yang | last post by:
Hi all, I got tortured by a very weird problem when I was using k. wilder's random generator class in my program. PS: wilder's generator class can be found at...
2
by: Jeff Johnson | last post by:
Disclaimer: I am extremely new to Web services and may very well be doing the wrong thing! Background: I have a Web service and a Windows Forms client app (VS 2005). The Web service exposes a...
9
by: raylopez99 | last post by:
Here are two different ways of achieving a mediator pattern: the first, using circular references (for lack of a better way to describe it), but not using delegates, with the second using...
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?
1
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.