Beginners - April 2014 (Page 27)

filling array with a user input exit
 
Hi, I do not know how to exit my array with a user input value. void fillArray(double newThr...
[5 replies] Last: nevermind i figured out a way i can do it without that number being ze... (by redsuns)
Code issues!
 
I don't get any syntax errors, but I do get a run time error when I try to display the information a...
[no replies]
help with processsing text from fstream getline
 
Hello, I am trying to process text received from a fstream getline. I know C well ( and probably...
[2 replies] Last: Thank you kindly for your quick response and help ( even though I am f... (by tdeluce)
Having problems again, go figure!
 
Ok so we are asked to check credit card numbers to see if they are valid. The user has to select wh...
[4 replies] Last: supper that will help a lot. I like programming, but it can be frustr... (by nsmith1779)
Where do I begin?
 
This is the first time Im working with inputting strings for analysis. My program must check for p...
[5 replies] Last: How do I ask the program how many characters are in the string array?... (by TheIdeasMan)
Help with displaying my array?
 
So I am in a C++ class for school and am doing a project where I must create 2 classes CStudent and ...
[14 replies] Last: Thank you for that ne555, that's what I couldn't think of for some rea... (by Reitrahc)
function header, prototypes, and call.
 
Hey, I'm using functions to add two matrices (two 2-d arrays) but I having some issues with function...
[4 replies] Last: ok I got it, thank you! (by aslan10)
Vectors in class
 
Hello I am defining a class called node that contain number of variables but I want to declare a...
[1 reply] : See http://www.cplusplus.com/reference/vector/vector/ for general help... (by RadWayne)
Passing double around for several functions.
 
I am writing a program for Salsa sales. For now I want to know, how do I pass the numbers that I...
[1 reply] : Someone take a look! Posted this a few hours ago. hope this helps, I h... (by JonsOnline)
This is the only error I keep getting. Why?
 
The program exercise: section A: $20/300 seats Section B: $15/500 seats Section C: $10/200 ...
[5 replies] Last: Thank you... Still learning and probably would have sat here another h... (by squirrel27)
by leo255
How can I generate random uppercase letters in C?
 
Hello, Below is what I tried. I can only use getchar/putchar for IO. How would I go about randoml...
[5 replies] Last: How are you seeding it? I would suggest: srand(time(NULL)); ... (by giblit)
BST insertion function
 
So basically i know how BST tree works theoretically but i don't understand how how it operates afte...
[1 reply] : I don't understand your drawing. > since after 1st node temp value is... (by ne555)
Question about If, Else statements
 
Write a program that accepts two numbers – temperature and day of week (if it is Sunday 1, otherwi...
[3 replies] Last: Awesome, that looks like it should take care of it. Thank you all sooo... (by bigorangeman)
fstream loads the last line of a file two times
 
I don't know why this program loads the last line of the file two times. The "ile" variable is equal...
[4 replies] Last: It does make sense, thank you for explaining. (by invisibleman)
by bozz51
Help
 
Hello I'm trying to write a simple code to read ten numbers from my "data.txt" file and it's only re...
[7 replies] Last: #include <iostream> #include <fstream> using namespace std; int ma... (by mertsamilgul)
by dan2n1
Need help
 
Hello Everyone, I am in need in help with a palindrome program. Below is what I have, but keeps cra...
[4 replies] Last: @dan2n1 So you are implying you don't want any more help? Edit: Als... (by TheIdeasMan)
Error: expected primary-expression before 'int'
 
I am writing a program to convert numbers to Roman numeral. My code is still in the first stages...
[4 replies] Last: Ok things are looking better now, but did you do all the things I ment... (by TheIdeasMan)
by iluv41
Why is this an infinite loop?
 
.
[2 replies] Last: Clear just clears the error flags. You want to clear the error flags t... (by giblit)
File Input and Output (1,2)
 
hey guys,I'm trying to figure this out but I'm stuck somewhere. Can someone help me out. The Spring...
[25 replies] Last: Thanks guys I been working on this project for two weeks and is due to... (by niludown)
by jwilt
trees
 
I know in my main function the root isn't pointing at anything but I'm not sure what to make it poin...
[no replies]
April 2014 Pages: 1... 2526272829... 67
  Archived months: [mar2014] [may2014]

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