Beginners (Page 126)

bool true or false
am reading this piece of code and am having a lil tough time with line 14.. I have if not dup... wh...
[8 replies] Last: is ok the ideas man...I've also adopted your way of identation long ti... (by donvigor)
Always when programs run they don't open in full screen by default. You must go to properties an cha...
[5 replies] Last: Thanks everyone. I will click on the solve button now. (by jasongog)
How to prompt user for multiple if statements.
Hello everyone, First questions on this forum, and i am very new at C++ and programming s...
[5 replies] Last: Switch is awesome it makes things 10 times easier for character choice... (by ssjaditya)
I had to rewrite programs to make that work with a template. I have done this, but in the direction...
[3 replies] Last: > I need to specify requirements on the template parameter type, > an... (by JLBorges)
Number Loop for .625 then 1.625 then 3.625 and etc
I am a noob and I need help with a number loop starting with .625 then to 1.625 then 3.625 then 5.62...
[1 reply] : include <iostream> int main() { // .625 then to 1.625 then 3.625... (by JLBorges)
I'm supposed to create a function that takes a char& argument and modifies that argument. In main, p...
[3 replies] Last: Well you are welcome! (by eyenrique)
Searching and Replacing in Files
Hello pro's, I have a problem with this project I'm working on, the code involves searching for and...
[no replies]
const to non-const
Hi forum, I am using a third-party API function that returns a const reference as follows: ...
[no replies]
template specialization
How can I make a template specialization for pair? Normally I did : template<typename X,typ...
[6 replies] Last: 1. Do not specialise an entire class if all that is required is differ... (by JLBorges)
Can't Create Static or Const Data Members
I have tried reading different descriptions of how the declarations of these variables are made and ...
[1 reply] : I figured out my mistake. I carelessly defined my class within main. (by ldelsignore)
by Huppa
Getch(); to terminate, or continue loop
I'm having problems with ending the loop/program. What is it that I'm doing wrong that it just keeps...
[1 reply] : First of all, it should be #include <iostream> // No .h //#include <c... (by long double main)
Array Help!
In my program assignment, I have to write a template sort routine using insertion sort algorithm. ...
[3 replies] Last: @long double main and @MiiNiPaa thank you! (by giraffe1234)
by Huppa
Need help fixings bugs/errors
As you can tell, I'm trying to convert inches to cm, or cm to inches, depending on the input from th...
[4 replies] Last: You forgot a << in there. Yeah... Not like that's important or anyt... (by Huppa)
Never seen this before.
#ifndef SEQ_H #define SEQ_H #define INIT_VAL "A1" #include<vector> #include<string> using std:...
[1 reply] : Hi Cody, Line 16 has default value - if no argument is supplied it wi... (by TheIdeasMan)
by alsade
where should i release the dynamic memory?
i allocated dynamic memory in the function's... where should i "free" the memory? #include <iost...
[1 reply] : After you done with it. In your code that means at the end of main(). ... (by MiiNiPaa)
Expression must have integral or unscoped enum type.
Hello everyone I am writing a small program for class that measures 3d distance. I have been trying...
[12 replies] Last: Actually after thinking about it I'm not sure why I didn't just multip... (by Mechennyy)
by Huppa
Need help with ASCII program
I need to input two characters, and print out the symbol with it's corresponding ASCII number saying...
[1 reply] : 1) Creating an infinite loop on lines 16-22 2) Casting char to char on... (by MiiNiPaa)
Passing an input file by reference into a function that returns a string
So i am supposed to pass an input file by reference into a function that returns a string type. The ...
[5 replies] Last: You have declared calcScore to take 7 arguments but on line 34 you onl... (by Peter87)
Help with shuffling cards (Vector)
I am trying to write a sub-program that takes a deck of 52 cards and will shuffle it up using this a...
[4 replies] Last: That sems to have fixed the problem, thank you MiiNiPaa! (by Edward A)
reading input from external files character by character
I'm trying to get this function to read characters from an external file one by one, but i cant seem...
[9 replies] Last: You are opening it correctly. However I doubt that your filename is co... (by MiiNiPaa)
Pages: 1... 124125126127128... 130
  Archived months: [feb2014]

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