Beginners - October 2015 (Page 6)

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 ...
[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 d...
[1 reply] : A default constructor runs when you create an instance from a class. U... (by pearlyman)
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 numbe...
[1 reply] : sizeof(temp2) is only the size of the pointer. If you want to copy t... (by coder777)
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...
[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 inser...
[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?
[2 replies] Last: thanks (by Dkob1)
Error No matching function to call
 
I've been working on my first experiences with functions and from my textbook I believe that this vo...
[5 replies] Last: [quote=Symphoneee]Is there a way I can give you a good rating or anyth... (by TwilightSpectre)
0hh1 puzzle game
 
I'm trying to create a puzzle-like, sudoku-style game called "0hh1", but i seem to keep getting stuc...
[no replies]
Function to return sizeof()
 
So I know how to get the size of a something. cout << sizeof(char); However, I need to writ...
[2 replies] Last: Thank you, I forgot about using a void function, I was trying to use a... (by AmericanJeepR)
Generating Random Numbers..
 
I'm confused, I was under the impression that: rand() % (16+1) would generate random ...
[1 reply] : Ahh, scratch that. Apparently you can't put the numbers in parenthesis... (by shamieh)
Multiplication isn't working correctly
 
Hi. Beginner (obviously) here with a problem that's got me stumped. I'm supposed to create a functio...
[9 replies] Last: Yeah, chervil was right. I missed the point he/she was making in the f... (by closed account 48T7M4Gy)
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 t...
[2 replies] Last: http://www.cplusplus.com/reference/istream/istream/ignore/ (by closed account 48T7M4Gy)
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...
[1 reply] : The way to know if it's reading the file right and figure out the aver... (by SamuelAdams)
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...
[1 reply] : All you have to do is fill in the 3 parameters in the line: cout << A... (by closed account 48T7M4Gy)
error LNK1104 - can't run any code
 
Whenever run code by clicking 'Start Without Debugging' I receive an error that says: "error LNK110...
[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)
Logical Error! Help Appreciated!!
 
These are member functions, where mm, dd, and yy are the only data members. For some reason when I r...
[1 reply] : Valid indexes for an array with size n are 0 through n-1. How is line ... (by cire)
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 inpu...
[no replies]
i dont understand
 
the program itself works well; however, only for works, the other does not execute. Yet i do not wa...
[2 replies] Last: When choice is 2, you don't give the user a chance to enter another ... (by cire)
Code for time?
 
Hello, I recently added a loading screen in my program, I just need to have a code like a time count...
[1 reply] : Of course it's possible... http://www.cplusplus.com/reference/ctime/ ... (by pearlyman)
How to Restart a Program
 
I have made a calculator that, from the table of contents you can select a calc. However once you ma...
[2 replies] Last: Well i wanted it so that the user must only enter something if he/she ... (by ModcaFox)
October 2015 Pages: 1... 45678... 57
  Archived months: [sep2015] [nov2015]

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