Beginners - December 2017 (Page 11)

confusing prime factorization code, please help :(
 
Hi there! I was hoping for some help with this code for my school c++ class. We have to create a pro...
[3 replies] Last: Thank you both a bunches:) I was able to work it out! (by cppnewbie13)
Airplane seating Functions
 
Hello, In the function Reserve, it should automatically update the seating chart text file with an ...
[1 reply] : You've ignored much of the advice given in your previous thread. Igno... (by AbstractionAnon)
Airplane seating reservation
 
Hello, This is my code for reserving an airplane seat. Im having trouble writing the cancel a rese...
[3 replies] Last: All the statistics can be determine by examining the seatChart array. ... (by AbstractionAnon)
catching a pokemon
 
So i'm writing this code for a class of mine but i'm having trouble understanding the boolean expres...
[3 replies] Last: got it, thanks for the heads up on that rule, guess I overlooked it. (by edubya91)
user input bug
 
So technically the program works fine, but i'm trying to figure out a way to limit the amount of cha...
[1 reply] : Here's a compilable version that does what you want #include <iostre... (by Ganado)
Outputting a square wave as raw data
 
So I've very recently started learning C++ and am using it for audio programming. Up until now it's ...
[4 replies] Last: And also thanks jib, I have created a square wave that holds +1 and -... (by minituffy)
by CuRSeD
Moving character in matrixes made by pointer
 
Hi, I tried to create console game in my first attempt, i maked a 2d array in main and controlled a...
[4 replies] Last: the problem is not x,y I tried any direction and tried only the MapDat... (by CuRSeD)
by CuRSeD
Moving character in matrixes made by pointer
 
Hi, I tried to create console game in my first attempt, i maked a 2d array in main and controlled a...
[1 reply] : What is this line supposed to do? l1.Map(4, 4) = mymap; Hints: #i... (by Enoizat)
Error on matching operands
 
Just finishing a Menu project but when trying to add a convert from decimal to base, I receive this ...
[6 replies] Last: Worked! Thanks ne555!! (by vacisneros)
by cash
creating a int 2-d array that holds characters
 
How would i create a 2d int array that hold these char symbols? a 2D int array that would h...
[5 replies] Last: I looked them up in an ASCII table. I wrote the values in the program ... (by whitenite1)
Node templates with multiple types
 
Say I have this block of code template <class type> class Node{ private: type item; typ...
[2 replies] Last: Do you mean function like 'getters' and 'setters'? Something like this... (by Enoizat)
by Theirv
Help with prime read algorithm while statement
 
I'm looking for some help on how to add a prime read algorithm while statement to my code to allow m...
[1 reply] : It's not horrible, but it doesn't compile. Hints: // I'm looking fo... (by Enoizat)
fstream file location
 
I know how to create, write, and read form an fstream file on c++ but I don't know how to actually o...
[1 reply] : Could you please clarify your problem? Can't you use a software like T... (by Enoizat)
My First C++ Project
 
Hello! I want to create a Random Password Generator for my school C++ Project. i am through with t...
[2 replies] Last: tag (by SamuelAdams)
by Thurgo
Having trouble with arrays/ functions
 
Trying to use an array and find perfect numbers in it. I have code I wrote using input value but I h...
[1 reply] : What should be store in this array? Generally an array looks like thi... (by coder777)
no instance of function template "std::make_pair" matches the argument list
 
When i run the code i get the following errors: Severity Code Description Project File Line Suppr...
[4 replies] Last: Note that nowadays you can often be less verbose by using {} -initial... (by Peter87)
Stars pyramid
 
So I'm having trouble with this program. I have to print all the variations (check the image: https:...
[5 replies] Last: #include <iostream> using namespace std; void draw( int rows, int ty... (by lastchance)
error C2061 - how to fix it?
 
my error: "error C2061: syntax error : identifier 'BieuThucHang' " How to fix it // XuatChuoiBT...
[2 replies] Last: Thank you JLBorges, i got it. Now, my code run well. (by irisemars)
by leorio
Confusion involving a while loop
 
So I'm having trouble grasping what the while loop is doing in this function. The output is supposed...
[1 reply] : Best to start from your last question first. str.find(s,p) looks for... (by lastchance)
ASAP!!!Airplane seating help !!!C++
 
I just need help in making a "*" change into a "X" when I enter the row and column numbers. I can't ...
[1 reply] : Something like this, perhaps: #include <iostream> #include <iomanip>... (by JLBorges)
December 2017 Pages: 1... 910111213... 23
  Archived months: [nov2017] [jan2018]

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