General C++ Programming - February 2013 (Page 31)

displaying variables from a function class
 
Hello, I am very new to C++ can some one help with the following problem. I am trying to display a v...
[2 replies] Last: Thanks for your help that worked I am also changing the variables and ... (by jdwwap5)
Equation help
 
void Layer::DrawLayer(int maxx, int maxy) { SDL_Rect loc; loc.x = 0; loc.y = 0; for (int i...
[6 replies] Last: holy cow it work thank you :O :D :3 <3 (by tianajrp)
Shortest path through sudo-linked list
 
Hello everyone, Ill start out by saying im not an extremely experience programmer by any means. ...
[2 replies] Last: As your `weights' are all the same, you could simply use Breadth-First... (by ne555)
class destructor and new and delete
 
Hey peoples, This should probably be posted in beginner forum but it looks pretty busy in there. I ...
[3 replies] Last: K thanks guys was trying to avoid a lot of stuff I clearly should be d... (by cPlusN00b)
Multiple inclusions of a Header File
 
I'll start with my code. #ifndef H_cylinderType #define H_cylinderType class cylinderType { publi...
[11 replies] Last: Like I said, I was re-working it. This is what I've come up with: #if... (by menious)
Declaring arrays
 
I haven't posted on this forum before, so sorry if there's some type of etiquette I'm missing, or if...
[7 replies] Last: I see... So, I was misunderstanding the way the compiler works by assu... (by lastDollar)
by hvigil
How to create a container class.
 
Can anybody show me an example. I know that it's a class that contains data from another class I jus...
[1 reply] : There's a nice example of a bag container here: http://www.cplusplus... (by AbstractionAnon)
C++ Problem
 
If/Else Homework A “magic” number is an integer in which the number is equal to the sum of the ...
[2 replies] Last: Hey double posts, the above works or I posted the solution in your oth... (by rcast)
by Qedg
Panda3D and load_model
 
I am new to panda3d and am trying the hello world. I have gotten the program to run with just: ...
[no replies]
Why my palindrome dont work help me please
 
here is my code, the issue is its not determine if the value is a palindrome or not. // unit 5b....
[1 reply] : You never call the isPalindrome function. There is also a problem wit... (by Peter87)
find empty inventory slots
 
I made two dimensional array to represent my (game) inventory. Slot is empty if its value is 0 and ...
[2 replies] Last: Yea, i got all wrong with rows and columns, should be 2x4 to find. Loo... (by morando)
non restricted and restricted linear data strcutre
 
can linear and non linear data structure can be used together in a program
[4 replies] Last: so its measn that restricted and non restricted linear data structure ... (by newworld)
Matrixoperations (with Eigen?)
 
Hi, I have two 3 dimensional descritest curves describt by 3 double arrays per curve (each curve ...
[no replies]
Data structure in C++
 
To check if a set B is a subset of A or not. Which data structure to be used to store set A for quic...
[1 reply] : It is enough to sort the both sets and to use standard algorithm std::... (by vlad from moscow)
header file
 
Hi all, i just joined here. I appreciate if you could help me debug my code. i am using dev-c++ and...
[3 replies] Last: Thank you cire. The problem was that I had not added them as a project... (by farzadyousefian)
Help please
 
Hello everyone... can anybody help me with that please! which component like a memo, the c++ b...
[2 replies] Last: ty for answer. And where is Qt in c++? (by steliosc1)
Why Not Printing Simple Character?
 
I am reading a character from file '☼' this character is typed in notepad by pressing (ALT+15), no...
[1 reply] : "☼" is no ASCII symbol, it is UNICODE. if a character is in unicod... (by DonLuccar)
fscan bad pointer
 
What's wrong with this code? if (myPlayerFile) { int data = -1; string lol = ""; ...
[8 replies] Last: you're welcome :) (by Fransje)
nested switch
 
can anyne plz give me a program that can be used with nested switch and if else statement and give s...
[no replies]
Sorting 2 Dimensional Array problem
 
Hi, I am new in C++ programming. I got a question that I don't know how to answer. It is about so...
[2 replies] Last: But i need to arrange them . I need to accept 5 different names and ar... (by danielZX)
February 2013 Pages: 1... 2930313233... 43
  Archived months: [jan2013] [mar2013]

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