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

a old hand wants to learn C++ again

dmjpro
2,476 2GB
i totally detached from c++ for 1.2 year ... but right now i want to learn again it

yeasterday i learnt that in C++ the array of reference is not possible ... why this is not possible ... plz explain me logically .....

any help is most welcome......

thanxxxx
Mar 15 '07 #1
5 1421
Ganon11
3,652 Expert 2GB
Hey,

I'm not sure I completely understand your question. Could you possibly rephrase it?
Mar 15 '07 #2
dmjpro
2,476 2GB
can i create array of reference ......?????
Mar 15 '07 #3
sicarie
4,677 Expert Mod 4TB
can i create array of reference ......?????
You want to create an array of pointers? What are you trying to accomplish?
Mar 15 '07 #4
dmjpro
2,476 2GB
soorryyy .... i think u know two terms reference and pointers in C++ the array of pointers is possible .... but array of references is not ......

i want to know why ??????

thanxxxx in advance
Mar 15 '07 #5
Banfa
9,065 Expert Mod 8TB
the array of pointers is possible .... but array of references is not ......

i want to know why ??????
Because the standard says so.

Actually why would you need an array of references? You have to initialise a reference on creation and once initialised it can not be changed to reference a different object. I suspect that an array of references would be a construct that would not be terribly useful while at the same time introducing a number of awkward problems for the compiler to get round and so was prohibited by the standard.
Mar 15 '07 #6

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

Similar topics

27
by: xeys_00 | last post by:
I'm a manager where I work(one of the cogs in a food service company). The boss needed one of us to become the "tech guy", and part of that is writing small windows programs for the office. He...
102
by: RFox | last post by:
I date back to the early days of the web when HTML was limited but very managable, and have always maintained that hand-coding HTML gives you far better control and cleaner HTML markup than any...
3
by: Lars | last post by:
Hello I write all my applications in VB6-- and I don't understand the reason to move to .NET (other than MS might break VB6 apps in future updates). I'm taking the position that I don't...
20
by: parametriceq | last post by:
Hello, I just realized there's only a "g" separating me from....me? Old Coder or Old Codger? Anyway, I haven't programmed since the late 80's. My experience then was with DEC PDP-11's and...
4
by: EnderLocke | last post by:
I have a friend who wants to learn python programming. I learned off the internet and have never used a book to learn it. What books do you recommend? Any suggestions would be appreciated.
4
by: GUSTAVO | last post by:
Hello, my name is Gustavo Vásquez and I want to learn how to program computers What one needs to be a good programmer of computers Which your advice are to be a good programmer How is the logic...
10
by: musosdev | last post by:
Hi guys I'm trying to migrate to VS2005... I've managed to do that, but realised I'd opened my web projects as file projects, and I'm getting the error about network BIOS command limit. ...
31
by: anand devarajan | last post by:
hi friends, im anand im just a beginner in c learning for the past two weeksnow i can write simple prgs can anyone help me to get well known to c lang so that i should able to write even tough...
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: 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$) { } ...
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...
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: 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
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,...
0
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...

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.