LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-05-2005, 11:40 AM   #1
zeropash
Member
 
Registered: Apr 2003
Location: Bangalore,India
Distribution: FC2, RHES, RH9, FC3, FC1, Slackware 3.0
Posts: 208

Rep: Reputation: 30
Doubt in C++


I am quite new to C++ and finding it little tough to understand.
I am stuck with some template related errors and to understand what the problem is with the 100's of lines of errors spit out by g++ I wanted to know what does this following function declaration mean.

its something like
int func(xyz*& qwe)

now i know what
xyz* qwe is
what xyz& qwe is

but I am not able to understand what is
xyz*& qwe
any tips/references on the net would be helpfull.

Thanks in Advance.
 
Old 07-05-2005, 12:33 PM   #2
Hko
Senior Member
 
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: Debian
Posts: 2,536

Rep: Reputation: 111Reputation: 111
Quote:
int func(xyz*& qwe)
...
but I am not able to understand what is
xyz*& qwe
Func() takes a pointer (qwe) as the argument.
The pointer itself is passed by reference.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
doubt with parted thushara Linux - General 0 04-08-2005 06:47 AM
ACL doubt kirti171 Linux - Networking 3 03-20-2005 08:59 AM
a doubt... ashesh Linux - General 6 09-08-2003 01:07 PM
Big Doubt bally Linux - Networking 3 06-28-2002 11:26 AM
DOUBT .- jordomi Linux - Distributions 2 08-23-2000 06:53 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration