Posts
 
Reputation
Joined
Last Seen
Ranked #40
Strength to Increase Rep
+11
Strength to Decrease Rep
-2
91% Quality Score
Upvotes Received
181
Posts with Upvotes
129
Upvoting Members
69
Downvotes Received
13
Posts with Downvotes
11
Downvoting Members
9
102 Commented Posts
~259.56K People Reached
Favorite Tags
Member Avatar for killerqb

I know an AVL Tree guarantees a time of log(n), but what is the time cost of the actual re balancing of the tree and why is this ignored?

Member Avatar for Herbert_3
0
474
Member Avatar for cutedipti

Hello all, I am implementing linked list programs in C. And for that i want to know more about Self Referential Structure in C. If anyone knows more detail information about it then please tell me. I am having one example here which helps you to understand more clearly what …

Member Avatar for mungara
0
1K
Member Avatar for group256

Hi, I'm trying to output a list of dvd titles along with some of their details. The problem is that it seems I can't get them aligned all pretty well. So I upload the screen shot as well as the code generating it. Please help me out here. This is …

Member Avatar for niario
0
14K
Member Avatar for dombit

ok so i want to build a simple app that woks across a network. basicly it is a c++ consle appliction, you type the ip and a message on the server consol and then that computer will do somthing based on the message. if anyone can derect me to a …

Member Avatar for ibrahimali88
0
98
Member Avatar for you2

Hi, I have a requirement to convert a unsigned int 32 value to a IP address dotted format. Can this be done using a C function? Requirement: Eg: Input value = 3232235691 i.e 11000000 10101000 00000000 10101011 Converted to LAN Ip - 192.168.0.171 Please help.(Newbie to C programming)

Member Avatar for pj.david_rajesh
0
14K
Member Avatar for mfcdoubt

