Beginners - October 2014 (Page 25)

Returning a value.
 
If you return 1 in this code, doesn't readinputrecord = 1? int ReadInputRecord(int &num1, int &...
[2 replies] Last: Yeah, thank you, I should have waited and looked at it more, thanks a... (by mishappp)
Tic Tac Toe: Build Error
 
My program isn't running. can someone please help me find whats wrong and how to fix it? thank you ...
[3 replies] Last: What do you mean by "weird"? Please be specific regarding the problem... (by AbstractionAnon)
by gto
Fibonacci max at 100
 
i will try to explain this as best as i can. let say that the user input 100. i want it to stop when...
[7 replies] Last: #include<iostream> using namespace std; int main() { int range =1... (by anup30)
Calling a Function help
 
I need help making the program find which car has the highest mpg and also when i run this program i...
[1 reply] : when i run this program it only asks for the input for the first car ... (by coder777)
Creating a Class
 
So I suck at computer programming but really need to pass this class. The other day one of my assign...
[1 reply] : learn basic classes here http://www.cplusplus.com/doc/tutorial/classes... (by shadowCODE)
Tax reduction program
 
Write a C++ program If the person is a landlord the rent collected is added to taxable income, th...
[1 reply] : Question is this right? This is my code If your code outputs what yo... (by shadowCODE)
header guards
 
should i need to include standard libraries in header files? example standard calculator.h #if...
[3 replies] Last: Not necessarily. If you include the same header twice, include guards ... (by TwilightSpectre)
by Z feng
A very simple program but I can't figure out why it is wrong...
 
I was required to write a function to read the input and store it in a array. However, it didn't wor...
[2 replies] Last: Thank you for the help! Yea, I wish I can use vector to solve it but ... (by Z feng)
Strange Symbols
 
I am writing a number guessing program. I have been debugging along the way to ensure that everythin...
[5 replies] Last: Alright, I have it running smoothly now. Thank you for steering me in ... (by SuperLauraRae)
static_cast<char>
 
Write your question here. Put the code you need help with here. if (num==17) cout << "Nu...
[3 replies] Last: Thanks you guys are a life saver :) (by happy11)
(5+6%4) (1,2,3,4)
 
I think the value of the above expression should be 6.5, but apparently this isn't correct. Can some...
[70 replies] Last: do yourself a favor disch, and lose yourself. done with this post. on ... (by closed account 1CfG1hU5)
Fisher-Yates Shuffle?
 
Well, first off, this is homework for a c++ course. I just can't figure out how to get this fisher-y...
[7 replies] Last: Well, at least your instructor is getting you right into the STL ( via... (by Lowest0ne)
Display Arrays
 
I am trying to display the following arrays. int a ={5,9,2,10} int b ={1,2,3,4,5,6,7,8,9} int c ...
[no replies]
quick question!
 
Stupid question I'm sure, took a break from my learning of c++ to focus on a few other CS relates su...
[5 replies] Last: what do you mean by that? I was mistaken. I didn't understand that (... (by d1ff1cul1010)
by Cogs88
Assignment help with OOD
 
I am having a ton of trouble with understanding classes and objects, and i don't know why i just can...
[4 replies] Last: The first thing I notice is that your set methods don't do anything; l... (by Zhuge)
by bgmnk
Adding Int
 
I currently have a code that will create random numbers. int i; // counter srand(time(NULL)); //...
[8 replies] Last: Something like this relieves you of having to worry about the seed in ... (by Esslercuffi)
Need help with overloading functions
 
This is my first time using overloading functions and im stuff on how i would set up what will be re...
[4 replies] Last: http://www.learncpp.com/cpp-tutorial/76-function-overloading/ This is ... (by closed account 2vD2y60M)
Having Issues With A Number To Words Converter Program
 
Hi, I'm a student taking an intro to programming course and I'm having some trouble with a recent...
[3 replies] Last: There are probably many ways but one that immediately springs to mind ... (by closed account 48T7M4Gy)
-sigh- My mac is acting oddly and no one knows why
 
My professor gave us some code to rewrite using cctype and string functions. When I run the code on...
[2 replies] Last: If it can't open the file the most likely reason is because it's looki... (by Disch)
Calling function
 
I just don't know how I would set the parameters in the main function to call this. Just the last on...
[3 replies] Last: output is just the name of the variable inside the function. for calli... (by Darkmaster)
October 2014 Pages: 1... 2324252627... 70
  Archived months: [sep2014] [nov2014]

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