473,672 Members | 2,632 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

structuring data

19 New Member
where do i drop my post about data structure? is it here,in c++?

i really dont understand the lecture about data structure.. i know that it is use to make our program be more organize..

1.what is pointer?how it is suppose to help us with programming?
Mar 11 '08 #1
2 1152
Banfa
9,065 Recognized Expert Moderator Expert
where do i drop my post about data structure? is it here,in c++?
Yes assuming that the base language you are using is C or C++

1.what is pointer?how it is suppose to help us with programming?
A pointer is the address of a location in memory and it is fairly essential to even the most basic programs in C. In C++ while the pointer is still quite important in several uses a reference is more commonly used as it has a number of advantages over a pointer.
Mar 11 '08 #2
weaknessforcats
9,208 Recognized Expert Moderator Expert
The pointer allows you to decide at runtime what data to use. You just put the address of the data in the pointer. If you didn't have this ability, you would need 10 functions for 10 diffrerent pieces of data. With the pointer, you have 1 function and you pass the address of the specific data.
Mar 11 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1312
by: Milla | last post by:
Hi guys I need some advice on how to best structure my forms and php code into separate files, and how to move variables and form content between them. I'm sure this is really standard stuff and it must have been solved over and over already. This is the flow of what's happening and how it's been structured so far:
1
1759
by: jmgro | last post by:
I need help in structuring a 200 question survey. Each question has three responses, and I want all 200 questions displayed at the same time with the user using the scrollbar to go down. What is the best approach?
3
1300
by: Josh Kingcade | last post by:
I have 2 tables built in my database already: A People contact table - tblPeople (with Primary Key pID); and an Involvement table - tblInvolvement (with Primary Key InvID). The Involvement Table includes one record for each possible area of work in the church. I need a way to input multiple areas of service per person - basically, to link one pID with multiple InvID, but not in an exclusive manner.
1
1179
by: Damien | last post by:
Hey guys, I'm currently developing a reasonably sized application, which is expected to grow in the future. At the centre is the User login facility - everyone using the site must log in. Thereafter, various different services may be available to the user, dependant on how they are set up - there are currently two services available:
0
5652
by: NicK chlam via DotNetMonster.com | last post by:
this is the error i get System.Data.OleDb.OleDbException: Syntax error in INSERT INTO statement. at System.Data.Common.DbDataAdapter.Update(DataRow dataRows, DataTableMapping tableMapping) at System.Data.Common.DbDataAdapter.Update(DataSet dataSet, String srcTable) at System.Data.Common.DbDataAdapter.Update(DataSet dataSet) at TryThis.Form1.save() in C:\Documents and Settings\Nick\My Documents\...
3
1191
by: arun.hallan | last post by:
Hi, I need some structuring help. I have a set of data, in the form of an arraylist of objects. Each object is the same, and can be treated as a generic object which gets and sets properties. I want to display this in a datagrid - which is not too hard. I've done this by mapping the object data to a datatable, and then
1
1620
by: Maurizio Tomasi | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I am developing an application which needs to structure its data using a tree. Each node in the tree is derived from an abstract base class called Base. There are a number of derived classes, let's call them A, B, C and so on. There are constraints on the children each of these classes can have. Here are some examples: 1. Children of nodes of type A must be of type B;
7
1727
by: JohnGoogle | last post by:
Hi, I'm new to Visual C# and I am looking for guidance with structuring projects. I am wanting to develop a DLL assembly which will contain all my common classes which will be used by various projects. During development of this DLL assembly I have decided to have a second project which will be a console application whose entire job is to run code to test the classes to iron out bugs etc.
2
2003
by: Susanne West | last post by:
hi group. i'm tackling a bigger project that will use mod_rewrite to patch a series of urls into a master php-script. this script builds the page framework that contains a series of elements that remain on every page. only a center part (a <div>) is filled with different contents, depending on how the page is called (= mode of the page). the point is, there are quite a few (approx 20) different 'modes' for the center part to be filled...
0
8486
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8404
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8680
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7446
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6238
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5705
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2819
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
2
2063
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1816
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.