Beginners - October 2015 (Page 27)

by Life24
Transposed two-dimensional matrix
 
Hello, I want transposed two-dimensional matrix. What i do? :( #include <iostream> using namespace std; void Transposed (int matrix ,int leng...
[1 reply] : few things to consider : is it a square matrix all the time ? if so ,... (by Ericool)
by dn90
Storing objects of a class within another class' array?
 
Is it possible to store multiple objects of one class into a dynamic array found in another class? This is my main(): ifstream inStream; ofstream outStre...
[1 reply] : seems on the right track indeed. we dont say completely virtual , but... (by Ericool)
need help with project
 
Hi. i'm stuck at this point, so some fast help would be nice :)
[5 replies] Last: You did not post the declaration for your class as requested, nor did ... (by AbstractionAnon)
Project Euler problem 4 [SPOILERS AHEAD!!!]
 
Hi, so I'm writing a program to find the largest palindrome made from the product of two 3-digit numbers. Everything works perfectly, it even writes the palindr...
[10 replies] Last: @DDomjosa, Your array printing program rewritten using STL vector: #... (by closed account E0p9LyTq)
by hanest
problem with arrays
 
Hi, I am trying to calculate the silver ratio via a recurrence relation but when i run the code i just get incorrect values for all but the first 3 values. ...
[3 replies] Last: Thanks alot, that solved the problem. (by hanest)
Please help
 
I have this lab exam that i really don't know what to do. The problem is here: Create a program that holds an array containing 5 integers. Create two methods t...
[7 replies] Last: template<typename T> T max(T* array , size_t size) { T value = arra... (by Ericool)
loop help
 
Hey guys, so Im trying to write a program that takes the average of up to 15 numbers and find the average. Ive been able to get the loop that finds the average ...
[6 replies] Last: I'm not sure what you mean 'i has gone out of scope' i is defined a... (by AbstractionAnon)
Checking Values In For Loop
 
How would I check for the highest value inside a for loop? Like if my for loop prints out 3575 3622 3660 3705 3712 3710 3697 3675 how could I...
[4 replies] Last: Thank you so much. You're a boss. I forgot to do that. (by joshuatz)
by adilas
Im a Beginners and I need help!
 
#include<iostream> #include<string> using namespace std; void magicSentence(); int main() { magicSentence(); return 0; } void magicSentence() { string word = ...
[2 replies] Last: @adilas do you really think that in the statement exit you code nothin... (by Ericool)
Simple C++ Project
 
I am using the C++ function strcmp to compare one string to another. However, I am still not getting my program to print in Oldworld linguistics below. Can you ...
[3 replies] Last: tremain7 . You need to understand when you specify the type and when y... (by Ericool)
Opinions? C++ or Java?
 
I know this is silly to be asking on a C++ website but I find that this community is the best for giving in depth information on subjects that don't always dire...
[3 replies] Last: if you know Oriented Object , it should not be a problem . For the syn... (by Ericool)
fix login code c++
 
please help me fix this code,i can't run the system. act, im still newbie in coding. thanks in advance. i want to put login function but, i failed. #include ...
[5 replies] Last: This code will cause an infinitive loop. What is the criteria to get o... (by chicofeo)
Array not filling up
 
I have made a function which takes a 1D array input and has to rearrange it. It is basically an array of cards and all the discarded cards are changed to OO. In...
[no replies]
by HG319
hash class questions
 
I having trouble with some hashing. We are given the hash class and within the class we need to figure out total number of elements in the table , the size of t...
[no replies]
by hdyh
return-statement with a value, in function returning 'void' [-fpermissive]
 
This coding was not function because of the return cutPoint. please help me to solve this problem #include <iostream> using namespace std; void quickSort...
[5 replies] Last: I noticed that if you enter two or more numbers that are the same your... (by closed account E0p9LyTq)
by ct180
General Constructor Error
 
I'm having a bit of trouble getting this constructor to cooperate. The constructor is supposed to create a linked list from the given array but I can;t even get...
[1 reply] : Please don't post more than once: http://www.cplusplus.com/forum/gener... (by LB)
by Egomar
Array input/output
 
I need the user input to be saved into my array and then output the array before the user inputs the next time. I have moving things around different ways but c...
[no replies]
HEY, I NEED HELP =(
 
Write your question here. hi ,I wrote this code and I don't knew what is wrong in the output the result is always ZERO ... Is it the library ?? I could...
[5 replies] Last: THANK YOU ALL (by sheeman)
scanf not workin
 
scanf is not not working. may be header prob..is there a better way to code this...need to find min no of guess required to determine a no. between 1 and 1000 b...
[5 replies] Last: The scanf()'s work for me. What is the program supposed to do? In ad... (by dhayden)
by hdyh
sorting problem
 
i want to sort the average in ascending and descending order. but only the descending was success. Help me solve it please, or any mistake that i made ? ...
[1 reply] : It doesn't matter in what order you iterate over the elements. What ma... (by Peter87)
October 2015 Pages: 1... 2526272829... 57
  Archived months: [sep2015] [nov2015]

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