Beginners - October 2014 (Page 45)

Question about 'strcmp'
 
I'm just wondering if I did the strcmp string correctly, if I didn't then what is the right way? Cau...
[1 reply] : You have to allocate space for the string. char colour , frame ; a... (by liuyang)
Having trouble figuring this out
 
I'm supposed to write a program that reads a series of numbers from the user and output when was t...
[2 replies] Last: I figured it out. Thanks for the help! (by Mr Raptor)
old version of "programming: principles and practice using c++"
 
I started learning c++ recently, and I just got the book __, but im pretty sure that it is an old ve...
[no replies]
Decomposition an integer into powers of three
 
I am trying to write an algorithm that decompose an integer that the user inputs into powers of thre...
[1 reply] : Anyone would offer some insight? (by DeathLeap)
by cGuru
Let The User Specify Array Size
 
I am not sure why I am receiving the error message: error C2466: cannot allocate an array of cons...
[7 replies] Last: Thanks Ganado, got it to work. (by cGuru)
Need help..
 
I'm to write a code that will: 1) List the schools and the tuition of the schools in Cincinnati with...
[1 reply] : This is in C++ (by medinal)
Some help for school homework.
 
One of the homework questions I have is this. 4. Write a function named Exchange that swaps the v...
[11 replies] Last: Excellent. Add cout << value1 << endl; and cout << value2 << endl; in ... (by closed account 48T7M4Gy)
by Myna
Please help improve this C++ program
 
I need to improve my program in a following ways; ● When the user enters wrong input for radius, ...
[no replies]
by Ttran
GPA calculation(need help)
 
I am new here and having trouble with my program at the moment. What I got so far is not doing the c...
[4 replies] Last: WOW... i made it harder then it needed too. figured it out. thanks guy... (by Ttran)
Help with Homework
 
Hello all, I am stuck with my homework and not sure what to do. We are to build a program that a...
[3 replies] Last: So the math still shows an enormous number and I can't figure out why.... (by youtellatale)
Problem controlling user input with if statements and while loops
 
Hello all, been reading here for a while, first actual post, I'm a little nervous. Here goes. I ...
[4 replies] Last: I'm thinking the check could go in line 72, but this is problematic be... (by VanTate)
by aSzG
Cash Register Program
 
Hello, I am struggling on this part of my program. It says: You should have a function, let’s call...
[7 replies] Last: In a sense yeah. But you need the loop to keep track of all tax and c... (by crimsonzero2)
(int)& return action
 
So here is a return line from some function. return ( THEINT)& createGaussianFilter(type, *...
[1 reply] : I am going to say createGaussianFilter creates some heap allocated v... (by mobotus)
Can't understand what is wrong
 
I have got a task to create a program which would take two whole numbers up to 100 digits each and p...
[2 replies] Last: http://www.cplusplus.com/forum/lounge/32041/ (by mobotus)
Vector value comparing
 
I am writing a game where the player has to guess a random number between 1 - 100. It now tells if t...
[1 reply] : The way I would approach this is on the first guess I would state that... (by crimsonzero2)
Understanding Looping
 
Hello I'm new to C++. This is my second time writing a program. I'm supposed to write this code wh...
[4 replies] Last: Think of the outer loop being the row you are editing. As you get int... (by crimsonzero2)
Simple if statement
 
I am a real beginner with C++ and I am trying to make an if statement to work. My problem is that th...
[10 replies] Last: cout << "text" << endl; or cout << "text" << "\n"; wou... (by closed account 1CfG1hU5)
Need help sorting String values (People's Names) from an Input File (Already created Text file) in ascending order (A - Z)
 
I'm working an optional section in my textbook, and have no idea how to do it. The textbook doesn't ...
[4 replies] Last: I'm such an idiot....The question is literally only asking me for the ... (by SRichardson09)
by plp384
How do I output a 2D array from a function?
 
I've declared a double matrix that has several rows and several columns. I am able to input value...
[6 replies] Last: If I place "return value;" outside the second for loop, IDE tells me t... (by plp384)
multiplication table, in .txt output?
 
Dear Friends, Would you please help me why the txt output is not in table shape? But the compile...
[1 reply] : What fond do you use in your txt viewer? Make sure it is monospace one... (by MiiNiPaa)
October 2014 Pages: 1... 4344454647... 70
  Archived months: [sep2014] [nov2014]

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