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

Meaning of c++ line in ns2 program

can u suggest the meaning of the below line
RouteCacheTimer(AODV* a) : agent(a) {}
void handle(Event*);
Sep 17 '14 #1
1 1199
weaknessforcats
9,208 Expert Mod 8TB
It looks like a constructor for the RouteCacheTimer class. The : is used to define an initialization list for members of an object as part of the building the object.

Since I don't see the scope resolution operator (::) I assume this code is inside the RouteCacheTimer class which also makes this an inline function.
Sep 17 '14 #2

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

Similar topics

4
by: Tian | last post by:
In Windows, I have been simply using os.system() to run command line program in python. but there will be a black console window. How can I run the program without invoking that window? i guess...
1
by: Nicholas Then | last post by:
I am writing an application that will call a command line application. Basically I have set up the windows 2003 POP3/SMTP service and to change a password of a mailbox, I need to execute the...
0
by: CMG | last post by:
I am trying to run gocr from my program, and use the output. I have done this with success befor, with a workaround command line tool.: Private irfanview As String = "C:\program...
1
by: ktsirig | last post by:
Hi all, I need to execute a command-line program through PHP. I have a form which includes a textarea, where the user writes his data. These data will be used as input for the command-line...
1
by: Lukasz | last post by:
Hi How to run from code (NET) the command line program? I cant find it, help best regard Luke
2
by: Ganesh Ramamurthy | last post by:
Hi Experts, I need to get the output of a command line program in my C# application. The command line program is an decryption program which gives the decrypted text of a file specified as the...
0
by: Jarod | last post by:
Hey I have already written a program that has a user interface, but I would like to add some command line interface too. So if the user run it like program.exe file1 The program do something, but...
0
by: phpinfo | last post by:
How to send post values from command line program in php? The values need to be sent to php script on a different site
1
by: hstiwana | last post by:
i have data in access (mdb) for word meaning (dictionary) software from english to punjabi. i want to add search command in the program that the program is picking words from the databas as per...
5
by: CSharper | last post by:
Please tell me what am I doing wrong in the following; I have a WPF program that I build it in IDE and ran it, it runs fine. I wanted to make it an exe through command line compiler(why, I need...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...
0
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...

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.