Beginners - October 2014 (Page 36)

Entering values to a vector and print it
 
I can´t get all the values to print and I get a value printed at the first row that isn´t supposed...
[2 replies] Last: Solved it. Thank you :) #include <iostream> #include <vector> usin... (by patriic48)
by Occam
Reading from file
 
A function takes a word from a list, counts how many letters it contains and print it out like this:...
[5 replies] Last: I couldn't get strlen to work. Maybe i would have to restructure the c... (by Occam)
by k99
what is this dot?
 
example = str.emphatic(); what is this .? is this a assigning function prototypes? base on the...
[2 replies] Last: Thanks miinipaa (by k99)
Everything seems to be working but read from file part
 
If someone could please help me grasp reading from a file i would appreciate it. #include<iostrea...
[18 replies] Last: it's has to be an issue with how im opening the file or something beca... (by jafox192)
Help with program
 
Please help with my program. #include "StdAfx.h" #include <iostream> #include <iomanip> #in...
[8 replies] Last: Line 29,34,303: You're trying to compare ints to a quoted string. ... (by AbstractionAnon)
Result outputs 0
 
Hi there, I am just testing a simple maths equation here. Lets say i want to perform (123456789...
[5 replies] Last: i think that your compiler doesnt support out of range number so it wi... (by xenovia12)
Recursion
 
Write your question here. How do i define a recursive function printing a diamond
[5 replies] Last: sorry if didnt take not of int p= 1 of line 4 ... (by shadowCODE)
Please Help Me Do The Descending Sortation
 
could you Help me.. how to Add reverse the Answer (Add The Descending Sortation)? if i Put 10 on ...
[9 replies] Last: ok (by shadowCODE)
Linked list head
 
I cannot figure out how to update node *head. I know realize it carries the NULL node from main to t...
[no replies]
while loop and failbit with other conditions unexpected behavior
 
Why doesn't this work? while (!(std::cin >> stat) || (stat != "hp" || stat != "str" || stat !...
[2 replies] Last: Wow. This post is probably a reminder that I should not be doing this... (by bryan177mcsc)
I need help with recursive.
 
Hi. I am taking a course on C++ but now i regret. professor taught some basic knowledge but the home...
[2 replies] Last: lets explain for x=0 from main, #include <iostream> using namespace s... (by anup30)
How to write a program that will display the values of A, B, and C with the respective formulas?
 
How do you write a C++ program that will display the values of A, B and C with the respective formul...
[1 reply] : double x = 3; double y=4; double z=5; double A = (x+y) * z/3; double... (by MiiNiPaa)
Copying data file to array
 
I need to copy the data from the following file to a structure array: Martin Smith/ 22 2.2 Austin ...
[9 replies] Last: Just do what it tell you to. Use _strupr instead of strupr How to use... (by shadowCODE)
Trouble with a function!
 
I am working on my C ++ homework. The goal is to create a function which will check a given file for...
[9 replies] Last: Here is an example of this error: http://ideone.com/pfuEEi (by MiiNiPaa)
how to count chars?
 
So i'm trying to write a program that counts vowels and tells the user how many vowels they entered ...
[3 replies] Last: Please explain lines 12, 17, 19, 24, 31, 45, and 49. PS. Indentation ... (by keskiverto)
New and cant get function calls
 
not sure why but none of my function calls are working the funcctions themselves have out put when i...
[2 replies] Last: thank you (by jafox192)
Grading program for an unknown number of students with several qualifiers.
 
Hello everyone! I was wondering if you guys could give me a hand. This is my final assignment fo...
[4 replies] Last: Thank you so much... For some reason it looks much simpler in pseudoco... (by Pickleboy)
I can't seem to figure it out...
 
Please help here is my code however I am not sure how to output text to a file and then use the file...
[1 reply] : In line 19, you correctly read from the file inputfile>>population ... (by shadowCODE)
by Myna
Please help improve this geometry calculator
 
I need to improve my program in a following ways; ● When the user enters wrong input for radius, ...
[5 replies] Last: Thank you, i just figured how to use do it out too lol. Also to avoidi... (by Myna)
Printing linked lists with struct
 
I think that my information is loading into the list, but I can't verify it because I can't get the ...
[6 replies] Last: We are putting nodes in the front. Nothing is getting to the show func... (by kraftykayjay)
October 2014 Pages: 1... 3435363738... 70
  Archived months: [sep2014] [nov2014]

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