General C++ Programming - July 2013 (Page 19)

by rofln
Segmentation fault when trying to traverse tree
 
Hello. I am currently working on a Huffman code program for one of my classes. I've been working ...
[6 replies] Last: One issue is that the tree is composed of nodes that are in a vector a... (by cire)
I was wondering?
 
In java it is possible to light a led by simply sticking a LED into ceirtan holes of the printer por...
[1 reply] : The same way as in Java, you just need to set the appropriate pins to ... (by Duthomhas)
selecting elements from a group
 
Hi Hi, I have N vectors which look like this: [1→m] [m+1→2m] [2m+1→3m] [3m+1→4m] [4m+...
[1 reply] : Basically you need to compute m^N elements. This means that you need N... (by ats15)
Logical Error: Change value inside void statement
 
Hi there, I've encountered a slight logical error in my code /* Lab06_pensionplans.cpp Purpo...
[2 replies] Last: Hey thanks! :D I only done the question thanks to google, now I know t... (by shrayder)
classes and objects, pls can i get help with this?
 
1: Give a C++ class declaration called SavingsAccount with the following information: Operations (...
[no replies]
by Limne
Accessing Every File in a Directory
 
So I wrote a program to turn a binary file's data into an unsigned character array for inclusion in ...
[9 replies] Last: By chance, I've sort of just bumped into the source for the WALK progr... (by andywestken)
why am i getting mixed up strings when i am trying to append them end to end
 
so i tried string = string + string +string I dont the expected output in order I have tried...
[9 replies] Last: Okay thanks Disch, I thats really helpful, I like the effect the compe... (by devonrevenge)
Writing into files
 
Hello, i use VC++ 2010 express. I am making a windows form program. I want to make a program whitch ...
[2 replies] Last: If you display the output to a label, does it look correct ? It works... (by Nobody471)
by Wux
Escape sequences and characters
 
Hello, I am making my way through c++ primer (Lippman) and I have found the examples/exercise so far...
[5 replies] Last: @Wux How would you print "Hello Mad" with the "M" represented as hex,... (by whitenite1)
Stop Scientific Notation
 
double number = 10000000; int range; //the length of the string result string result; ...
[2 replies] Last: I knew it was going to be something so simple. Thanks for the help! (by Noobplusplus)
Multiple declaration of global 'delete' operator
 
Hey Guys, How can I declare global 'delete' operation multiple times? Like, I've an implementatio...
[3 replies] Last: It's not allowed, global allocation/deallocation functions can be repl... (by Cubbi)
RegSetValueEx BOOL
 
I need some help im writing an reading from the reg on startup of app an on close on close i can...
[4 replies] Last: When it comes to C++... bool is a built-in C++ native type which tak... (by andywestken)
by meesa
[C++] Multple c++ files causes "multiple definition" error?
 
I'm using multiple C++ files in one project for the first time. Both have need to include a protecte...
[5 replies] Last: I know this has been marked as "solved", but just to be clear: - you ... (by MikeyBoy)
object in c++
 
hi all is it possible to don't declare an object for a class and use the function of this class ? ...
[7 replies] Last: i mean in that code i loss and can not find it again... no this link, ... (by foozhan)
Problem with classes.
 
hello, i'm following a ebook i bought from game institute it says the following http://puu.sh/3D...
[3 replies] Last: And inside main, something like: int main() { Wizard Gandalf; ... (by mutexe)
Overloading operator for complex numbers
 
I have a program written to add 2 complex numbers. Everything is working, except when the sum gets ...
[12 replies] Last: For example complex_numbers::complex x(0, 0); (by vlad from moscow)
Pointer or &
 
The program should have a menu that allows the user to perform the following tasks: 1. To enter t...
[3 replies] Last: pointer (*) or dereference (&) pretty much have the same function with... (by rmxhaha)
Texture or Image?
 
I happen to be using Sfml for graphics and was wondering if I should use images or textures for spri...
[4 replies] Last: The main difference between sf::Image and sf::Texture: - Image is sto... (by Disch)
Conversions from textbox to string
 
Hello. I use VC++ 2010 Express. I want to make windows form app. I want to make something like this ...
[6 replies] Last: It's not an additional include you need here, it's another using state... (by andywestken)
Date Validation Help
 
How would I validate the date? Thank you. struct Inventory { char SKU ; char category ...
[4 replies] Last: How do I do #2. substr() won't work for me. I assume it's because I'm ... (by hungrytacos)
July 2013 Pages: 1... 1718192021... 34
  Archived months: [jun2013] [aug2013]

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