General C++ Programming - April 2010 (Page 20)

C++ question
 
Hello all you pros out there. I have a question. First off I have taken an intro to c++ class last...
[11 replies] Last: Wait... fifth? I have the fourth from last summer... Where's the fift... (by tummychow)
Next C++ book to read?
 
I am finishing up reading "C++ Programming, 4th Edition: From Problem Analysis to Program Design" an...
[1 reply] : http://www.cplusplus.com/articles/Grey_Wolf6/ It's going to depend a ... (by tummychow)
by RET80
using const char*[] and compile time errors
 
Hello folks, new to the board. I have a compile time error in my C++ program that reads: error C...
[2 replies] Last: bingo, totally fixed. Thanks! (by RET80)
by meesa
[C++] for_each() gives errors C2896 & C2784
 
Here is the code: #include <algorithm> #include <iostream> #include <vector> using namespace ...
[5 replies] Last: Thanks. (by meesa)
what is the function of "extern" in C++
 
Dear all, I have problem to understand what is the function of 'extern' and how to use it..?..Ho...
[7 replies] Last: dont forget to put extern "C" inside #ifdef __cplusplus, otherwise c c... (by writetonsharma)
question about boost static library linking
 
maybe not a right board to ask boost questions. but it is quite intriguing for me and may be helpful...
[3 replies] Last: probably some #pragma nested in a million #ifdefs magic/hell. (by Disch)
vector definition question from a beginner
 
I have a code which defines a variable in a function in the following way: vector<vector<char> > ...
[4 replies] Last: Take this for size: #include <vector> using std::vector; v... (by closed account S6k9GNh0)
Cyclic dependencies
 
Hello, I am currently in the process of creating a small game using SDL. I have been working on a...
[5 replies] Last: All those are talking about cyclic dependencies between modules, which... (by helios)
fastest way to get the type
 
Here's what I have: struct Apple{...}; struct Banana : Apple{...}; struct Cyanide : Apple{...}; s...
[15 replies] Last: ha! next exercise...triple dispatch! (by choisum)
Which is faster static or dynamic linking?
 
Which is faster static or dynamic linking? How much performance improvement can dynamic linking yie...
[7 replies] Last: In my scenario, it would be the "link time of whole project + load tim... (by imi)
can anyone explain this for me?
 
function A*(start,goal) closedset := the empty set // The set of nodes alread...
[1 reply] : This is how it works, but its been a while since I looked at it. ... (by caswal)
compile error with inline/non-inline function
 
I have a class with an enum and a simple method like this; class MyClass { enum Code { A,...
[4 replies] Last: because MyClass::foo can not see the Code (by wellman)
DLL files for Excel
 
I am a relative newcomer to C++ and am limited to writing console applications at the moment. I wou...
[1 reply] : I imagine there should be something of use here: http://msdn.microsoft... (by helios)
Binary
 
This is a question on generating a binary executable for a specific purpose. I have a tool (pinto...
[2 replies] Last: You have to separate the compile and link stages. So you can control t... (by choisum)
Priority queue push and pop operations
 
Hi, The STL tutorial on this site says the push and pop operations of a priority queue is O(1) in...
[no replies]
Adding c-string
 
This assignment requires that I allow a user to enter a string of numbers without any spaces and add...
[1 reply] : You can convert the ASCII character '0' to the decimal value 0 by subt... (by jsmith)
HugeInt class/data type
 
i am doing a project at school but i am having problems that even my instructor can't help me figure...
[7 replies] Last: Both Duoas and I pointed out the problem in our posts. (by jsmith)
Array Creation at run-time in c++/Linux
 
Dear Friends, I have a text file from which i read a number of names with their lengths at the ru...
[9 replies] Last: Well c++ is a totally different language. I'm not sure why it matters... (by kempofighter)
Does this modulus operator function work for all integers?
 
Does the following modulus operator function work properly for all integers? /*------------------...
[1 reply] : The built-in integer type operators are defined for all built-in integ... (by Duthomhas)
by qabil
without registry
 
how we make our program can runing at start up without using add key in registry
[5 replies] Last: roger that.. thnx brot (by qabil)
April 2010 Pages: 1... 1819202122... 24
  Archived months: [mar2010] [may2010]

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