Beginners (Page 101)

by Ganado
Public access of std::vector or other big type
 
Couldn't really find any exact answer on google. If I have a class like this class A { p...
[3 replies] Last: Just want to be sure you meant that making the vector public is just ... (by cire)
by RotciV
Why does it say my "to_string" was not declared in this scope?
 
Error on line 20, 36, 44, 52, 68, 76, 82 string polynomials::toString() { stri...
[2 replies] Last: Try changing to_string to std::to_string ... (by Alrededor)
Having trouble reading from a text file
 
I need to read this from a textfile, and display all of them in the cout order. a222.5 10000.00...
[2 replies] Last: Hey so I'm able to get the line now, but how would I get the line that... (by vextria)
I am having trouble with reading from a vector of strings
 
Here is my issue, the program will allow me to input new names and i can search for them just fine b...
[2 replies] Last: I've tried going through it with F11 step into and F10 step over watch... (by Sawrana)
[SFML 2D Game] Cannot understand why sprite isn't drawing
 
Hey everyone, I am in the process of making physics. I haven't done this before and hopefully all wi...
[1 reply] : Figured it out, in the header file my constructor specified the sprite... (by MiddaPhofidda)
Dont know what to do...
 
Is there a way to test how much c++ you know and then tell you what you need to learn about next? I ...
[4 replies] Last: You should also read the tutorials on this site and learncpp. http://w... (by giblit)
ControlService
 
I'm trying to pause a service then resume. Couldn't make it kept geting erros
[4 replies] Last: No I'm trying to pause and resume a service in c++ (by hippomods)
Problem with Srand.
 
Hey guys, I have a coin toss simulation I am trying to run, but the problem is I keep getting only o...
[3 replies] Last: yes agree, srand func early to initialize random generator. if called... (by closed account 1CfG1hU5)
Virtual Functions
 
I'm creating a geometric calculator for a class assignment. I've read and read, but I can't seem to ...
[2 replies] Last: Thank you! (by sandbar)
Need help on project (prime numbers)
 
Ok, Ive been staring at this code for 5 days now and I cant get it to work no matter what I do or...
[8 replies] Last: Thanks for all the help. I was able to get it hours before the part 1 ... (by specter113)
Please help
 
SOLVED THIS PROBLEM NEED HELP AN ANOTHER ONE BELLOW!!! for some reason every time i play craps it...
[3 replies] Last: ok so my next problem is that on my do/while loop i get stuck in the l... (by freecody24)
by wolfv
error: no matching function for call to 'Key::Key(Shift (*)())'
 
Can you see why this does not compile? Class CS and class Key are both children of class Action. ...
[2 replies] Last: Thank you EssGeEich. That fixed it; now it runs! (by wolfv)
by mimi88
HPAir flight map problem
 
I am trying to write a program that will read three txt file, first has city names,second the flight...
[5 replies] Last: any one want to help? (by mimi88)
How to use PerceptualDiff
 
Hi guys, i've been trying to figure out how to make use of PerceptualDiff, mainly because i want to ...
[no replies]
by Jhub
need to code the function definitions
 
I am writing a hangman game code and I am having trouble defining, implement and correctly invoking ...
[no replies]
Determining the extension type of an image file using binary
 
Hello, I am trying to write a function that determine if a file in a directory is of a gif/bmp/png/j...
[no replies]
by Gridz
I cant get this code to work.
 
#include <iostream> using namespace std; int main() { int num = 0, num2 = 0, digit1 = 0, digi...
[1 reply] : what is "The sum of the number is: " ? (by anup30)
What controls the timing between loops in this code?
 
I understand how to set the time of the ramp up and down, blinking, and excited, but what controls t...
[no replies]
How can this code get 5 numbers and calculate 5 times (for loop)
 
Dear Friends, I wrote a code to get a number from 5 files and do calculations and write the output...
[no replies]
by AdF312
Iteration numbers
 
My lecturer gives me an assignment to input a number, then make the output like this example: inp...
[4 replies] Last: http://i.imgur.com/t8zUzUo.png (by poteto)
Pages: 1... 99100101102103... 128
  Archived months: [sep2014]

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