Beginners (Page 82)

trouble overloading operator * with a friend function for a class object and a double on xcode
 
Hi, I am going through the book C++ Primer, I am currently doing the programming exercises of cha...
[12 replies] Last: You are right, even though in this case the error message was misleadi... (by ines6375)
Scope issue with vector of pointers (std)
 
I'm sure this question has been addressed already - I just can't find it anywhere (in a form I can u...
[4 replies] Last: They're similar... but your vector is not a pointer. It just contain... (by Disch)
Linking library for every project
 
Hello, how can I set up libraries to be linked with all projects present and future? I am using cod...
[3 replies] Last: Anyone? (by chamburger)
heeeeelp!
 
Wwhere can i convert a word in to a cout word. for example the word "ROUGE!" can be translate or co...
[2 replies] Last: Seems similar to this thread: http://www.cplusplus.com/forum/beginner/... (by long double main)
by Auroch
Switch statement
 
Hello! I am trying put a string to the file "test.dat" using "switch". File exist and empty. Program...
[5 replies] Last: @Chervil. I wrote But it is necessary to realize algorithm of the pro... (by Auroch)
Help for vowels!
 
/*The program prompts the user to enter a sentence, count the number of vowels, display the ...
[3 replies] Last: Here is the correct program, I've bolded what I've changed into your o... (by DareNow)
by MJP12
Two-dimensional Array. Inputting the arrays into the code
 
I am trying to create a program that allows the user to input 6 quiz grades for x number of student...
[1 reply] : An average would be the total points achieved by all students on a qui... (by wildblue)
by Typ
Rolling a Dice and counting Results
 
Hey everybody, I just a wrote a procedural C++ Program which "rolls a dice" and counts the amount...
[3 replies] Last: Wow that was FAST :) Thank you very much ! And yeah, using srand() ... (by Typ)
by Blank
Currency Converter. HEY YOU READING THIS! I NEED YOUR HELP! :)
 
i am currently working on my project which is supposed to convert U.S currency to the country the us...
[2 replies] Last: You'll need to #include <iomanip> to use the setprecision() function. ... (by wildblue)
Using default parameters
 
design a program that would get and validate in the main function the following input: 1) The tuit...
[3 replies] Last: Start by writing: a value-returning function named computeAID that ta... (by keskiverto)
Passing objects by reference using const
 
My question is about passing objects to functions by reference. It seems like a function such as sav...
[2 replies] Last: Great, thanks. I knew there must be a way! (by machinafour)
by Loktd
reading from a file help
 
I need help getting the output from my file. what is in the file: Car CN 819481 maintena...
[2 replies] Last: thanks I got it now (by Loktd)
by DblM
The output vector of eight words in the string
 
Hey all, sorry for my French))) I have a problem, learn from the book, there is a challenge: type t...
[3 replies] Last: Zhuge Thank you, after I wrote the first post, all made in the liken... (by DblM)
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)
Pages: 1... 808182838485
  Archived months: [may2014]

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