General C++ Programming - July 2012

Question: Vector and Modulus error
Hello all, I'm having trouble understanding the nature of the error I'm getting. I wrote a function ...
[2 replies] Last: Ah I see, thanks. (by closed account GvCfSL3A)
by xDJ23x
Have a couple errors.
I just have a couple errors. Help appreciated! invalid conversion from 'int' to 'Tree*' [-fpermis...
[2 replies] Last: Ok first thing, You are declaring the classes but you have to define ... (by jmadsen)
by arusa
first we enter the name in string then we separate that name character by character then we encrypt ...
[2 replies] Last: Yea not very clear. is this what you are talking about? std::s... (by jmadsen)
Passing and returning a temporary object
Passing a temporary object to a function works perfectly by const reference, and gives you know warn...
[4 replies] Last: @ ToniAz : I recommend reading Scott Meyers' "Effective C++" , and "... (by closed account zb0S216C)
How do make a file with a custom name?
I want to be able to make a name of the file for my zip to cbr converter. #include <iostream> ...
[8 replies] Last: Right, it's because open is a member of ofstream and not string. (by ToniAz)
Nested Structures/Unions defined in C/C++ header files conversion to XML
I have a structure represented as follows: (Example) struct struct3 { struct structchild4 ...
[no replies]
C++ errors?
I want to learn programming, and landed at C++ I'm very new at coding, but my problem lies at the s...
[3 replies] Last: Not only do I feel stupid for that mistake, but cause it now works, I ... (by Mikaachu)
undefined reference to vtable
I am trying to create a blackjack simulation. There are two Player subclasses (SimplePlayer and Cou...
[4 replies] Last: Are you limited to the two subclasses only in the hierarchy? Meaning,... (by clanmjc)
Open GL with Visual C++ 2010
I have problem with doing the graphic- OpenGL, can give some advices as I could not proceed to test...
[3 replies] Last: I am getting know where. Possible to help with the creation of polygon... (by tuanann)
Operator Precedence
Hi everyone. I've some questions about Operator Precedence. 1. What is value of this code. int a...
[13 replies] Last: Very good Cubbi. I now understand it, but could you explain your reply... (by MRRITE)
maze program rewrite, need help
ok i have a amazing.cpp which works, one must load a file from CMD prompt and have a txt file with a...
[1 reply] : If you want to do this with recursion, consider the following: A cell... (by AbstractionAnon)
MySQL: Connector/C++
Hello people, I want my programm to work with MySQL. I've downloaded the 3rd package from this w...
[no replies]
by sakthi
Getting problem in char* dynamic memory allocation
I am using Visual C++ 6.0. When I am trying to allocate memory dynamically for a char*, it is not al...
[4 replies] Last: Thanks for the explanation. (by sakthi)
C++ dllimport works correctly in windows xp but not in windows 7???
Hi there all, We have a web application that generated with visual studio - C sharp, just loaded ...
[8 replies] Last: Thank you webjose will look for it... (by symeramon)
This may be a tough one to answer
This is code that I'm working on for a VST audio plugin. Incase people don't know, it's compiled as ...
[12 replies] Last: Ah yes, because the way I currently have it, it will wait until offset... (by LittleStudios)
Program Structure
Hello, Im a novice to programming. I just wanted to know if anyone could direct me to a site with fa...
[3 replies] Last: He wanted to see structure, so I thought having a function besides mai... (by hanst99)
by srbbff
Method for a class with matrices
Hi all, I am new in this forum and a novice in c++ programming in general, so please bear with me...
[5 replies] Last: The intention is to create a matrix with n rows (hence the outer for-l... (by srbbff)
by sprb
calling CUDA API using C
i want to call a cuda API NVGetHWEncodeCaps and write my code in visual studio 2008 and have these e...
[no replies]
Don't understand implementation of linked lists for stacks
I am having a hard time understanding the C implementation of a linked list for a stack. From what I...
[3 replies] Last: STACK **head is a pointer to a pointer to the top of the stack. STACK... (by Peter87)
First time library - simple file - does not name a type error
Okay so I'm writing a simple program - so far with just 1 header and 1 .cpp file to go with it. I'm...
[3 replies] Last: Well, in C++, if you're going to inherit from an object, that objec ty... (by Moschops)
July 2012 Pages: 123... 30
  Archived months: [jun2012] [aug2012]

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