Beginners (Page 118)

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)
References
 
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)
matrixes
 
Data 1 P=[█(3 2 0 1@4 0 1 2@3 0 2 1@9 2 3 1)] a...
[1 reply] : You forgot to show your current code and ask question(s) about it. (by keskiverto)
Problems writing to the end of a binary file
 
Hello guys, i'm having trouble with a program that involves writing a structure to the end of a bina...
[1 reply] : it just seems to write a new file, Sure thing, you are opening your f... (by MiiNiPaa)
Apple mach-o linker (id) error
 
whenever i compile this code, it gives me 4 errors and won't build #include <iostream> #inc...
[1 reply] : these 4 errors "findLowest()", referenced from: calcScore(s... (by cheagle5)
by Huppa
I need help with a ASCII value program
 
I want to write a program that will ask the user for two characters; symbol1, and symbol2. The progr...
[2 replies] Last: To get the actual numerical value of the character, cast it to an in... (by Huppa)
Pages: 1... 116117118119120121
  Archived months: [feb2014]

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