General C++ Programming - March 2010 (Page 8)

fun question!
 
suppose I have two binary tree traversals in preorder and postorder sequence. if there are n elements in the tree, how many different binary trees can I creat...
[1 reply] : By "forever" do you mean since your teacher assigned you the homework?... (by cnoeval)
Portable C++ GUI library: anything besides Qt?
 
People, if I'd like to have some stable C++ library for GUI implementation on as many platforms as possible, is there any better choice than Qt? Do I get it ri...
[4 replies] Last: There's also Gtkmm (by closed account 1yR4jE8b)
i hate linker errors!!!
 
can anyone help me figure out why these following linker errors occur: 1>------ Build started: Project: Dark GDK - 3D Game1, Configuration: Debug Win32 -...
[5 replies] Last: Project settings, Configuration Properties, General, then under "Use o... (by imi)
by imi
SFINAE and member template functions?
 
Hi, can I test on the existance of member function templates using SFINAE? I tried and get compile errors with VC. Seems like it does not accept pointer to i...
[2 replies] Last: I just remembered.. Functions whose pointers are used as template argu... (by imi)
How to make static constructor
 
Dear all,i'm new here..Nice to meet you all..I need help and guidance from all of you about C++ programming. Anyway, my problem now is, i don't know how to chan...
[11 replies] Last: You can do this: int main() { MyClass mc = MyClass::MyClas... (by guestgulkan)
Errors I do not understand
 
I'm trying to make a program that makes a table of conversion from Degrees Celsius to Degrees Rankin, where the user inputs the starting temperature and the inc...
[1 reply] : You're using the for loop wrong. It looks more like a while loop. ... (by Disch)
SALES DATA ANALYSIS
 
#include <iostream> #include <fstream> #include <iomanip> #include <string> using namespace std; const int noOfSalesPerson = 6; enum quarterType{QT1,...
[no replies]
by KezRst
Linker Error
 
After some google searching and forum browsing over the linker error "LNK2019" I've decided to make this forum post. I'm using SDL to create a 2D Snake game....
[2 replies] Last: That is the first place I looked, because I always try to exhaust all ... (by KezRst)
Calculate time of a snippet of a code... c++
 
How can be time calculated of a snippet or part of a c++ code(execution time of program)? in milliseconds... not dependent on cpu clocks. thnx
[2 replies] Last: #include <time.h> clock_t start = clock(); /*Time consuming code*/... (by mubaidr)
by ran1
Two dimensional arrays in c++
 
this is my unfinished codes: #include<iostream> #include<new> using namespace std; int main() { int i,n,c; int * p; cout<<"Enter student number of ...
[5 replies] Last: Sir, this is the full output can u help with the codes . I am doing i... (by ran1)
by imi
Fast STL-container concatination iterator?
 
Hi, has anyone an iterator template lying around his toolbox which iterates over two STL containers? Couldn't find one in boost. Basically, I want to use one...
[no replies]
by milad
LZMA SDK
 
I am trying to use LZMA SDK to compress a file in my program. I have download the SDK but I don't know how to use it. Can anyone tell me what steps I need to ta...
[4 replies] Last: apparently there is CreateProcess() but I don't know how to use it and... (by milad)
by ckp
need assistance with homework
 
Hi, Can someone please help me with this homework?? thanks A Human Resources Department wants a report that shows its employees the benefits of saving for ret...
[4 replies] Last: see this: http://www.cplusplus.com/forum/articles/1295/ the important... (by hamsterman)
Function pointers and inheritance
 
Hi All, This is more of an aesthetic problem I have. My project (in bold the class names): Creating a simple game engine using OpenGL (Qt style) There is...
[8 replies] Last: As hohums said, Loki's functor, boost::function or std::function provi... (by imi)
recursive descent parser
 
anyone have an RDP program that can handle the following grammar? <elist> -> <elist>,<e>|<e> <e> -> <n>^<e>|<n> <n> -> <n><d>|<d> ...
[3 replies] Last: Who tokenizes integers like that? (by helios)
by helios
Typecast operator overloading
 
I have an array A of T *, and I want to make sure that A is never used without locking the mutex M, while changing as little code as possible. What I thought ...
[4 replies] Last: And do you need to lock access to the object or to the pointer? The p... (by helios)
by qabil
Make a driver
 
hey all, I want to know.. is it possible to make a driver? please give me the concept.. (note: driver such as: modem driver, sound driver,etc.)
[6 replies] Last: opensuse,cdma phone modem,... is it posible? (by qabil)
Where are strupr and strlwr?
 
In what library are the strupr() and strlwr() prototyped?
[3 replies] Last: You can do your own easily enough: C #include <ctype.h> char* ... (by Duthomhas)
by ran1
two dimensional arrays in c++
 
hello ,, can you give me some example of two dimensional arrays program in c++ because i have no idea with the codes ...I am searching to others pages but i d...
[1 reply] : int array2D ; array2D = 123; cout << array2D ; http://www... (by Bazzy)
by hohums
Compressing an array of shorts
 
I've got an array of shorts I want to compress. The probability of one short being close to the next short is high and there will rarely be the same short 2 ti...
[4 replies] Last: Sorry I think I miss understood what you were saying. So what compres... (by hohums)
March 2010 Pages: 1... 678910... 23
  Archived months: [feb2010] [apr2010]

This is an archived page. To post a new message, go to the current page.