Beginners - May 2018 (Page 17)

Opening, displaying and closing a file question
 
Hey all, file question. I have a saved file on my computer that I need this program to open, display...
[1 reply] : quotes. Other points and errors: - The fstream is a stream to a fi... (by icy1)
CSC 102 Exercize Question
 
I'm doing some exercises from a cpp book and the question is "Consider the following function ...
[3 replies] Last: @icy1 & @ peter87 ah yes!, I meant to remove that #include <iostr... (by girlscout)
if else help
 
I'm writing a program for school project where the input is item1 10 item 2 20 do you have ...
[1 reply] : use [ code ] ... [ /code ] tags (without spaces near the brackets). *... (by icy1)
rvalue and reference please help MEEE
 
#include <iostream> /*m and n is the matrix size and T is the type of the matrix blocks*/ /*the de...
[1 reply] : Hello moo2401, PLEASE ALWAYS USE CODE TAGS (the <> formatting button)... (by Handy Andy)
CodeBlocks namespace problem
 
Hello, I have been learning namespaces in classes using CodeBlocks IDE and I have encountered a prob...
[2 replies] Last: Hello JustinPlusPlus, I loaded up the program in VS and as I thought ... (by Handy Andy)
Shopping Cart...
 
You are going to create a shopping cart using C++ program. First, the program will ask user’s info...
[1 reply] : Hello garza07, Duplicate http://www.cplusplus.com/forum/beginner/2360... (by Handy Andy)
a^b digit calculation with big numbers
 
Hello, I was trying to calculate number of digits when you a^b, found out this way with logorithm an...
[5 replies] Last: Yes, that's the conclusion I came to as well, @tpb. (by lastchance)
Efficient Int Values
 
My question is in regards to the most resource-efficient way of assigning values, or perhaps one tha...
[4 replies] Last: Then, in both cases, that's not pre-optimization, and therefore not th... (by Ganado)
Why this program gives Runtime Error
 
int main(){ int *a,*b,*c,*d, e=4; int **array ={&a,&b,&c,&d}; int i; *a...
[2 replies] Last: Otherwise, if you want to copy the value contained in "e" into the mem... (by Enoizat)
volume of cyliner --- "ERROR"
 
write a program that computes value of a cylinder with PI= 3.1417... this is my code .. this is n...
[2 replies] Last: thanks alot :) (by ayesha1122)
Making code more efficient through functions
 
Write your question here. #include <iostream> #include <ctime> #include <cstdlib> #includ...
[4 replies] Last: Hello Shezshade, With the line of code int tempArray {}; I think ... (by Handy Andy)
Int Limit Req.
 
Please advice for this program : I am biggner value entered by the user within the range from...
[1 reply] : Please note that this is not a homework site. We won't do your homewor... (by keskiverto)
Root Finding
 
What is wrong with this program? It says it won't respond. //Matthew HW7 Root Finding #includ...
[2 replies] Last: Crikey, the depth of that pothole! Unless you are into recursion, the... (by lastchance)
compile issue
 
can someone help me. its not compling . #include <iomanip> #include <iostream> #include <c...
[1 reply] : When code is " not compling ", the compiler does show error messages t... (by keskiverto)
Error in reference of c++
 
Hey guys, This is a program to draw a table of conversions from binary to decimal #include <iomani...
[4 replies] Last: how can I make it one function? By using the same type for all the p... (by Peter87)
namespace called Constant
 
pls help me with my homework. => Create a namespace called constants that contains the following...
[1 reply] : It looks like your class is already on namespaces. Good, then you have... (by keskiverto)
2D array multiplication
 
Hello everyone. I have been trying to figure out how to store and multiply two array from a two file...
[3 replies] Last: You aren't multiplying matrices correctly. There are numerous errors, ... (by lastchance)
..........
 
..........
[4 replies] Last: garza07, I think you accidentally deleted your post. Please do not del... (by Ganado)
Problem with Constructors, Mutators, etc.
 
Hello. I'm a beginner here. I'm having trouble seeing what I'm doing wrong in this problem. Here's ...
[6 replies] Last: Nevermind. I solved it. Thanks for the help, though! (by ITOYEN2049)
Writing an array from a file
 
I'm trying to write an array from a file. I'm able to output the numbers that are in the file but wh...
[1 reply] : You're going through the whole file, reading each value one at a time ... (by tpb)
May 2018 Pages: 1... 1516171819
  Archived months: [apr2018] [jun2018]

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