General C++ Programming (Page 77)

depth of a tree
 
i have come across this code for calculating the depth of a binary tree. int maxDepth(Node *&temp...
[2 replies] Last: All left recursive calls happen before right recursive calls. Once you... (by L B)
by Nobun
Code Policy Suggestion (subject: inheritance)
 
In order to read/write a binary format "on the fly", that can have very different binary structure d...
[11 replies] Last: Thank for all... and for that prebuilt MinGW with boost... even I am n... (by Nobun)
Fastest Way to Calculate Fibbonacci
 
What is the most efficient way to calculate Fibonacci. Is it recursion with memorization, is it iter...
[1 reply] : The Binet formula, nearest integer to φ n /sqrt(5) Or you could cal... (by Cubbi)
some one explain this to me
 
Display the remainder of the square of numbers from 100 to 10. This square of numbers must be divisi...
[3 replies] Last: this question gave by our teacher and i also feel this question make n... (by tjnapster555)
dev c++
 
wht is "using namespace std"
[6 replies] Last: a namespace is something which is used to help limit scope. Let's s... (by Stewbond)
trouble with pointers
 
Hy there! Its my first time here, because i have not had a problem like this before. The program has...
[4 replies] Last: pom = (elt*)malloc(1*sizeof(elt)); pom = prvi; ... (by Catfish3)
Need constructive criticism for Quadratic equation calculator 2.0! (1,2)
 
Hello. I require constructive criticism for my new quadratic equation calculator, 2.0 Thank you. ...
[20 replies] Last: Better indented: #include <iostream> #include <string> #include <sst... (by Gerrit1)
Spot the Difference
 
I wrote a piece of code for a spoj problem, and after about an hour of struggling, I looked up the a...
[10 replies] Last: It works perfectly, and no I use no warning flags at all. g++ Script_... (by Script Coder)
Thread cant ignore void datatype?
 
Hi guys, I am new to the topic "Threads" but it worked so far. Sadly im struck now becuase the com...
[3 replies] Last: Here's a discussion on something similar some years back. I hope you ... (by kbw)
cas
 
Im trying to build a full computer algebra system in c++ Any examples?
[1 reply] : Do you want code examples: try http://www.sourceforge.com Do you want ... (by Script Coder)
The proper way to link separate projects?
 
I coded a platform independant layer for my library which all my other libraries will use. Everythin...
[1 reply] : If D uses B and C and they compile to shared libs then just link to th... (by naraku9333)
DLLs vs Static Libraries and Interfaces
 
Which do you prefer to make/use? I'm debating whether to go with static libraries so that I don't ha...
[5 replies] Last: this was a great read. (by DeXecipher)
Cannot convert to to pointer in initialization
 
I've defined a class with a copy constructor. Some sample code: Class* c = new Class(*this) // My ...
[4 replies] Last: I do not see any wrong in the statement Class* c = new Class(*this) /... (by vlad from moscow)
Pages: 1... 757677
  Archived months: [mar2013]

Cannot post in this page. To post a new message, go to the first page.