
please wait
by daniel66
Calling 2d array in main
|
I am trying to call two 2d arrays of unknown size into the main but I keep getting a compiler error #include "stdafx.h" #include <iostream> using na... |
Oct 29, 2015 at 9:36am
[1 reply] : the Gauss function is expecting to receive an array with Nx100 size fo... (by xenovia12)
|
by Dkob1
Constructor C++
|
When does a constructor always run? Which constructor is called when a class array variable is defined, without an initialization list? |
Oct 29, 2015 at 7:45am
[1 reply] : A default constructor runs when you create an instance from a class. U... (by pearlyman)
|
by Uthermain87
Copying between two-dimensional dynamic memory
|
I need to write a program that will read in an unlimited number of names that are an unlimited number of characters long using dynamic memory. Things go smoothl... |
Oct 29, 2015 at 7:35am
[1 reply] : sizeof(temp2) is only the size of the pointer. If you want to copy t... (by coder777)
|
by Rawkstar
Newbie Working on a Numerical Conversion File
|
Hey there everyone! I'm a newbie here, just started coding with C++ a few weeks ago since we started learning about it in lecture. I've been doing a few side pr... |
Oct 29, 2015 at 7:22am
[3 replies] Last: If it works do it. It's a bit like the use of using namespace std; ... (by closed account 48T7M4Gy)
|
by Navu
Error in Circular Queue
|
I am not getting any error in the code below but the output is not as desired; that is, when I insert more than 1 values in the array, I only get the first valu... |
Oct 29, 2015 at 7:02am
[4 replies] Last: Hi, Can you please read the article about code tags, and edit your fi... (by TheIdeasMan)
|
by Dkob1
Arrays & constants
|
In good coding practice, how are named constants and arrays related? Why is this good? |
Oct 29, 2015 at 6:27am
[2 replies] Last: thanks (by Dkob1)
|
by Symphoneee
Error No matching function to call
|
I've been working on my first experiences with functions and from my textbook I believe that this void function should properly compile and I keep getting the e... |
Oct 29, 2015 at 5:11am
[5 replies] Last: [quote=Symphoneee]Is there a way I can give you a good rating or anyth... (by TwilightSpectre)
|
by fishforever
0hh1 puzzle game
|
I'm trying to create a puzzle-like, sudoku-style game called "0hh1", but i seem to keep getting stuck on this one fuction. The game doesn't allow the user to pu... |
Oct 29, 2015 at 4:43am
[no replies]
|
Function to return sizeof() |
So I know how to get the size of a something. cout << sizeof(char); However, I need to write a function that finds the sizeof for these different value... |
Oct 29, 2015 at 4:11am
[2 replies] Last: Thank you, I forgot about using a void function, I was trying to use a... (by AmericanJeepR)
|
by shamieh
Generating Random Numbers..
|
I'm confused, I was under the impression that: rand() % (16+1) would generate random numbers between 1 to 16, yet for some reason it is generatin... |
Oct 29, 2015 at 4:04am
[1 reply] : Ahh, scratch that. Apparently you can't put the numbers in parenthesis... (by shamieh)
|
by jaykeblakk
Multiplication isn't working correctly
|
Hi. Beginner (obviously) here with a problem that's got me stumped. I'm supposed to create a function that takes the total income entered by the user, takes 10 ... |
Oct 29, 2015 at 3:15am
[9 replies] Last: Yeah, chervil was right. I missed the point he/she was making in the f... (by closed account 48T7M4Gy)
|
by RedSox123
Removing commas from an input file before rewriting them to an output file.
|
Hello, Working on a hw assignment due in a couple days, program must read in integers from a file that may or may not have embedded commas in them, i.e 10 or 1... |
Oct 29, 2015 at 3:09am
[2 replies] Last: http://www.cplusplus.com/reference/istream/istream/ignore/ (by closed account 48T7M4Gy)
|
by StoriesOfRen
Help Please! File read to and from issues and other stuff
|
Please Help!!! I am fairly certain my read to and from the file is wrong and because of that I have no doubt my averaging is wrong... however I'm pretty new to... |
Oct 29, 2015 at 3:05am
[1 reply] : The way to know if it's reading the file right and figure out the aver... (by SamuelAdams)
|
by jeremyb2015
I NEED HELP QUICK! I do not know where to start or finish when fixing the errors in this code
|
Can someone please help me fix the errors of this code? Fix the following code and use it to find the two roots for the quadratic equation X2+ 10X- 11: // ... |
Oct 29, 2015 at 2:09am
[1 reply] : All you have to do is fill in the 3 parameters in the line: cout << A... (by closed account 48T7M4Gy)
|
by alex459
error LNK1104 - can't run any code
|
Whenever run code by clicking 'Start Without Debugging' I receive an error that says: "error LNK1104: cannot open file 'C:\CS\Project1\Debug\Project1.exe'" ... |
Oct 29, 2015 at 1:27am
[4 replies] Last: If it's all fixed then that's great. If it's not maybe you have to run... (by closed account 48T7M4Gy)
|
by cher1201
Logical Error! Help Appreciated!!
|
These are member functions, where mm, dd, and yy are the only data members. For some reason when I run it, the first object is ok, but then on the second object... |
Oct 29, 2015 at 1:06am
[1 reply] : Valid indexes for an array with size n are 0 through n-1. How is line ... (by cire)
|
by lpruitt7
Array and input\output files
|
I am new to c++ and this website, so I will try to do this correctly. My problem is to take two input files from the user, not knowing how many integers exist o... |
Oct 29, 2015 at 1:03am
[no replies]
|
i dont understand |
the program itself works well; however, only for works, the other does not execute. Yet i do not want the loop to showChoices(); during the for loop. What i r... |
Oct 29, 2015 at 1:00am
[2 replies] Last: When choice is 2, you don't give the user a chance to enter another ... (by cire)
|
by RandomGeek
Code for time?
|
Hello, I recently added a loading screen in my program, I just need to have a code like a time countdown or a percentage saying if its already %100 the game is ... |
Oct 29, 2015 at 12:49am
[1 reply] : Of course it's possible... http://www.cplusplus.com/reference/ctime/ ... (by pearlyman)
|
by ModcaFox
How to Restart a Program
|
I have made a calculator that, from the table of contents you can select a calc. However once you make a calc selection you cannot reselect another calculator w... |
Oct 29, 2015 at 12:48am
[2 replies] Last: Well i wanted it so that the user must only enter something if he/she ... (by ModcaFox)
|