
please wait
by cppnewbie13
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 program that displays the prime factors of a number input by th... |
Dec 12, 2017 at 10:50pm
[3 replies] Last: Thank you both a bunches:) I was able to work it out! (by cppnewbie13)
|
by CTRLALT
Airplane seating Functions
|
Hello, In the function Reserve, it should automatically update the seating chart text file with an X, when the user enters a seat they would like to reserve. A... |
Dec 12, 2017 at 10:20pm
[1 reply] : You've ignored much of the advice given in your previous thread. Igno... (by AbstractionAnon)
|
by CTRLALT
Airplane seating reservation
|
Hello, This is my code for reserving an airplane seat. Im having trouble writing the cancel a reservation function -(Cancel Reservation): The program calls... |
Dec 12, 2017 at 9:48pm
[3 replies] Last: All the statistics can be determine by examining the seatChart array. ... (by AbstractionAnon)
|
by edubya91
catching a pokemon
|
So i'm writing this code for a class of mine but i'm having trouble understanding the boolean expression and whether its coming out "true" or "false". In additi... |
Dec 12, 2017 at 9:38pm
[3 replies] Last: got it, thanks for the heads up on that rule, guess I overlooked it. (by edubya91)
|
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 characters a user can input for my cin. If i put in multiple y'... |
Dec 12, 2017 at 9:38pm
[1 reply] : Here's a compilable version that does what you want #include <iostre... (by Ganado)
|
by minituffy
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 been relatively error free. I'm trying to export a raw data ... |
Dec 12, 2017 at 9:28pm
[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 character with GetAsyncKeyState, then I asked some people... |
Dec 12, 2017 at 8:32pm
[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 character with GetAsyncKeyState, then I asked some people... |
Dec 12, 2017 at 7:59pm
[1 reply] : What is this line supposed to do? l1.Map(4, 4) = mymap; Hints: #i... (by Enoizat)
|
by vacisneros
Error on matching operands
|
Just finishing a Menu project but when trying to add a convert from decimal to base, I receive this Error on line 142: E0349 no operator "<" matches these o... |
Dec 12, 2017 at 7:16pm
[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 hold char symbols: '.' for clear water 'S' for submarines (... |
Dec 12, 2017 at 6:41pm
[5 replies] Last: I looked them up in an ASCII table. I wrote the values in the program ... (by whitenite1)
|
by syphious
Node templates with multiple types
|
Say I have this block of code template <class type> class Node{ private: type item; type thing; Node<type> *next; public: type GetNe... |
Dec 12, 2017 at 3:26pm
[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 many customers to be able to put their names in to calculate ... |
Dec 12, 2017 at 3:06pm
[1 reply] : It's not horrible, but it doesn't compile. Hints: // I'm looking fo... (by Enoizat)
|
by priscilla96
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 open that file and look at it besides on Xcode. I've seen vid... |
Dec 12, 2017 at 2:31pm
[1 reply] : Could you please clarify your problem? Can't you use a software like T... (by Enoizat)
|
by aniketos
My First C++ Project
|
Hello! I want to create a Random Password Generator for my school C++ Project. i am through with the programming concepts, but i have no idea on how to struct... |
Dec 12, 2017 at 2:09pm
[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 have no idea where to start to use an array. Array should be ... |
Dec 12, 2017 at 11:56am
[1 reply] : What should be store in this array? Generally an array looks like thi... (by coder777)
|
by masterinex
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 Suppression State Error (active) E0304 no instance of function t... |
Dec 12, 2017 at 11:40am
[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://gyazo.com/c28fec509d5647d8f179a55c29ac4d91 ). I've complet... |
Dec 12, 2017 at 10:30am
[5 replies] Last: #include <iostream> using namespace std; void draw( int rows, int ty... (by lastchance)
|
by irisemars
error C2061 - how to fix it?
|
my error: "error C2061: syntax error : identifier 'BieuThucHang' " How to fix it // XuatChuoiBTHang.h #pragma once #include "BieuThuc.h" #include "BieuThuc... |
Dec 12, 2017 at 8:53am
[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 to be: d_mey _cdomefa_e. I realize that the function is ori... |
Dec 12, 2017 at 6:26am
[1 reply] : Best to start from your last question first. str.find(s,p) looks for... (by lastchance)
|
by xxwendy3xx
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 use <window.h> due to me having a Mac PLEASE HELP! MY COD... |
Dec 12, 2017 at 6:08am
[1 reply] : Something like this, perhaps: #include <iostream> #include <iomanip>... (by JLBorges)
|