General C++ Programming - April 2013 (Page 33)

2 Questions please help
 
My first question is that I am confused as to why in this program on line 18 bad_alloc has a & next ...
[10 replies] Last: Ok thank you :D (by Anmol444)
by hannah
Fractal Zooming
 
Hello I'm trying to zoom into a fractal and to do this I'm using mouse click to calculate where the...
[3 replies] Last: If you want to use multiplication, you have to define a zoom factor. I... (by toum)
Exercise for a Library
 
Hello all! I am new here and almost newbie with C++. I have an exercise for my Library and I would l...
[7 replies] Last: Any suggestion? Thanks! (by azioupos)
by Smac89
Getting runtime error
 
Hey guys, I wrote this program which compiles and runs properly on my computer. However when others ...
[6 replies] Last: Thanks cire , now I just have to eliminate the new bugs and hopeful... (by Smac89)
HELP this array is kicking my butt
 
it compiles and runs, it gives me the average and the highest score but says lowest is 0 even though...
[2 replies] Last: thankyou a second set of eyes is always a help (by latewrong)
problem with function overloading
 
I don't know why the compiler always says the 8 `double poly<double>::x' is private and 36 for `...
[2 replies] Last: #include <iostream> using namespace std; template<typename T> class ... (by DANNY123)
Quick Question about int division
 
Hey guys I'm just wondering would this: int value = 1; value = value/2; cout << value; out...
[8 replies] Last: Woah Live work space is awesome. thanks! And I just did like vlad fr... (by infinity42)
C++ IF STATEMENT
 
I don't know if can actually do this in c++ but how take information save from data file or text fi...
[no replies]
C++/FLTK
 
Solved
[1 reply] : And? What's the problem you're having with the code you've written? (by MikeyBoy)
Question about menu system
 
im making a menu system to change the color of pixels in a gravity engine i made. the engine works f...
[1 reply] : MAYBE the problem is that your colorsOfPixels array is only 7 fields ... (by plexus)
by rgork
Problem with header file inclusions
 
I have a class Myclass (for the sake of the example). I have a header file 'space.h', which is follo...
[4 replies] Last: Ahh, that helps a lot. (by rgork)
C++ GUI
 
Hello all, I had to write a program which I have completely finished and works fine but none of th...
[4 replies] Last: I'm pretty sure nobody really likes to help if you post 500 lines of c... (by plexus)
HashTable remove function
 
I am very new to C++ and I am working on creating a program using HashTables. This is for homework. ...
[5 replies] Last: updated remove function. now does not crash. It also does not work c... (by cire)
by Dk786
working with bitsets some advice please
 
hi ok so i have this scenario: i have a bitset; e.g. bitset<16> mybitset (string("1000000000000...
[7 replies] Last: @JLBorges thanks for your solution, after i modified it a little it wo... (by Dk786)
Using one (dedicated) vector per thread (OpenMP)
 
Hello everyone I recently picked up multithreading with OpenMP, so it is still new to me. While p...
[1 reply] : http://en.cppreference.com/w/c/thread/thread_local Maybe that's what ... (by Bourgond Aries)
inheriting template function.
 
Sorry if my English or my coding conventions are bad. std::list is the STL list. I am trying to ma...
[no replies]
by codder
C++ Error handler
 
Hello, I want to know what are the best ways to deal with errors. Basically I want to stop runni...
[2 replies] Last: throw an exception. If it will be left unhandled it will stop your pro... (by MiiNiPaa)
by olms
output problems
 
Current output: Unsorted Data: 1 2 3 4 5 6 7 8 9 ...
[7 replies] Last: for (int i=0; i<size; i++) { cout << setw(7) << A ; if ( i % 12... (by vlad from moscow)
by Jace
Issues in function
 
#include <iostream> #include <cwchar> #include <string> #include <Windows.h> using namespace st...
[3 replies] Last: Your while condition should be immediately after the do block, not... (by MikeyBoy)
by Aybol
Total number of "lucky" tickets in given range.
 
Hello everyone! I would be very greatfull if someone could help me. I was given C++ task. Could anyo...
[1 reply] : unsigned long first, last; std::cin >> first >> last; unsigned int lu... (by MiiNiPaa)
April 2013 Pages: 1... 3132333435... 53
  Archived months: [mar2013] [may2013]

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