General C++ Programming - February 2011 (Page 13)

what are the ways to test for memory leaks?
 
as above? how do I find out if my program leaks memory?
[2 replies] Last: Run it under valgrind, which will tell you upon ending how many bytes ... (by Moschops)
Manual Vector::clear() problem
 
Clear - removes all elements in vector. I know that I can #include <vector>, but this assignment has...
[1 reply] : Post the vector class (declaration). (by hamsterman)
by njapra
Find Maxima from Text File
 
Hello everyone, my objective is to find the maximum number from a text file containing 1000 numbers,...
[2 replies] Last: John2, Thank you for pointing out this small but 6 hour long problem.... (by njapra)
Vector UML
 
Here is the question: (Implementing vector class) The vector class is provided in the standard C++ ...
[13 replies] Last: I found another error. Try to push_back a value then clear the list ... (by onur)
How to print void
 
I rebuilt the vector class and I'm having problems with using cout to display a void vector. whi...
[1 reply] : The 'pop_back' method merely removes the last element of the vector an... (by krishnendu)
finding plugin orgin in a window
 
is there a function for finding the origin of a flash plugin in a browser window with c++? i'm attem...
[3 replies] Last: nope, no help there.. is there a way to utilize the plugin-container.e... (by jteally)
Write Access Violation with Itoa
 
I've never had this kind of problem before, it's just started coming up recently. It seems that no m...
[4 replies] Last: Thank you very much! I just learned something very important about C++... (by Gatleos)
compilation error - undefined symbol
 
hi all, i was compiling my program until i hit this error: ld: 0711-317 ERROR: Undefined symb...
[1 reply] : That directory is just somewhere the compiler looks for libraries. You... (by Zhuge)
How buggy exactly, is VSE C++?
 
Because I am getting red underscores saying my cins are 'ambiguous', even though I didn't really cha...
[7 replies] Last: I wouldn't use getch() regardless. That's a conio.h function, is it no... (by Zhuge)
total safety, is it worth it?
 
Methods have preconditions and postconditions. When the precondition of a method is not met, there i...
[8 replies] Last: [quote=Duoas]you clearly need to work more on learning than rationaliz... (by simeonz)
How would I compare a char to see if it was up, down, left, or right?
 
(I originally posted this on the Beginners board, but wasn't getting any replies there, so this is a...
[4 replies] Last: http://www.cplusplus.com/forum/beginner/36410/#msg196998 conio? I tho... (by ne555)
I can change the background color of the console, but not the foreground?
 
When I try changing the foreground and background color of a piece of text, the foreground is always...
[2 replies] Last: Yeah, I was using a tut on colors. I'll check out MSDN first from now ... (by TheOtherIsland)
Problems with pow()?
 
Hi all. I've had a hard time writing the typical program that converts a string containing only dig...
[2 replies] Last: Yes. That warning was the one that pointed me to the "solution". If, i... (by fernando)
How do I make a member in my class an array
 
So I have this class Gaus. I want Gaus to have a member lambda which is of type double . How do I s...
[4 replies] Last: thanks! (by dunsondog109)
Problem in my code...possible memory leak...?
 
I have a program that I've written...basically the problem starts when I reach the condition to hit ...
[4 replies] Last: This code doesn't seem to have any obvious memory leaks. A quick analy... (by Zaita)
method that returns an array of doubles
 
I try creating a method that returns an array of doubles, but I get an error message when I try to c...
[3 replies] Last: double getLambda() wont work. Write double* getLambda() if you ar... (by hamsterman)
ld.exe cannot find -lcurl
 
I'm making a project that's going to use the FTP features of libcurl. Because I am planning on dist...
[10 replies] Last: Maybe libcurl.dll is missing? (by JoR)
Unkown error
 
I am trying to make a program that finds the smallest number with the most divisors,which is the num...
[7 replies] Last: Thx allot simeonz you helped me so much. (by catawar2)
by mido22
converting words to numbers wanted code
 
i want a program to convert words to numbers for example Input: one hundred twenty three thirty f...
[2 replies] Last: thx very much i will try (by mido22)
How To Deal With User Pressing <Enter> When Prompted For An in (cin >> int)
 
I'm working on a menu based program. The actions performed are based on an integer that the user inp...
[15 replies] Last: yes thats helps thx (by M364M4Ncro)
February 2011 Pages: 1... 1112131415... 25
  Archived months: [jan2011] [mar2011]

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