Posts
 
Reputation
Joined
Last Seen
Ranked #123
Strength to Increase Rep
+11
Strength to Decrease Rep
-2
96% Quality Score
Upvotes Received
84
Posts with Upvotes
63
Upvoting Members
44
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
3
31 Commented Posts
4 Endorsements
Ranked #397
Ranked #176
~195.96K People Reached
Interests
Reading/Music/Cricket/Football/Amateur Astronomy
PC Specs
Windows 7 and Ubuntu 9.10. Using acer aspire 5738 currently
Favorite Tags
Member Avatar for NinjaLink

don't worry .. ur not the only one.. :) [URL="http://www.daniweb.com/forums/showthread.php?t=120344&page=2&highlight=narue"]http://www.daniweb.com/forums/showthread.php?t=120344&page=2&highlight=narue[/URL]

Member Avatar for Nor_492
0
7K
Member Avatar for Agni

Hi, i have seen a lot of ppl say things like, 'this piece of code is more efficient than the other', 'this gives better performance' or 'more efficient memory wise' etc.. but i fail to understand that how in a normal coding scenario can i find out the efficiency of …

Member Avatar for Magee_1
0
3K
Member Avatar for spiriad
Member Avatar for waqas.zafar.125

You probably need a class called 'Player' which has a stack data member of type card. You can use the c++ stack container which provides you methods to add/remove elements. You don't really need to learn linked list to understand how this container works but you should still learn about …

Member Avatar for Agni
0
166
Member Avatar for Agni

We have a small team of 5 software developers and we are handling products A & B. Last month we were also handed over products C & D from another team which moved to doing something else. Suddenly we have double the work and same number of people. Though we …

Member Avatar for Agni
0
271
Member Avatar for waqas.zafar.125

Normally you would have an insert function which takes care of head node. Not sure why would you want to insert at tail directly. Also you can have insert_at or insert_after, insert_before functions which also handle adding a node to an empty list. Take a look at this tutorial here …

Member Avatar for rubberman
1
181
Member Avatar for dreday92
Member Avatar for ireallyneedhelp
Member Avatar for rubberman
0
186
Member Avatar for Agni

I have a some libraries which have a lot of common classes but the namespaces are different. Most of the code I was writing could be easily reused by classes in both libraries so after some reading I tried a technique of using the templates to pass namespace. As you …

Member Avatar for Agni
0
124
Member Avatar for ShEeRMiLiTaNt

I didn't really know what 'isalnum' does so i checked the c++ reference site and it says "Check if character is alphanumeric. Checks whether c is either a decimal digit or an uppercase or lowercase letter." So that seems to be the issue ? May be you should use 'isdigit' …

Member Avatar for Agni
0
149
Member Avatar for soujanya.bhat.184

Also when you declare a non-virtual function in a child class which has the same name as the base non-virtual function you end up 'hiding' the base function which might not work as you expect. The base class function is not accessible in the derived object now. Even if the …

Member Avatar for Agni
1
197
Member Avatar for asha12@gmail

Are you learning C++ ? What material are you using ? Any decent C++ book or online resource should give you a good explanation of arrays and how they are used. Try this http://www.cplusplus.com/doc/tutorial/arrays/

Member Avatar for Agni
0
93
Member Avatar for xxwikkixx

> need some help again with finding the min and max from a text file And where is your logic to calculate min and max? What do you think the algorithm should be on paper ?

Member Avatar for xxwikkixx
0
1K
Member Avatar for Batcher

To begin we need to know what have you tried and where are you stuck. If you post whatever code you've written we can help you fix it. It's also a good way to guage how much you already know and what level of details should be included in the …

Member Avatar for TrustyTony
0
181
Member Avatar for israruval007

Why do you need an automata ? It doesn't look like you need to check for strings matching any regular expressions. Just load the contents of the documents as string and do a find for the required strings.

Member Avatar for Taywin
0
153
Member Avatar for smichels

There is a related article link on this page (i'm assuming you see it too) [File Display Proram](http://www.daniweb.com/software-development/cpp/threads/432845/file-display-progam) , Take a close look at the includes, the use of ifstream object for reading files, namespace std, cout etc.. That is the std c++ way of writing code. i'm guessing you've …

Member Avatar for Agni
0
577
Member Avatar for ShEeRMiLiTaNt
Member Avatar for Agni
0
243
Member Avatar for danpe

I don't know why you are getting this error, I would expect something like 'invalid use of non-static member in static function' error over here. Since getStaticGroupData is a static function of the class and mGroups is a non-static member of the same class and you are not allowed to …

Member Avatar for neil.a.hudson
0
554
Member Avatar for Scuppery
Member Avatar for Sariscos

I'm just worried how much data is being held by one particular company. And even though they say that they will not misuse the data, they do realise the kind of power it gives them in this e-society. Tracking people's transactions is going to be another such way to get …

Member Avatar for Jashandeep
1
486
Member Avatar for Aniqa Shaikh

If you are really interested in learning C++ and becoming a good programmer, take all this advice constructively. Tomorrow when you go out to work in the professional world and do these mistakes, no one will point them out to you, they would probably just fire you. So, there's no …

Member Avatar for sameershah21
1
661
Member Avatar for n8thatsme

instead of an array you can use 'vector' to save unnecessary allocation of memory.

Member Avatar for mike_2000_17
1
4K
Member Avatar for learnersunakshi

Hi, Could you elaborate clearly what is it that you want to do and what are the issues you are facing ?

Member Avatar for Agni
0
1K
Member Avatar for sachinchandora

@Salem: How does the link here 'from a stone age educational system.' help the OP and why did you think it was needed to be shared on this forum ? You didn't need to share it because every student in india knows this, there are a lot of factors behind …

Member Avatar for Salem
0
1K
Member Avatar for aquarian
Member Avatar for Agni

I have been reading the 'inside the c++ object model' by Lippman and one of the sections has me a little confused. It is the section where the author explains how virtual tables are created and virtual pointers assigned, in the scenario of multilevel, single inheritance. If anyone here has …

Member Avatar for Agni
0
324
Member Avatar for Rimojenkins

It looks to be this line [code=c++] for(node *temp=firstNode; temp!=NULL && temp->next!=NULL; temp=temp->next) [/code] Lets say you removed the one and only node in your list. In the code you hit the else part and do a 'delete firstNode', however you are not setting the pointer to null. Then you …

Member Avatar for Rimojenkins
0
158
Member Avatar for Agni

Have been reading about the facebook commenting API for a few days now. Sites like Techcrunch have gone ahead and implemented the feature. I tried imagining if it will make sense for a forum like Daniweb to enable facebook commenting ? To me it seemed that it will not make …

Member Avatar for Dani
0
280
Member Avatar for ROTC89

Looking at your printmaze function it looks very likely that you have missed some matching opening and closing braces somewhere. Just try and ensure that.

Member Avatar for ROTC89
0
110
Member Avatar for arjunaw

It seems like you want a subscriber-publisher model. There will be one publisher thread which calls a particular function on all subscribers every 60 seconds. The publisher can be a [URL="http://en.wikipedia.org/wiki/Singleton_pattern"]Singleton[/URL] and subscribers could just subscribe with a callback function to it. However if there is only 1 publisher then …

Member Avatar for arjunaw
0
4K