473,383 Members | 1,862 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,383 software developers and data experts.

design patterns in C++

I am looking for design patterns implemented in C++ for the following
purposes:

1). Study and learn from the code
2). Avoid reinventing the wheel

Searches on google are annoyingly turning up Java and C# examples - EVEN
when I specify C++ in search. I *could* 'port' from either language to
C++, but it defeats the purpose i stated earlier.

Any one care to offer a link/resource etc?
Nov 9 '07 #1
4 1779
Anonymous wrote:
I am looking for design patterns implemented in C++ for the following
purposes:

1). Study and learn from the code
2). Avoid reinventing the wheel

Searches on google are annoyingly turning up Java and C# examples -
EVEN when I specify C++ in search. I *could* 'port' from either
language to C++, but it defeats the purpose i stated earlier.
How does it defeat the purpose? You study by looking at some other
code, you learn by writing your own code and verifying its behaviour.
You're not reinventing the wheel, the patterns are already coded for
you. Besides, C# is very close to C++, porting it should be a breeze.
Any one care to offer a link/resource etc?
www.google.com

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Nov 9 '07 #2
On Nov 9, 11:14 am, Anonymous <no.re...@here.comwrote:
I am looking for design patterns implemented in C++ for the following
purposes:

1). Study and learn from the code
2). Avoid reinventing the wheel

Searches on google are annoyingly turning up Java and C# examples - EVEN
when I specify C++ in search. I *could* 'port' from either language to
C++, but it defeats the purpose i stated earlier.

Any one care to offer a link/resource etc?
Get the book "Design Patterns: Elements of Reusable Object-Oriented
Software" from GoF (the examples are mainly in C++)

http://www.amazon.com/Design-Pattern.../dp/0201633612

Regards

--
Cholo Lennon
Bs.As.
ARG
Nov 9 '07 #3
Anonymous wrote:
I am looking for design patterns implemented in C++ for the following
purposes:

1). Study and learn from the code
2). Avoid reinventing the wheel

Searches on google are annoyingly turning up Java and C# examples - EVEN
when I specify C++ in search. I *could* 'port' from either language to
C++, but it defeats the purpose i stated earlier.

Any one care to offer a link/resource etc?
I had some sitting on my HDD that I had downloaded off the web a few years
ago, but I forgot to record where I got them. I have searched and found
their new location.
http://www.vincehuston.org/dp/
Note that site gives examples in many languages and all the C++ ones are in
a horrible two column text format.

I also have link to a downloadable book but it is for Java. You can look if
you like.
http://www.mindview.net/Books/TIPatterns/

If google gives you trouble you might want to try searching for each design
pattern individually. Instead of Design Patterns.
Doing that leads me back to sites like this.
http://sourcemaking.com/design_patterns

Richard James
Nov 10 '07 #4
On Nov 9, 9:14 am, Anonymous <no.re...@here.comwrote:
I am looking for design patterns implemented in C++ for the following
purposes:

1). Study and learn from the code
2). Avoid reinventing the wheel

Searches on google are annoyingly turning up Java and C# examples - EVEN
when I specify C++ in search. I *could* 'port' from either language to
C++, but it defeats the purpose i stated earlier.

Any one care to offer a link/resource etc?
Design pattern related articles can be found at:

http://www.eventhelix.com/RealtimeMantra/Patterns/

--
EventStudio - http://www.Eventhelix.com/Eventstudio/
Sequence diagram based systems engineering tool

Nov 10 '07 #5

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

Similar topics

5
by: Don Vaillancourt | last post by:
Hello all, Over the years as I design more database schemas the more I come up with patterns in database design. The more patterns I recognize the more I want to try to design some kind of...
1
by: Jay | last post by:
The GOF text is widely considered the definitive book on the topic. Design Patterns: Elements of Reusable Object-Oriented Softare, Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides ...
1
by: Josh28 | last post by:
Hi We are a group of two chaps just out of undergrad, we created a software to automate the use of Design Patterns. We have put it up at Source Forge--http://dpatoolkit.sourceforge.net/ The...
13
by: John Salerno | last post by:
Here are a few I'm considering: Design Patterns Explained : A New Perspective on Object-Oriented Design (2nd Edition) (Software Patterns Series) by Alan Shalloway Design Patterns C# by...
2
by: Carlo Stonebanks | last post by:
I have the infamous GoF Design Patterns boo - it's been sittin gon my shelf for years. I have a huge reading list and find this book a rather dry read and am always putting it off. I have...
22
by: Krivenok Dmitry | last post by:
Hello All! I am trying to implement my own Design Patterns Library. I have read the following documentation about Observer Pattern: 1) Design Patterns by GoF Classic description of Observer....
5
by: Ludwig Wittgenstein | last post by:
Other than the Design Patterns book, which book(s) is/are the best to learn object-oriented software design/architecture from ?
7
by: =?Utf-8?B?bWF2cmlja18xMDE=?= | last post by:
Hi, I would like to know more about design patterns and specifically using C#. Can any one recommend a good book? Thanks
5
by: macca | last post by:
Hi, I'm looking for a good book on PHP design patterns for a OOP beginner - Reccommendations please? Thanks Paul
10
by: vital | last post by:
Hi, I am designing the middle tier of a project. It has 6 classes and microsoft application data access block. The six classes are DBServices, Logger, ProjectServices ... etc. and all these...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
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...
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...

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.