comp.lang.c++
  Home FAQ Contact Sign in
comp.lang.c++ only
 
Advanced search
March 2008
motuwethfrsasuw
     12 9
3456789 10
10111213141516 11
17181920212223 12
24252627282930 13
31       14
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
comp.lang.c++ Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  data structure design         


Author: puneet vyas
Date: Mar 4, 2008 23:39

data structure design
we have to design the data structure for a sequence database( a
sequence database is on which contains sequences of item sets and a
typical sequence database contains following enteries,sequence
database consits of sequence of transaction
like T1 T2 T3,where each transaction consists of item set:

{ex : sequence database}

CID(sequence id) sequences
1 <{a,b},(c,d},{d}>
2 <{b} ,{a,b,c}>
3 <{a,b},{b,c,d}>
Show full article (1.57Kb)
no comments
  switch-case via function pointers...         


Author: Rahul
Date: Mar 4, 2008 23:33

Hi,

I planning to replace the switch-case with an array of function
pointers, the index for the array would be the case integers. Each
case block would be implemented as a seperate function. It works fine
when all the functions have the exact signature like the return types
and formal input parameters.

In my case, some functions accept a different number of arguements.
Hence i can't have the array of different function pointers, is there
any alternative or work around to get it done by using the same
concept of invoking each case via function pointers?

Thanks in advance ! ! !
3 Comments
  Tutorial website And Ebooks         


Author: tutorialwebs
Date: Mar 4, 2008 20:38

Show full article (0.78Kb)
no comments
  $$ 4 QUICK CASH JUST READ THIS $$         


Author: Drini07
Date: Mar 4, 2008 19:41

$$MAKE LOTS OF QUICK CASH THE EASY WAY$$

Dear Internet User,

Good day, This article I've written is all about the fact
where I earned an ASTOUNDING amount of money in less than
a month and I've decided to share or reveal the secrets
behind making big bucks in the Mail Order Business.
So all money seekers, read this carefully.

=========================================
**READING THIS COULD CHANGE YOUR LIFE!**

I found this on a bulletin board like this one and decided
to try it. A little while back, I was browsing through
several newsgroups, just like you are now, and came across
an article similar to this that...
Show full article (11.60Kb)
no comments
  $$ 4 QUICK CASH JUST READ THIS $$         


Author: Drini07
Date: Mar 4, 2008 19:40

$$MAKE LOTS OF QUICK CASH THE EASY WAY$$

Dear Internet User,

Good day, This article I've written is all about the fact
where I earned an ASTOUNDING amount of money in less than
a month and I've decided to share or reveal the secrets
behind making big bucks in the Mail Order Business.
So all money seekers, read this carefully.

=========================================
**READING THIS COULD CHANGE YOUR LIFE!**

I found this on a bulletin board like this one and decided
to try it. A little while back, I was browsing through
several newsgroups, just like you are now, and came across
an article similar to this that...
Show full article (11.60Kb)
no comments
  binary search trees         


Author: j_depp_99
Date: Mar 4, 2008 19:14

My program is required to build a binary search tree using integers
inputted from a file. It also searches for items and counts the nodes
accessed in each search. Also it needs to calculate the average number
of comparisons per search. I am not sure where to insert the counts
because it seems I am getting the wrong count. Here is my retrieve
function:
[code]
Show full article (1.18Kb)
2 Comments
  Array of pointers         


Author: Slain
Date: Mar 4, 2008 18:34

I am creating an array of char pointers.

char *str[2];
str[1]= "ma";

How ever the compiler gives me the following error. Any suggestions?

error: expected constructor, destructor, or type conversion before '='
token
error: expected `,' or `;' before '=' token
16 Comments
  Distinguishing between alternative constructors.         


Author: pauldepstein
Date: Mar 4, 2008 18:26

Class A has two constructors A( someclass& asomeclassvar,
someotherclass& asomeotherclassvar) and also A(someclass&
asomeclassvar, someotherclass& asomeotherclassvar, yetanotherclass&
ayetanotherclassvar) Get and Set methods are available for the
parameters from someclass, someotherclass and yetanother class.
Sometimes these Get and Set Methods are accessed from a base
class

I want to write code like:

A* NewPointerToClass = new(PreviouslyDefinedPointerToMyClass ->
Getasomeclassvar(), PreviouslyDefinedPointerToMyClass-
>Getsomeotherclassvar ..);

My problem is that I don't know which of the two possible constructors
is available via PreviouslyDefinedPointerToMyClass

I only want to call a Get method if it corresponds to a variable
that's present in the constructor.

So it seems like I need to know how to say, in c++

if(the thing being pointed to has been defined using such and such a
constructor) do...
Show full article (1.17Kb)
2 Comments
  Boost bind         


Author: STL-BOOST
Date: Mar 4, 2008 16:42

Hi,all. I hanve a class T, and T has a member fuanction func(int a,
int b), In vector>, how can I use
for_each, this does not compiled:
for_each(v.begin(), v.end(), bind(&T::func, _1)(a, b));
1 Comment
  Rum-Time Library vs Standard Library         


Author: Carmen Sei
Date: Mar 4, 2008 16:29

what are the difference between

Rum-Time Library vs Standard Library

http://msdn2.microsoft.com/en-us/library/cscc687y(VS.80).aspx
http://msdn2.microsoft.com/en-us/library/59ey50w6(VS.80).aspx
4 Comments
1 2 3