Beginners (Page 53)

Heap Corruption in overloaded operators
 
I've been building a Big Integer calculator. If I use a member function to multiply the BigInts toge...
[2 replies] Last: The problem was in my overloaded + and my setdigit functions apparentl... (by BAC Sun)
Turning a non-constant value into a constant
 
I'm writing a program where I need to count the number of integers in a given file, then pass those ...
[6 replies] Last: Make it bigger than you are likely to ever need. If you think you ne... (by jonnin)
Problem with List Control in visual c++
 
Hi everyone! I have problem using list control in visual c++. I tried to create a table which appear...
[no replies]
Formatting the output..
 
Hi, My program prints out on the console numbers up to a number specified by a user and prints all t...
[3 replies] Last: This is a way of checking if you're at the beginning of a line (numOu... (by dhayden)
What exactly are global variables?
 
My professor specifically told us not to use global variables for our assignment. From my understand...
[2 replies] Last: There are globals, but they are there for a good reason. The std::cin ... (by keskiverto)
by IneedC
Else without If
 
I was working on my If statements and watching a video that goes along with it. I am almost certain ...
[8 replies] Last: your problem was already explained, but to answer: there is nothing e... (by jonnin)
Reversed number
 
I've got to display all of the prime numbers(the numbers MUST have 4 digits),which's reverse is stil...
[2 replies] Last: Here's how you would print out the reverse of an int. #include <cmat... (by integralfx)
Something that I do not understand about member functions in Classes.
 
I need someone to explain this to me because I am slightly confused. When using public member functi...
[3 replies] Last: Thanks guys, That helped :) (by MisterTams)
by pumzye
ADT class not compiling
 
Hello Guys Thank you for helping me, my ADT class is not compiling , how do i fix it ? regard...
[9 replies] Last: [quote=Jib]you really only want close friends to have access to your p... (by LennisTheMenace)
PATTERN PRINTING
 
I am getting an error on line 32 and I am not sure why assignment: Write a program that uses nested ...
[3 replies] Last: Hello cristina999, Upon further investigation I found that the for lo... (by Handy Andy)
First n prime numbers
 
I've got to display the first n natural prime numbers,n being introduced from the keyboard. Example...
[1 reply] : You already had: http://www.cplusplus.com/forum/beginner/210934/ If t... (by keskiverto)
Tracing recursion better
 
Hi everyone. I'm currently learning recursion in college right now (not asking to help solve hw) and...
[3 replies] Last: You only need one parameter: the number of stars in the line: // Draw... (by dhayden)
Prime numbers
 
I've got to display all of the prime numbers in the [a,b] interval,where a and b are introduced from...
[2 replies] Last: I am here just to say about efficiency. This is not efficient algorith... (by bokisof)
Text editor in vc++
 
Hi everyone! I need a good tutorial about creating a text editon in vc ++. Actually I need to "send...
[5 replies] Last: CString buffer; CEdit *pEdit = (CEdit*)GetDlgItem(IDC_EDIT1); pEdit-... (by Thomas1965)
Derived class doesn't call base class default ctor
 
Hi guys. Here is the code #include "stdafx.h" #include <iostream> using namespace std; ...
[5 replies] Last: http://stackoverflow.com/questions/21558/in-c-what-is-a-virtual-base-c... (by kemort)
How to prevent file.open() from displaying file's contents
 
I am a beginner to C++, so please keep it simple. I am currently learning how to work with files, an...
[5 replies] Last: What he is saying is that the act of opening a file does not display i... (by jonnin)
QByteArray stores wrong value;
 
i have this code QByteArray id = "\x98\x33\xB5\x14"; the problem is when i qDebug() id...
[3 replies] Last: It is not the wrong value. Read the documentation for QDebug::operator... (by Peter87)
What is the difference between an array and a sequence?
 
I know what an array is, I recently learned what my professor calls sequences, they are basically ar...
[9 replies] Last: arrays vs sequences is interesting in that mathematically they are the... (by kemort)
Finding the the sum of n amount of cubes
 
I am having difficulty writing a function for my program. I have to first ask the user to type in an...
[6 replies] Last: ^ is xor, a logical operation. you want pow(n,3) or n*n*n (faster, po... (by jonnin)
How do i Pass values from one array to another?
 
hi there, i was making a program that segregates numbers that are divisible by 2 3 and 5. everything...
[2 replies] Last: Hello redhood, PLEASE ALWAYS USE CODE TAGS (the <> formatting button)... (by Handy Andy)
Pages: 1... 5152535455... 69
  Archived months: [feb2017]

Cannot post in this page. To post a new message, go to the first page.