473,325 Members | 2,308 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,325 software developers and data experts.

problemi con puntatori

Premetto, che è un po' che non uso il C++, per il semplice fatto che sono
passato a java.

Adesso devo fare un lavoro di manutenzione su una libreria che avevo scritto
parecchi anni fa.

La domanda è questa. Come passo un puntatore al costruttore di una classe ?

Il codice:
class CHeader {

const CXML *pXml;
public:

// Costruttori/Distruttori

CHeader(const CXML *pHead)
:pXml(*pHead) {};
}
E' corretto quello che ho scritto ? e se non volessi dichiarare pXML come const,
ma semplicemente come un puntatore non const, come potrei fare ?
Grazie,
Obelix.
Mar 30 '07 #1
3 1625
On Fri, 30 Mar 2007 16:52:03 +0200, Obelix wrote:
Premetto, che è un po' che non uso il C++, per il semplice fatto che sono
passato a java.
Lo siento... la lengua de este newsgroup es inglés.

--
Lionel B
Mar 30 '07 #2
Lionel B ha scritto:
On Fri, 30 Mar 2007 16:52:03 +0200, Obelix wrote:
>Premetto, che è un po' che non uso il C++, per il semplice fatto che sono
passato a java.

Lo siento... la lengua de este newsgroup es inglés.
I'm sorry.
Mar 30 '07 #3
Obelix wrote:
Lionel B ha scritto:
>On Fri, 30 Mar 2007 16:52:03 +0200, Obelix wrote:
>>Premetto, che è un po' che non uso il C++, per il semplice fatto
che sono passato a java.

Lo siento... la lengua de este newsgroup es inglés.

I'm sorry.
You could try 'it.comp.lang.c++' (did I recognize your language?)...
Mar 30 '07 #4

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

Similar topics

1
by: SAN CAZIANO | last post by:
Qualcuno mi spiega come poter interagire con dei record di una tabella mysql: ho creato lo script per collegarsi e funziona provandolo col mio editor, ma quando provo a pubblicare lo script php nel...
4
by: Roberto | last post by:
Hi, I have Windows Server 2003 + IIS 6.0 with all the security patches released by Microsoft installed until Today. I have an ASP page that calls a method of an object installed under COM +...
1
by: Telemaco | last post by:
Ho la necessità di inserire i risultati di una stored procedure in un dataset. Mi spiego meglio .... Ho costruito una store procedure che incapsula una query di lettura su un database sqlserver...
2
by: massi | last post by:
Un saluto a tutti, ho il seguente problema: ho definito una funzione che trova lo zero di una funzione con il metodo delle secanti, in un file cpp: double secant (double (*f)(double), double x0,...
6
by: Heavy | last post by:
Ciao a tutti, sto creando una applicazione in python, che deve fungere anche da server web... non ho assolutamente problemi a prendere i parametri di una 'GET', mi limito a fare il parsing della...
0
by: news.onet.pl | last post by:
I hava a problem with communication between Java/Corba server based on JDK ORB with Java/Corba client (applet) based on the same ORB. I`m using IOR to localize server. client`s ORB i initialize...
2
by: papapo | last post by:
Salve, ho un problema con il controllo imagelist ed in particolare se metto su una form un controllo imagelist e lo riempio con delle icone e le associo ad un tab control, bene a design time vedo...
1
by: diaboliko80 | last post by:
Salve a tutti. Ho un problema con IE7. Ho implementato una pagina .asp che tramite tecnologia AJAX mi crea una serie di select nidificate (il classico esempio delle Regioni-Province --scelgo...
1
by: romeo.pruno | last post by:
Salve, ho il bisogno di avviare processi di stampa dalla mia applicazione web utilizzando l'utente corrente. Ho editatao il web.config ed ho aggiunto la seguente stringa: <identity...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
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
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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...

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.