General C++ Programming - March 2012 (Page 37)

curl library errors
 
I am getting the following errors when i try to include easy.c : easy.c:318: error: expected identi...
[3 replies] Last: > I couldn't find curl_easy_init in curl.h Then you don't have curl/... (by JLBorges)
by viliml
polish notation
 
I am trying to make a code for polish notation, but it doesn't work. Here's my code: #include <cst...
[2 replies] Last: no i mean single digits becouse it won't work with multi-digit numbers... (by viliml)
by cbrew
Iterative inorder traversal BST
 
it outputs 7 infinite times. 7 is the smallest number in the tree. void iinorder(treetype *stack ,...
[3 replies] Last: That's because you are trying to pop from an empty stack. while(!do... (by ne555)
who can help me in this poblem
 
Hello there i'm a new student in c++ and I need your help guys please in my assignment ----------...
[9 replies] Last: @therockon7throw thanks bro I appreciate that (by thepoor)
Public vs private inheritance?
 
In my comp sci class today, we learned that C++ allows the inheritance itself to have a visibility. ...
[3 replies] Last: What does that mean? public inheritance is the "is-a" relationship.... (by Cubbi)
Returning a value from a function
 
I have almost figured this program out...but I need to be able to return the values from the functio...
[7 replies] Last: Congrats :) (by Krahl)
std::sort implementation
 
Can someone point me to the std::sort implementation? I need to know if it uses new to allocate m...
[4 replies] Last: No, it does not use new (or any other allocation function) to allocate... (by Cubbi)
Game structure
 
Ok so ive been working on a mario clone game for a while and i realized that if my code continued to...
[7 replies] Last: http://code.google.com/p/cpp-events/ (by Azagaros)
Placement new operator
 
Does it make sense to catch for exceptions after placement new operator? Thanks!
[2 replies] Last: Well, if I understand correctly, placement new will construct an objec... (by webJose)
How can a function return an array?
 
I read some article that said that this was possible: declaring the function Double GetNumbers() ...
[4 replies] Last: Are there any good alternatives? Normally such functions return vect... (by Cubbi)
Encrypt string or source
 
hi guys i have source c++ i want encrypt source or some string... coz after compile the c will be e...
[3 replies] Last: Giving complete solutions is frowned upon here. Depending on how stron... (by shacktar)
by nivek
Class pointer.
 
class class1 { //variable declaration }; class class2 { public: int func(void *msg); /...
[2 replies] Last: Thanks..now i get it (by nivek)
Debugging
 
missing function header [old-style format list?] what does it mean? what are the things i need to do...
[2 replies] Last: Based on all his other posts, I'm guessing he stuck a semi-colon after... (by Moschops)
HEX to DEC
 
Hello Does someone knows a good HEX to DEC converted written in c++? I wrote one but it only works...
[19 replies] Last: Sorry, I'm just sloppy and impatient sometimes. My code should have b... (by Texan40)
Structures and Limits ? Need help
 
hi guys, saw this code and added a structure...is it possible? if not is there another solution ? ...
[1 reply] : You have an array of profile called voter. Accessing any profile with... (by Texan40)
Static vs dynamic binding
 
What's the difference between static and dynamic binding. I'm reading my C++ book and can't wrap my ...
[4 replies] Last: In a very simplified explanation, static binding occurs at compile tim... (by clanmjc)
abstract methods?
 
What is the equivalent in C++ of an abstract method in Java? What's an example of the C++ syntax for...
[1 reply] : look up the `virtual' keyword (by Texan40)
friend
 
What is the conceptual purpose of the C++ reserved word friend? What does it enable that would not o...
[1 reply] : The friend of an object can access private and protected members from ... (by ciphermagi)
error C2447: missing function header (old-style formal list?)
 
#include<iostream> using namespace std; int main(); { //1 char board = {}; bool in...
[7 replies] Last: You ADDED cdecl main(void) ? Why would you do that? What are you com... (by Moschops)
copy one string into another
 
how to copy one string into another using LOOPS.(i am talking about default string class)?? the cod...
[7 replies] Last: [quote=LB]It is more efficient to either use operator= or to resize st... (by LB)
March 2012 Pages: 1... 3536373839... 49
  Archived months: [feb2012] [apr2012]

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