Beginners - December 2017 (Page 20)

by Malas
Program skips two functions in my sudoku solver.
 
Hey. Programming beginner here, so I might not be familiar with the lingo. I was trying to make this sudoku solver and somehow it skips over two functions. I'll...
[1 reply] : Which means that samecol and samerow is being skipped, somehow? No, ... (by cire)
by rmeade
My input all on the same line cin?
 
I have a weird issue I can't seem to solve I am not sure if I am overlooking something simple or if it is something else entirely. int main() { // pati...
[2 replies] Last: Thank you for the help this solved my issue. (by rmeade)
searching .txt files from folders(how can i do this?)
 
i want to get a folder path from user then the program will find the .txt files in this folder. how can i do this?
[2 replies] Last: Here is a simple demo how to find all files in a directory. Needs C++1... (by Thomas1965)
File Will Not Open! Help ASAP
 
I Need Help Getting This File To Open! Please!. This project is due tonight and I cant get the file to open. I Think its a simple mistake. but I cant find it Pl...
[8 replies] Last: I got the out file to output That's good! It means: 1. you have the... (by Chervil)
Get the numbers of numbers help . Numbers is classified as a group of numbers! Help Please!
 
Looking for the best way to find the # of numbers when I already have the number of digits found ! Hmmm? Any help Please #include <iostream> #include <cc...
[13 replies] Last: @marqual, There is no point in presenting output that manifestly didn'... (by lastchance)
Code returns memory address instead of expected output
 
Here is my code: #include <iostream> #include <vector> char RandomUpperChar() { int charOne; int charTwo; int charThree; int charFour; c...
[7 replies] Last: Good on rewriting the code so that you don't have to initialize it one... (by fiji885)
Payroll Summary
 
How would I be able to make recently processed data to: 1. Display a table at the end of the program listing the name and gross pay of each employee processe...
[7 replies] Last: You are welcome. Any time. Andy (by Handy Andy)
Unresolved externals
 
Can someone please help me with how to resolve this issue? It says I have 2 unresolved externals where the problem is in the function "int calculations()". Here...
[1 reply] : Hello jkazma13, PLEASE ALWAYS USE CODE TAGS (the <> formatting button... (by Handy Andy)
Help with arrays Calculating average c++
 
I have already written most of the codes. The only thing i am missing is calculating AVERAGE and SUM of the number in .txt file. numbers in the .txt file a...
[1 reply] : Hello trazafin, lines 53 - 56 looks it should do the job in summing t... (by Handy Andy)
C++ assignment
 
Could you help me with this code thanks everyone a. Create the vector via an initialization list. b. Provide the length of the vector using the sizeof() f...
[no replies]
Airport Activity Problem
 
Hello I am fairly new to C++ and I am having a small issue with this project. The problem that I am having lies in the last part of the MAIN FUNCTION where I ne...
[3 replies] Last: Never Mind I figured it out. Thank you for all your help. (by jonk8623)
virtual functions/polymorphism
 
I need help with C ++ virtual functions/polymorphism assignment and I'm not understanding how to do these steps in a derived classes (Saving Account and Checki...
[no replies]
by pavik
endless loop
 
The code below works fine with numeric input but gets in an endless loop with alphabetical input. Why? void getUserInput(vector<int> &ui) { int entry=0; ...
[6 replies] Last: why is because it is valid .. stoi etc type functions can pull out a p... (by jonnin)
by ajh
Help with pointers
 
Hi my program is meant to calculate the average of however many test scores the user decides to input but before that, I am supposed to print out a chart of the...
[1 reply] : to print out what was input (you can add to it, this is the bare bones... (by jonnin)
strings anagrams(HELP)(Emergency)
 
ANYONE KNOW HOW TO WRITE THIS CODE? Two strings are anagrams of each other if one can be formed by rearranging the letters of the other (excluding spaces). ...
[1 reply] : Hello cj04077, ANYONE KNOW HOW TO WRITE THIS CODE? Yes and do not s... (by Handy Andy)
use of class template requires template argument list
 
I'm getting this error on line 7 in Source.cpp , use of class template requires template argument list Coord<T> operator - (const Coord& b1, const Coord...
[5 replies] Last: That is really elegant way of solving the issue. Following the link ... (by Enoizat)
String binary addition (Help)
 
A binary number is a base-2 number composed of the binary digits (bits) 0 and 1. For example, the binary numbers 1, 10, 11, 111 are of decimal values 1, 2, 3, ...
[3 replies] Last: You do it the same way as you do decimal. I've been trying to post an ... (by kbw)
by jsbd29
Help with header C++
 
I've finish all the required part but sadly I've encountered errors on the (Sunday and Saturday part) during the run. * I was so close to the final result, can ...
[3 replies] Last: Thank You Andy! I works now . I am having problems to create the heade... (by jsbd29)
Reading in City names from file
 
hello, I'm trying to understand the best way to read in a city name from file when the file looks like this: s New York 23 14 1 s Miami 25 25 25 a char, ...
[3 replies] Last: Ok thank you both (by Carter205)
overload typecasting operator
 
How to overload the typecasting operator, I wrote an overloaded version of it, but it has no effect. It turns out the program is just using the 1 - args constr...
[7 replies] Last: explicit is a language keyword which disallows implicit conversions.... (by mbozzi)
December 2017 Pages: 1... 181920212223
  Archived months: [nov2017] [jan2018]

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