
please wait
by KTlady
Not using repeating numbers
|
So I'm creating a code that requires the user to enter a password it has to be 6 digits and not have preceding zeros, the numbers have to be unique as well. I h... |
Feb 25, 2016 at 4:24am
[5 replies] Last: 1. Read the code as a string (not a number). 2. Check that the first c... (by Duthomhas)
|
by IcantCode
While Loop
|
Okay, so im trying to get my code so that it would keep asking for numbers with the while loop until I input a negative number. Then it will output the lowest o... |
Feb 25, 2016 at 2:34am
[1 reply] : Let's look at lines 21 - 27: if (var > 0) { bool first = f... (by xismn)
|
by warrior757
help with errors
|
help with errors #ifndef FRACTIONTYPE_H #define FRACTIONTYPE_H #include <iostream> using namespace std; class fractionType { friend ostream& o... |
Feb 25, 2016 at 2:08am
[3 replies] Last: Help me for getting correct answere. in this program i want to get ans... (by ibrahim069)
|
Class Object Value to String |
Hi all, super noobish question here. My instructions say I have to take the values of the objects below and convert them to a string in the method "string toStr... |
Feb 25, 2016 at 12:52am
[5 replies] Last: You all are amazing!Thank you so much! It's displaying now :) Now I'm... (by itsbenbroughton)
|
by nam13g
Help with Do-while Conditions and Sorting
|
Hello all, the program I'm attempting to make a program that asks users to enter up to 100 numerical inputs, when a negative number is entered, the loop will en... |
Feb 25, 2016 at 12:16am
[4 replies] Last: Thank you Chervil. I have been focusing on the actual loop itself for ... (by nam13g)
|
by sputterputz
Using characters to make selections
|
I am trying to figure out how to use letters to make MENU selections instead of numbers. Also, I cannot figure out how to keep the program running indefinitely,... |
Feb 24, 2016 at 11:36pm
[no replies]
|
by ecr32
Defining Matrices with a function
|
For a university assignment I was asked to define 3 matrices for use in rotation matrices using functions, I'm unsure what that means so I'll post the question.... |
Feb 24, 2016 at 11:34pm
[no replies]
|
by Lucid1
while (is.get(c)) File not opening, console hangs
|
I am trying to read in a file containing 0's & 1's, 64 at a time to convert into a decimal. After executing my code, cout shows no values read and my console h... |
Feb 24, 2016 at 10:36pm
[no replies]
|
by phsyrik
Call .cpp files from a .cpp file
|
Can you call another .cpp file be called in another .cpp file I want to choose Single player or Multiplayer but not have a crap ton of code between the if el... |
Feb 24, 2016 at 10:06pm
[3 replies] Last: You could code the multiplayer and singleplayer differently. then make... (by jgg2002)
|
by tigertm64
Overloaded Operator and arguments passed by reference
|
Just spent about 12 hours sorting a huge program out for an assignment. One of the things that held me up was getting a runtime error whenever the arguments we... |
Feb 24, 2016 at 9:55pm
[4 replies] Last: Also at line 11 of your original post, what happens if poly1.terms = 3... (by dhayden)
|
c++ writing individual characters from input to char array |
I want to take a sentence or word and place the individual characters into an array of chars. i want to do this in c++ but i don't know how to divide the input... |
Feb 24, 2016 at 9:48pm
[1 reply] : std::string is basically a container for individual chars. You can acc... (by Computergeek01)
|
by armando2
help
|
Im trying to make an system like this Points are spaces ...X ..XXX .XXXXX ..XXX ...X #include <iostream> using namespace std; int main() { cout << "Ente... |
Feb 24, 2016 at 9:43pm
[2 replies] Last: Start with a function that prints character ch out n times: void repe... (by dhayden)
|
by Sid123
Shortcut to brute force copy paste?
|
Hi, this is our first time creating a GUI as we have previously only used console applications. We have a lot of push buttons(81), and would like to read the te... |
Feb 24, 2016 at 9:09pm
[2 replies] Last: Why so impatient? Perhaps you could add all those buttons to a QButt... (by keskiverto)
|
reading names |
so i have to write a small text filter that filters through a file, b.list, and outputs each name (first and last) of each actor. The b.list file contains movie... |
Feb 24, 2016 at 8:52pm
[3 replies] Last: Look at lines 8 and 9 of your first example (find and substr). Just ne... (by Chervil)
|
by Akrone
Problem with the do...while loop
|
Hey ! I want to do a loop that is not closed if the user don't type 1 or 2... This is my code : #include <iostream>; using namespace std; int m... |
Feb 24, 2016 at 8:41pm
[6 replies] Last: Ok! Thanks for your time AbstactionAnon :) (by Akrone)
|
by Noah McGrath
A question about console, games and begginer guides
|
So i want do make games in c++ (for now), but everywhere i go people tell me its a waste of time making games in console. My question is why? it's the most basi... |
Feb 24, 2016 at 8:33pm
[4 replies] Last: My opinion, for what it's worth, this, http://www.amazon.com/Beginning... (by mgoetschius)
|
by csell
vector subscript out of range
|
I'm stuck on this error and cannot seem to find a way to fix it, i have narrowed where the error is coming from to the sortVec function, any help? #include <i... |
Feb 24, 2016 at 7:42pm
[2 replies] Last: Thank you so much, its amazing how i could get stuck on one letter for... (by csell)
|
by Respect
If statements with string values?
|
I'm trying to make a program where if the user types "Yes" a certain statement appears , and else another statement, but I don't get how to do it? I can't use b... |
Feb 24, 2016 at 7:32pm
[3 replies] Last: = is the assignment operator. == is the equality operator. http://ww... (by AbstractionAnon)
|
by brad97
Help With Monthly Vehicle Expense Program
|
I'm trying to create a program that takes an input file that contains miles driven for the year, car miles per gallon, cost of gas per gallon, amount spent on ... |
Feb 24, 2016 at 6:09pm
[2 replies] Last: Line 50: gasCostPerMonth is uninitialized. Line 56: You call Month... (by AbstractionAnon)
|
by leashbomb69
edited my program, still have 3 small errors i can't find
|
program2.cpp: In member function `void container::allocate()': program2.cpp:125: error: invalid types `int*[int*]' for array subscript program2.cpp: In member... |
Feb 24, 2016 at 4:18pm
[8 replies] Last: I guess that you think too complicated: void container::allocate() { ... (by coder777)
|