473,474 Members | 1,304 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

CAN any one tell it whats the code tell it

i have a code as follows

TServerDB() { fDB = Server()->dbStorage->Create(); }
or
fDB=TServer->TMySQLBD->Create();

can any one tell the relationship between two
and whats the <between braces called

class TSSIStorage: public TResourceStorage<m_ssi::TSSIControl>

<m_ssi::TSSIControl---this reference

Mar 14 '07 #1
1 1977
yogesh wrote:
i have a code as follows

TServerDB() { fDB = Server()->dbStorage->Create(); }
or
fDB=TServer->TMySQLBD->Create();

can any one tell the relationship between two
Between? You mean what the difference is? Are you saying you
cannot see the difference? One calls 'Server()' function (or
constructs a temporary 'Server' object, depending on how the
"Server" symbol is defined), the other uses [what seems to be]
a pointer named 'TServer' (or an object of a class that has
an overloaded operator ->). Also, one uses 'dbStorage' member
and the other uses TMySQLBD member. The right parts of the
assignment expression are slightly different, but the real
difference between them cannot be explained here without seeing
more code (especially how those 'Server', 'dbStorage', 'TServer'
and 'TMySQLBD' things are defined.
and whats the <between braces called

class TSSIStorage: public TResourceStorage<m_ssi::TSSIControl>

<m_ssi::TSSIControl---this reference
It's called "the template argument".

What C++ book are you reading that doesn't explain all those
relatively simple concepts?

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Mar 14 '07 #2

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

Similar topics

2
by: Tony | last post by:
I found similar code for encoding/decoding strings in VB which works fine. However I wanted to use it in a C# projected and can't get it to work. When it executes the TransformFinalBlock() call at...
4
by: sophie | last post by:
Whats going on here: Read in a number as a string: scanf("%s", &number); number = 12345, for arguements sake Print it like this its fine:
7
by: Mike Barnard | last post by:
It's a simple test... VERY SIMPLE. But... In an external stlyesheet some attributes don't show. With the same styles cut and pasted to the test internally it works as expected. Anyone tell...
5
by: sam | last post by:
HI, Whats the meaning of this code:- char buff; memset(buff, 'A' , 100); sometimes we can place hex value in place of 'A' like 0x90c but how this code function actually. thanks in advance
3
by: diwakar09 | last post by:
i am using vc++ compiler #include<iostream> using namespace std; class base { public: virtual void paint() {
11
thatos
by: thatos | last post by:
The code is below import java.io.*; class Storage{ int num = 0; String name = null; } public class gift1 { public static void main(String args) throws IOException{
1
thatos
by: thatos | last post by:
When I run this program import au.id.jericho.lib.html.*; import java.util.*; import java.io.*; import java.net.*; public class DisplayAllElements { public static void main(String args)...
1
by: readnlearn | last post by:
Hii here is the program for check availabilty of username in registeration page can u please tell me whts wrong with this and i cannt get the exact format which i want to.. please give sample code...
5
by: Shalini Bhalla | last post by:
hi , A strange error is coming , when i run a php file , all the php and java script executes before submit only which actually should execute after clicking on submit button and...
0
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...
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...
0
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...
1
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
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...

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.