Beginners - March 2016 (Page 47)

For Loop Problem
 
First time doing for loops (way beginner, I know). Here's the full instructions for this problem: Write a program that computes the values of the sum (1 +.5 +...
[1 reply] : Write some code so tht we can help you.(we are not your coders). Also... (by MaBunny)
Array with Deep Copy& Copy Constructor
 
Hi, I am trying to get my code to run, and I can't figure out the problem. This program is suppose ask the user to enter and array and then print out the array...
[3 replies] Last: I don't know what's the meaning of int num in SetAll(...), but you d... (by coder777)
pseudocode
 
Write your question here. Write a pseudocode for selecting the largest positive number ( greater than zero ) from a set of N positive numbers. # value of N is...
[5 replies] Last: Thanks man (by wizzy0249)
Why does this program calculate age twice?
 
When I run my code it works UNLESS you enter an age outside of the limits. It will ask you to enter the correct age but then it calculates it twice. I don't run...
[4 replies] Last: Basically the problem I was having was this: I enter the dogs name: Fi... (by travina8)
Unresolved External Symbol is Unresolved
 
Hi all, I'm getting the below error in the below code. What am I doing wrong? LNK2001 unresolved external symbol "public: static char const DateProfile::GEN...
[4 replies] Last: That makes total sense. Thanks! I appreciate the troubleshooting and t... (by itsbenbroughton)
Console Game.Help.
 
#include "stdafx.h" #include <iostream> #include "time.h" int main() { srand((unsigned int)time(NULL)); int SerildaHP; int LunaHP; SerildaHP = 10; LunaHP...
[2 replies] Last: Ohhhhh, thank youu ! (by Idiotal)
for (loop) Array[issue] C++
 
Good Evening guys, I am trying to figure out how to make this array work, ive tried endl; and break; in the for loop outside of the four loop and no matter wha...
[1 reply] : Does this solve your problems? I only made a couple of changes. See ... (by mgoetschius)
How do I ignore spaces when counting characters?
 
Write your question here. I'm writing a program to count the characters of the last word in a string of input, but excluding the spaces. I've written a program...
[1 reply] : getline(cin, mystring); cout << mystring << " - "; std::string t =... (by naraku9333)
Reading a file until a specific string is found.
 
I'm trying to write a program that can efficiently parse through an XML file. The XML files I'm trying to read are 5 to 20 million characters long, but they're ...
[3 replies] Last: This isn't well tested. #include <iostream> #include <string> #inclu... (by naraku9333)
"Code will never be executed"
 
Hi everyone, I've made a library for input validation, and overloaded the function, input_prot for different scenarios. The problem is that whenever I compile i...
[6 replies] Last: Don't compare bools to 'true' or 'false'. For example, just say while... (by fredk)
March 2016 Pages: 1... 454647
  Archived months: [feb2016] [apr2016]

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