Beginners - November 2018 (Page 22)

by cryptz
Trying to set user input into an array.
 
I'm wanting to make sure this is the proper way to do so. Here is a code fragment: int...
[5 replies] Last: [quote=cryptz]Would you be willing to explain why my example isn't cor... (by Satan)
Do while loop!
 
So here is the code for finding average of student's marks and find average if the user enters -1 bu...
[3 replies] Last: Please mark as solved (by user42)
help me
 
Write your question here. case 'B' : cout << "\nThis is class b section " <<endl; cout ...
[13 replies] Last: Hello khairil27, Sorry I meant to put this in the last message: Cl... (by Handy Andy)
by icaman
School Project
 
I need to create a program with c++ m to keep a list of available items in a sports goods store. For...
[5 replies] Last: Hello icaman, OK. So post what you have done so far. We all need a pl... (by Handy Andy)
Nested For statement which prints astrix
 
Can someone explain how this code works please? The output is 15 rows and 30 columns of * but I don'...
[6 replies] Last: Lets try with smaller amount: for (b=0; b < 4; b++) { cout << "... (by keskiverto)
-Solved- Thanks to JLBorges
 
This is an assignment to input student grades. However, apparently my professor want the program t...
[3 replies] Last: > somehow my method of finding average and lowest score went wrong. Ho... (by JLBorges)
Adding a interger to every part of another interger
 
I am testing a encryption algorithm and i currently have the issue as followed; I need to enter a...
[4 replies] Last: Recursion can be used here. #include <iostream> int f(int n, int o... (by tpb)
can you help me fix this
 
so i have a class assignment , and i have to create a class assignment to make a c++ program which m...
[5 replies] Last: #include <iostream> int main() { int first, second, third ; ... (by JLBorges)
Need help with compiling program with three files.
 
So far I have three divided files. One header file, a cpp file and a main file. The problem is that ...
[5 replies] Last: I see now, Thanks for the input guys! (by Awsom3Alan3)
by darego
overloaded iosteram operators
 
Hi guys, I am trying to make a basic program to help me understand overloaded operators a bit bette...
[9 replies] Last: Could you explain your post a bit more please? I'm not quite sure how ... (by darego)
by kretze
book recommendation
 
hey guys and girls can you please recommended me some good book about data structures included vect...
[1 reply] : Practices and Principles by Bjarne(creator of C++) also my first book... (by adam2016)
Separating characters from a string without using array. Is it possible?
 
Ok, so here are the questions I am faced with, First Question, Write a program that will ask use...
[12 replies] Last: OOps, I'd made a mistake at setting my compiler flags. You're right ma... (by nuderobmonkey)
How to show the mode using array
 
How do I incorporate finding the mode? I know for this there wouldn't be mode as the numbers are 10...
[7 replies] Last: I'm completely confused by all of that No wonder, it's quite advance... (by Thomas1965)
by Tduck
Comparison of integers between void functions
 
This is course work, and pre-provided code which I am struggling to understand:; the following code ...
[1 reply] : "return" is not the only way to return data from a function. In your c... (by tpb)
help with c++ programing
 
The program is supposed to take in two numbers from the user and display them separated by a comma, ...
[5 replies] Last: if you have the x/y coordinates of the 3 corners the height is pretty ... (by jonnin)
Coding for costing for renting a car
 
Write your questWrite a program in a script file that calculates the cost of renting a car according...
[4 replies] Last: alright mate. Thanks (by khairil27)
Convert string matrix
 
Hi guys, i need some help with something. I have a matrix of strings, for example : ...
[4 replies] Last: c != 0 is an expression that evaluates to 1 (true) if c is not '0' ... (by tpb)
type name not allowed error
 
I am trying to write a program that reads a text file and returns the most frequent and least freque...
[2 replies] Last: thank you so much that worked. (by freaknightmare88)
Comparing each element in two different arrays
 
I am trying to work on this problem where I have to compare two arrays, and print out 'equal' or 'no...
[6 replies] Last: Awesome. Thanks so much for your help! (by tuhmaytow)
Recursion calculation doesn't work.
 
My current output doesn't show the calculations and it counts f(n) down from what the user inputs to...
[3 replies] Last: Thanks guys! It works now. (by quincyq)
November 2018 Pages: 1... 2021222324
  Archived months: [oct2018] [dec2018]

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