Beginners (Page 80)

Can I passing const to const reference?
 
void functionA(const int &number) { cout << number; } functionA(500); When functionA re...
[2 replies] Last: [quote=Stewbond]You can pass a const to a const reference, but it has ... (by cire)
Tictactoe program error
 
I'm trying to write a tictactoe program. It isnt complete, not even halfway but whenever i try to bu...
[2 replies] Last: ok thanks (by newtocpludplus)
by locolo
Array vs Struct - exam question!!
 
Describe 2 differences between an array and a struct: An array can only hold one type of data (in...
[1 reply] : http://www.programming-techniques.com/2011/08/difference-between-array... (by locolo)
by locolo
Division: using floats and integers
 
Assuming that a variable x and y are integers, while variable a is a float. Identify and explain th...
[3 replies] Last: Thanks, I forgot about type casting!! (by locolo)
Have to use loop to find sum between two integers. HELP!!
 
I have to use a loop to find the sum between two integers that the user chooses. The integers can be...
[4 replies] Last: @ Long Double Main Hi long double main! I'm still supposed to be bobt... (by BobTheZealotIsEpic)
by locolo
Pass by reference/return value - advantages and disadvantages
 
Explain the difference between pass by reference and using return values with respect to both how th...
[2 replies] Last: Return value is used when the function needs to return only a value. I... (by locolo)
Tic Tac Toe game
 
I love gaming and its one of the reasons I got interested in coding and I am currently working on th...
[1 reply] : The exact same thing you asked on stackoverflow. It's better to ask it... (by BobTheZealotIsEpic)
Problem of Creating user define functions of XLL (excel)
 
When I debug this function into XLL file and run it in excel I get a weird number 1463342408 for wps...
[2 replies] Last: hello (by powerstate)
Running Half an If Statement
 
I am currently having an issue with the code below. It is a rather simple code that takes a users in...
[3 replies] Last: Recursive stacking may eventually hit a limit, a work around would be ... (by closed account j3Rz8vqX)
by venros
C++ Regex -Reading HTML Tags
 
Hi guys, I'm trying to read matched html tags ex: <html> == </html> <b> == </b> etc. ...
[8 replies] Last: sadly it is not working with my VS, i will book mark this for future u... (by venros)
Why doesn't code reverse string?
 
Hello everyone, I unfortunately had to take a little break from learning programming so I have forgo...
[4 replies] Last: Thanks guys. I can't believe I forgot about starting at 0 and the '\0... (by Mechennyy)
Dynamic allocation by eltony
 
what it is dynamic allocation elton ?
[1 reply] : I don't know who elton is. Dynamic allocation is allocating memory (us... (by Pindrought)
by Sgreen
CSC noobie help
 
Hello brand new to programming and I need a little boost if possible. I'm sure this is something sim...
[2 replies] Last: Line 17: hint: spell celsiusAtDepth (by Pindrought)
Return a sequence of equations to the beginning of the program
 
I am using MS Visual C++ 2010. I have written an equation that works fine. There are two additional ...
[2 replies] Last: Thank You!!!!! John (by Jko89hj)
Two errors occuring, I don't know what they mean,
 
This program compiles correctly but when I go to run it I get two errors. They are: Error 1 error L...
[3 replies] Last: Thank you. That is two programs that I have had in a row that a typo k... (by kmartar)
how do you do a loop for this??
 
I'm a beginner and I have a program that turns names into codes but I just have to fix the loop. I d...
[4 replies] Last: Check in the loops section: http://www.cplusplus.com/doc/tutorial/cont... (by closed account j3Rz8vqX)
Not sure what is wrong with this thing.
 
I am getting an error on line 31 and I cannot figure out what is wrong. Also when I need to go in a ...
[4 replies] Last: Peter87 thank you so much! cire you are awesome thank you for the fin... (by kmartar)
Palindrome
 
I have this program that would run a Palindrome, but it includes blank spaces, punctuation, and is c...
[3 replies] Last: you would need to create a function which takes the string of the pali... (by alex067)
Mixed Number Program
 
I have a program which allows the user to input mixed numbers such as fractions and performs additio...
[4 replies] Last: it will not properly calculate a mixed number + a mixed number when de... (by alex067)
namespace confusion...
 
I am trying to be very careful about using namespaces, but it seems like my compiler is aware of nam...
[3 replies] Last: It partially circumvents the whole idea with namespaces. But I guess i... (by squarehead)
Pages: 1... 7879808182
  Archived months: [may2014]

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