General C++ Programming - January 2012 (Page 32)

error of overloaded function
 
Hi all, I have the following simple example of function overload, but I can not get it to run cause I get the following error message: error: call of overloade...
[3 replies] Last: If you don't know the answer, no question is stupid. :0) (by closed account 1vRz3TCk)
by Leko
Flash ADC on C\C++
 
Hello, can somebody help me with the algorithm of ADC?
[no replies]
partially private inheritance?
 
Is there a way to make only some of the base class members private while leaving the rest public?
[3 replies] Last: If you want some of the public members of the base class not being ava... (by eypros)
Pointer to member function
 
Hi, i have a problem in pointing of functions. If i use just C it looks like: double Func1 (double x) { return x; } double Func2 ( double (*f) (double), do...
[2 replies] Last: Wow, it works! Thanks :) (by Stas Kubrak)
cv::Mat OpenCV error
 
hi, i have opencv2.1 and coding in Visual C++ 2010 Express in 64bit computer. I didn't have problems before, I could work my other codes, however the following ...
[no replies]
Callbacks in C++
 
Can some one plz explain how to implement calbacks in C++..Describing with respect to classes not just plain functions?
[1 reply] : Here are some examples and documentation. The callback implementations... (by closed account S6k9GNh0)
by abc1
doubt in objects creation
 
Can the objects in c++ created without using constructor? For example in the following code class value { int a; public: void getdata(int a) { cin>>a; ...
[12 replies] Last: value v = new value(); will do same work......... If it is a no-arg... (by sohguanh)
referencing element in vector of vectors
 
If I have a vector of vectors defined: static vector< vector<int32_t> > coeffTable; Is this not the correct way to reference an element? vector<...
[5 replies] Last: Ahhh, OK. I got it now. So, my iterator assignment is now: iter = c... (by mzimmers)
implementation question: friend vs. gets
 
Hi - If I have a program that creates objects of two different classes (A and B), and B contains other objects (BB), which in turn contains still other objec...
[3 replies] Last: Only use friend when writing global namespace operators (such as strea... (by LB)
Trying to make a time system for a game
 
I'm trying to figure out how to create a time system for a video game, but the ctime reference is garbage for somebody who has never toutched that library befor...
[9 replies] Last: i know the basics, the problem is that there is no are between basics ... (by jblevins1991)
refreshing c++ grid w/ multidimensional array
 
i made a multi dimensinoal aray for a battleship game, and the game is going to have a grid full of 0's, and if the user hits the ship, it turns the 0 to a 1. i...
[2 replies] Last: int grid ; //grid for battleship void print_num(){//function for re... (by ramus313)
Programming Challenges - JollyJumpers
 
Hey Guys, I have been coding this out for a while and I can't find a problem with my code, yet the online code judge says I give a wrong answer. Can you guys f...
[9 replies] Last: ne555 thank you for the intelligent response. I like that while loop,... (by keeyon2)
Using find method in LinkedList
 
I'm new to c++. I was studying data structures and came to know Linked Lists Lately. We had a problem of finding an item stored inside a linked list and here's...
[3 replies] Last: What is the run time error? What have you done to debug the program? ... (by kempofighter)
Card games!
 
I'm an aspiring game developer (a senior in high school) hopefully going to a college with a prestigous game program (Michigan State University) and I'm beginni...
[no replies]
bisection method
 
Hi guys I was trying to write a program to find roots by using bisection method and got stuck up with a problem #include <iostream> using namespace std; doubl...
[6 replies] Last: I haven't reviewed everything in the above but, I doubt the line r= 2... (by rollie)
by axtroz
Running functions in the background
 
Greetings! I am not sure if this should be here or at the Beginners' forum but, it's a bit complicated in my opinion (at least for me), and since my English is...
[4 replies] Last: Thank you! (by axtroz)
by Ren78
problem whith c++ program
 
can execute this program,if somone can help please... #include "stdafx.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> ...
[3 replies] Last: come on bluecoder... can't you just figure it out for him? (by ceruleus)
How to delete vector class objects..
 
Hi! First of all I want to wish you a Happy new year! :) First of all you need to know that i am new to C++, and i apologize for the things you are going to se...
[17 replies] Last: thanks L B , I should have thought about that . (by bluecoder)
What could be the cause of the std::system_error?
 
I am trying to making this loop concurrent : for(auto x=args.begin();x!=args.end();x++) { list l; if(is_list(*x,l)) *x = l.eval(); } ..and con...
[3 replies] Last: My list is here : https://github.com/manasij7479/minlisp/blob/master/l... (by manasij7479)
postfix expression evaluation help
 
I have a program where i need to enter a postfix expression, and then it will evaluate it. All of the code was provided for the most part, but im having trouble...
[4 replies] Last: expStack is empty. (by bluecoder)
January 2012 Pages: 1... 3031323334... 36
  Archived months: [dec2011] [feb2012]

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