I have following header file defines test2.h ----------> header file template<class T> class temp2 { public: temp2(); virtual ~temp2(); }; test1.h ----------> header file template<class T> class temp1 { public: temp1(temp2<T> (temp2<T> *temp2ptr); ~temp1(temp2<T> (); protected: temp2<T> *tempptr; }; test3.h -------------> header file class test3 { public: test3(); virtual ~test3(); …

Member Avatar for huda_7978
0
3K
Member Avatar for mz_rigel

Hi, I'm trying to write a program that converts a base x to a base y. It says that we are suppose to use two functions to do so: one that converts base x to base 10 and one that converts base 10 to base y but I don't understand …

Member Avatar for WaltP
0
1K
Member Avatar for kgz

Hi, i have a project using basic inheritance to output shapes, but i would like to make it draw the shapes aswell. Does anyone know where i can find tutorials on how to draw shapes in dos using C++? thanks

Member Avatar for Fuseteam
1
5K
Member Avatar for Tom Gunn

CSV is more than just comma delimited fields. There are quoting and white space rules too. This is a short function as an example of a complete way to read CSV records line by line.

Member Avatar for moonlight01
2
354
Member Avatar for Gaiety

Hello , i have read the manual page of alloca , it is documented there that "alloca works similar to the malloc but it allocates memory from stack and frees automatically. i can't get how can i use that in a program . if i'm not wrong can i use …

Member Avatar for monishch
0
179
Member Avatar for Gaiety

Hi, if any one has any idea "how the switch statement works". does it maintain any tables internally or any other machanism? and is there any way to make the switch statement efficient?

Member Avatar for lyfzopen
0
181
Member Avatar for chaithanyap

#include<iostream.h> class A { public: read() {cout<<"read"; }}; class B:public A {public: readb() { cout<<"readb"; } }; class C:public A { public: readc() {cout<<"readc"; } }; class D:public B,public C { public: readd() { cout<<"readd"; } }; main() { D d; //d.read(); d.readb(); } am getting error for this...

Member Avatar for Ezzaral
0
846
Member Avatar for cjjack88

Hi, I am doing an assignment about binary search tree. I have problem with remove the root in binary tree. When i remove the root of the binary tree and I view the binary tree in In-Order Traversal, my program will stop running. [CODE]void myCarSystem::remove(string m) { //Locate the element …

Member Avatar for troyduff281
0
3K
Member Avatar for Gaiety

below is the code for traversing a binary tree without using recursion but the problem with the code is we require array of pointers to store all the nodes address. in below program the parameter nodes in the function push is an array of pointers to store all the node …

Member Avatar for jl.lakhnai
0
176
Member Avatar for sbhavan
Member Avatar for DoEds

Can anyone give me some ideas on how to find the middle value between 3 numbers.? I really dont know how to start... I know how find minimum and maximum but finding the Middle value is kinda hard for me... For those C Wizards give me some idea advice please?., …

Member Avatar for krutarth
0
3K
Member Avatar for gretty

Hello [B]Would anyone like to share their tips & tricks for debugging functions & whole programs in C++. [/B] I find I suck at debugging :P & really dont look forward to having to go through my functions again to see if there are any loopholes etc so if anyone …

Member Avatar for Dingbats
0
151
Member Avatar for eliza2044

Hello guys, I'm working on a new project in C++ and I need to parse some XML files, by reading some articles on the web I found that the most commonly used one is the Xerces library. However, I'm currently having troubles. Can anyone tell me how can I include …

Member Avatar for hasrule
0
135
Member Avatar for Tom Gunn

The forum is buzzing with questions about tokenizing a C++ string. This is a short function that does it and returns a vector of the tokens. As an option, the delimiter string can represent either a multichar delimiter or a collection of single char delimiters: [code] // multichar delimiter == …

Member Avatar for daviddoria
1
730
Member Avatar for serkan sendur

in our this months newsletter i saw that "essential" became a featured poster as well as a featured coder. if i compare number of his posts or reputation points or solved threads, i think Ramy or Scott(sknake) must be granted these before than him. I think the problem is, neither …

Member Avatar for jephthah
1
362
Member Avatar for alvalany

hi friends, From many days I wanted to create some application in Windows. Now which IDE would be better (I am also a bit confused with the term IDE ) Turbo c or Borland C++ bulder or Visual c Whatz the difference between these things?? Please someone clear my confusion. …

Member Avatar for Ancient Dragon
0
947
Member Avatar for kikat

I need to print the level order traversal of an AVL tree. I know how the idea works using a queue: enqueue the node, and then enqueue the left and right nodes of it. every node has a int data which needs to be printed but then the thing is …

Member Avatar for mrnutty
0
113
Member Avatar for job2617

hello every one. this is my last year in cs,i'll soon make a thesis but I have'nt decided a proposal yet. here's some topics that our thesis advisor suggested.(i'm not decided yet which one would be the best proposals) *Implementation of the Traveling Salesman Algorithm on Networking Systems. *Graph Traversal …

Member Avatar for Nick Evan
0
973
Member Avatar for Dave Sinkula

Can you add the icode button to the Quick Reply? I tend to use it (as previously mentioned ad nauseum :icon_razz:) for anything in which fixed font helps text stand out better. In fact, I probably use it more than code tags. I would find the button link handy. Another …

Member Avatar for ablitz
4
347
Member Avatar for CrazyProgrammer

Hi, Could somebody please show me and example of how to iterate through an n-nary tree, where I do not know what n is and n could be different for every node ie the root node could have 3 children and each child might only have 2 children etc, I …

Member Avatar for john.double
0
203
Member Avatar for siggivara

I've written a method that takes a variable number of arguments. My problem is that the method is supposed to do one thing if there is only one argument, and something different if it recieves multiple arguments. If it's one argument I'm supposed to get info from a global variable, …

Member Avatar for siggivara
0
180
Member Avatar for stevenpetersen

I was thinking there should be a point system for members that make those killer hard question. I have had a question that has never been hit, but i have seen it done. [URL="http://www.daniweb.com/forums/thread208243.html"]thread 208243[/URL] But this is not about my thread this is about what you think about a …

Member Avatar for stevenpetersen
0
534
Member Avatar for candoc

If I am fread()'ing through a file and want to append it when i find a particular item, can i just do an fwrite() when i find it or do i have to first fseek() to that location and then do an fwrite()?

Member Avatar for Tom Gunn
0
109
Member Avatar for BitFarmer

Imagine I want to see all code snippet on delphi only... I can't! From web development I can jump to delphi FORUMS, not to delphi SNIPPETS, and in the "Revamped code snippets" page, I can't filter on a languaje... Isn't it the most basic feature on a code repository mixing …

Member Avatar for BitFarmer
-1
178
Member Avatar for Iam3R

can somebody explain the behaviour of the statement printf("%d"); is it any where depends on the statements that present before or after it. i have some satatements that allocates memory dynamically. its printing one of that value. is there any proper reason for undefined behaviour.

Member Avatar for Tom Gunn
0
110