Beginners - November 2013 (Page 73)

How to combine hours and minutes?
 
Here is part of my code. For example: The input is 200: Hours : 3 Minutes : 20 how can i...
[7 replies] Last: if { //time is 0000 } else { //calculate } (by Mats)
Help with formatting my output
 
I need help formatting my output to "look nice". Also, my first volts output is giving an odd output...
[3 replies] Last: You are setting volts to be equal to volts in your calc_volts functi... (by TwilightSpectre)
~~Help me urgently please~~
 
Help please.. just gotta make the loop run as many times as the value that the user enters... i have...
[2 replies] Last: The keyword is for not if.--line 15 printStatistics(); If is a conditi... (by Aceix)
For Loop help
 
Hello Everyone. I have to write a For Loop that prints multiples of 5 from 1 to 400. So far this is ...
[7 replies] Last: > if there was a way to start at 1 and jump to 5, 10, 15 with just usi... (by JLBorges)
Function and loop addition program
 
I'm at a lost for how to fix this. It compiles perfect but doesnt do what I want it to. What I'm try...
[1 reply] : I guess you are stuck in an infinite loop. Remove the semicolon at the... (by ats15)
program doesn't output anything
 
Write a program that can be used to train the user to use less sexist language by suggesting alterna...
[no replies]
Counting border elements that are zero in a matrix
 
Hi everyone. I have two matrices that are input by the user. My question is how would I count the nu...
[12 replies] Last: To answer your question, is something along those lines? sum ... (by Cryptik)
Help with arrays?
 
Hi, i am supposed to write a program that declares 3 one dimensional arrays. I am supposed to pass t...
[14 replies] Last: it is a better idea pass a SIZE value as an argument -to print or writ... (by eyenrique)
Syntax Assistance (?)
 
I'm trying to figure out what the syntactical structure of this program should be. I think my equati...
[1 reply] : You shouldn't think of line 11 as an equation. It is an instruction. I... (by Chervil)
by ivan1
Read multiple columns of data
 
Hi all, I am trying to rad some data from txt which has the following form: 3 6 2 1 4 2...
[1 reply] : Lines 8 through 10 belong outside the loop, before line 7. (by Duthomhas)
by ephekt
not sure what to do
 
I need to count the number of times each number appears in an array. I have no idea what to do in or...
[2 replies] Last: i tried adding another function and another array but now the output i... (by ephekt)
c++ quesiton .txt file
 
How do i make my program read numbers from a .txt file?
[1 reply] : Have you tried pleading with it: "please read numbers from this .txt f... (by Danny Toledo)
How do i make my program record spaces?
 
Im making a Vocabulary study program.I want it the user to put the word's name and definition.When t...
[2 replies] Last: Oh i feel like an idiot.I was unaware of it.Thanks (by Nitrosolid)
help write this program please!!
 
I'm having a hard time solving this problem could you please help me out? The date June 10, 1960 is...
[2 replies] Last: can you fully format the whole program please? I really don't know how... (by bubbles6310)
by mjyz
Easiest way?
 
What is the easiest way to read from this input (string and numbers) file and restrict an Id number ...
[5 replies] Last: anyone? (by mjyz)
Write a function that will do this
 
Hello everyone, so i am working on a program which is basically this #include <cstdlib> #incl...
[4 replies] Last: So wha would be the new code ? (by adrianrayce)
MEDIAN FROM FILE
 
Sup guys , I'm having trouble with this program question.... Compute the median of a data file. ...
[no replies]
What to check for when given 'unresolved externals' error
 
(note: the following CPP file uses a header file provided by the professor that makes the item and n...
[1 reply] : if you could provide the error message, that would be great. http://w... (by ne555)
by ephekt
fill array from file and sort
 
I am trying to fill an integer array from a file and then sort the array in order and count the numb...
[3 replies] Last: thank you so much i've been trying to fill this array for hours now, a... (by ephekt)
by mv81
c++ fractions
 
Im writing a c++ program that uses fractions and im having trouble figuring out how i allow people t...
[1 reply] : Ask the user for a numerator and a denominator, do your math magic, th... (by mobotus)
November 2013 Pages: 1... 7172737475... 80
  Archived months: [oct2013] [dec2013]

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