Beginners - April 2017 (Page 4)

What am I doing wrong? Total calories burned calculation
 
This is my third time ever, writing code... I don't know what I'm doing wrong, but the total calorie...
[2 replies] Last: Thank you SO much Joe!!! Life-saver. (by lisagimros)
How do you adjust the setw of these arrays?
 
Right now the outfile looks like this: YEARLY MONTHLY RAINFALL Month Rainfall in inches January //...
[1 reply] : lines 20-21 of this post could give you some ideas: http://www.cpluspl... (by gunnerfunner)
Help about strings and vectors exercises
 
Hello everyone , I need a little help about string and vectors exercises.. I have few tasks. 1...
[2 replies] Last: store them in 2 arrays or vectors since you have this choice ( a lot... (by gunnerfunner)
Help with functions & rand() please?
 
Can someone help me with this problem? It's a rock, paper, scissors game with the computer and the u...
[2 replies] Last: It doesn't. But I left it empty for the sake of this post, because whe... (by nicoleb)
numbers to words converter problems
 
Am trying to make a program that convert numbers in money format like 12.45 in words for example twe...
[2 replies] Last: got the code tags in. (by JulianV304)
Help with modified binary search?
 
Hey guys i need some help with the last part of my assignment. I am currently working on the rest so...
[no replies]
header files
 
how many header files is too many? Is using 4 for a big project too many or not?
[1 reply] : You can use as many header files as you want, the compiled program wil... (by nuderobmonkey)
Help with adjusting score after iteration
 
I need help with this code, is there a way I can make it so after the do while loop runs once, and w...
[1 reply] : Make your 'Scor'e variable static, then it will initialized only by th... (by nuderobmonkey)
Need help with a program about normalized vectors
 
A vector of points on the plane is normalized if all the following three conditions hold: Property ...
[14 replies] Last: No progress at all yet. I will look the code very carefully during th... (by Oriol Serrabassa)
How can I include templates in a program divided into multiple files?
 
Hello everyone. I made a program that gets a series of integers and stores them in an object of the ...
[3 replies] Last: @gunnerfunner Thanks. This solved my problem. (by ufrnkiddo)
Prime number code
 
What's wrong with this code? I learned it at school. It doesn't work for some numbers, including 7,1...
[1 reply] : Always use braces with if, else, while etc. Here is your code, indent... (by dhayden)
How to properly read data from textfile into an array of objects?
 
Just as the title states. I don't know where I am going wrong. I thought my thought process and code...
[10 replies] Last: Hello MisterTams, At first look everything looks like it should work.... (by Handy Andy)
by thmm
Why this strange behaviour ?
 
Write your question here. Why am I allowed to pass nullptr to a function that expects a string, but...
[3 replies] Last: Thanks, I understand now. (by thmm)
C++
 
Write C++ program to create five object of book, get information of book using getdata() function in...
[5 replies] Last: You should look up the linear search algorithm. This involves keep... (by mbozzi)
by elieh
best way to get user input and search a .csv for it
 
Hello I have a .csv file about 3 columns and more than 2000 rows (and growing). I need to write a p...
[8 replies] Last: I updated my compiler from MinGW to TDM-GCC-32 and that fixed the erro... (by elieh)
pig dice game
 
lHello, my question is that I can not seem to locate where my error is. The problem is that althoug...
[2 replies] Last: oh wow, I can't believe I didn't see that. Thanks, much appreciated. (by stevea88)
Please help with strcmp!
 
Hello everyone, i was asked to find corresponding decoded letter from the lookup table and compare i...
[3 replies] Last: I see you have decided to take the advice I gave and use String's. Yo... (by closed account 48T7M4Gy)
by Ma92
Random_values_checking
 
Please help: tnis code has a logical error . I am using rand function to generate random values fro...
[1 reply] : Hey. Please edit your post and put your code in code tags - http://www... (by TarikNeaj)
by Ma92
srand funtion
 
#include<iostream> #include<ctime> #include<cstdlib> using namespace std; int random () { int...
[2 replies] Last: Thanks it works (by Ma92)
Strange Problem
 
Hi ! I work on a code and sometimes crahs , sometimes work , and I don't know why. I warn you that I...
[4 replies] Last: I used argcs to count some old lines that I delete later . I resolve t... (by El Toro)
April 2017 Pages: 123456... 34
  Archived months: [mar2017] [may2017]

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