473,587 Members | 2,466 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Project design

Hi there,
my question is not specifically related to C++, but rather the
practice around it. I've started a big project in C++ and stumbled
onto a couple problems like inter-dependency, forward declarations
giving troubles later during compilation and more. All these trouble
were mostly due to the design of the files making the whole project.

I've read a bit on design patterns but I don't feel I've read enough.
I have my project in mind, as abstract as my mind can put it, and I'm
now trying to forge it onto some files for compilation and I would need
directions or recommendations for having a good, solid architecture
that will help the growth of my project (I'm now after
failed-total-rewrite # 3 !!).

My main problem is that I've always worked on fairly simple projects
using a library... now, I'm building a library along with a test
project. The project is like a virtual system that contains system
interfaces (to the graphic, to the network, etc) and will contain
built-in programs (like some sort of Ping, etc...). The number of
files is increasing quite much now that I see more clearly the Whole of
the project and I feel I should use directories to organize it. I'm
having a terrible time fighting with my makefile and gcc to compile
this properly.

I'm developping this on linux and compiling with make and gcc on
linux, windows and macosX. If you could send me a link to some
documents online that describe how to build large projects, that would
be awesome. Or since my budget is starting to allow extra expenses,
reference to a good organisationnal book would be nice too.

Thanks a lot,
Simon

PS: I'm extremely sorry if this is not the proper place to post this,
I feel I might be at the wrong place, yet my problem is linked in some
way to the syntax of C/C++ since I get lots of compile errors because
of my strange programation practice. If this is the wrong place, feel
free to toss me away (after telling me where to go please!)... ;-)

Apr 16 '06 #1
3 1958
Just read Lakos '96. All your questions will be answered.

Apr 17 '06 #2
This book seems like *exactly* what I'm looking for!

Thanks a lot!
Simon

Apr 17 '06 #3
Simon wrote:
This book seems like *exactly* what I'm looking for!


And you might notice that the Lakos '96 book recommends wall-to-wall unit
tests, too!

--
Phlip
http://www.greencheese.org/ZeekLand <-- NOT a blog!!!
Apr 17 '06 #4

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

Similar topics

51
4026
by: nospam | last post by:
THIS IS the DOTNETJUNKIES MESSAGE ------------------------- We're Sorry As many of you know we have recently launched SqlJunkies.com. We have overhauled our runtime and will be using it on DotNetJunkies.com also. -------------------------------------------------------------------------- YEP, DOTNET JUNKIES REDESIGN....
1
3506
by: athos | last post by:
Hi all, Believe you have sound experience in development, however, if we look at the whole Software Development Life Cycle (SDLC) of the project, say, 1. Project Initiation, 2. Gathering Requirements, 3. System Analysis and Design, 4. System Development,
1
2978
by: John Smith | last post by:
Hi, How can I get the project folder programmatically at design time? I'd like to use it in the Forms Designer during dialog design process... And another question... how can I create a custom tabpage inside my custom tabcontrol from the Forms Designer (so that I don't have to modify the code by hand... change the Forms.TabPage to my...
8
1930
by: Adam Clauss | last post by:
I have a folder containing many subfolders (and subfolders and....) all containing various .cs files. Is there any "easy" way to get them all added to the solution. Preferable would be that the folders are actually created in the Solution Explorer so that I can find things easily. Its easy to select multiple files out of a single folder,...
3
1658
by: John Murray | last post by:
Hi, I'm setting up a project management website, and having a bit of trouble. As part of the site, I have been asked to have a javascript dropdown menu that will open several MS Project (mpp) files. While two of the links work fine, the others do not, and I have absoloutely no idea why. Any suggestions would be greately appreciated. ...
11
2343
by: John Fly | last post by:
I'm working on a large project(from scratch). The program is essentially a data file processor, the overall view is this: A data file is read in, validated and stored in a memory structure similar to a database or XML representation. Rules to modify the stored data will be executed, then the data will be transformed into an output format....
10
3746
by: AG | last post by:
I am trying to use a ReportViewer control in a VS 2005 web application project (not Website project). When I try to create a new report (local), I can't seem to find any method to create a datasource. I would like to use an existing class object. The examples I have found state that the class should be in the App_Code folder. However a WAP...
1
1373
by: Tim | last post by:
Dear All, In my opinion, there are so many possible designs for a project, even small up to a class. How can I know which one is better? Is there any important point I should consider in the design? What I should do first for a large project? Design the whole system? or Start a small workable version and then expand? I really need your...
0
7920
marktang
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8215
Oralloy
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8347
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7973
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6626
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3844
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2358
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1454
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.