Beginners - December 2013 (Page 60)

Reading Data from a File
 
Edit: I have discovered that the errors I receive after the program reads my file are because it is ...
[3 replies] Last: The int variable n from before the while loop int n = 0; can repres... (by tisnman)
binary tree node counter
 
Hello, i'm very new to this and i'm sorry if this is formatted incorrectly. Anyway, I am trying to ...
[2 replies] Last: Line 21: change friend size_type size_aux(node* rootptr); to friend... (by heebleworp)
Sieve of Erastosthenes
 
This was a previous homework assignment, the assignment was you have to change 1 line and 1 line onl...
[4 replies] Last: whenever I figure out things that are way easier then I'm making them ... (by Joshcannon)
Median of arrays
 
Hi there, I'm working on this assignment that requires the user to enter up to 15 "test grades" in a...
[no replies]
tic-tac-toe trouble!
 
tic-tac-toe trouble! I was really hesitant on posting this wall of code, but i think that you need t...
[no replies]
by BrianA
Short question abous strings and numbers
 
Hello I have txt file Hello, my name is Brian. I like to tra00123456789vel my phone number is 6525...
[11 replies] Last: Hi, I'll just put up another example, based on my interpretation of w... (by tipaye)
Number of Capital Letters
 
I need to write a value-returning function whose argument is a string and returns the number of capi...
[2 replies] Last: I got it. (by vishivish01)
Linked list needing assistance on understanding the code
 
Hi, I'm trying to understand what the pointers are doing in this linked list. Basically I don't unde...
[no replies]
by Ch1156
Calculator Help
 
Ok so im writing a calculator and im working on a function that calculates the mean, and it seems to...
[4 replies] Last: Nevermind i figured it out (by Ch1156)
Error on string subsript range???
 
Error String subscript out of range of line 24.Don't know what exactly the error is. storeletterscor...
[2 replies] Last: Oh crap :( please tell me I can use an if statement :( or some thing l... (by fahmankhan75)
Invalid code?
 
Hi, this is a really basic code that asks users to input two numbers (whole and then later fracti...
[no replies]
by Xesna
Movie Data
 
What am I doing wrong? I know it has to deal some where in the class and the void MovieData func...
[6 replies] Last: EDIT: The tutorials are just as vague as the book itself since it isn'... (by Xesna)
by Chubby
Array Problem
 
I am trying to find the max of array and the index. the code below: when i try to run it. it show...
[1 reply] : 1. You do use the array uninitialized, so you are looking at undefined... (by keskiverto)
by sky3
Sorting function repeating numbers?
 
MY SortArray function is sorting my numbers but repeating some of them twice, for example : 59 59, 6...
[1 reply] : anyone? :( (by sky3)
Student Programmer needs help with function
 
I am working on a price markup program using function and I keep getting these errors: 1.0Error 1 ...
[3 replies] Last: Thank you both! (by kmartar)
Reading from files please help!
 
Hi, Basically I have a file that has numbers in and i need them to be read into my code ( which i th...
[no replies]
Rotating arrays
 
I'm trying to figure out on how to rotate arrays. I got information from a file and put it into an a...
[4 replies] Last: The rotation can be accomplished by swapping array values and using a ... (by heebleworp)
by Rahmat
please help me .....
 
hi, why after debugging program windows says: "Run-Time Check Failure #2 - Stack around the var...
[1 reply] : That error usually means you are stepping outside of array bounds. An... (by Disch)
by thepox
reading data from a file
 
Assignment: In this assignment, you will write a program that will allow for all Caesar Ciphers...
[2 replies] Last: 11 (by thepox)
by aamna
Declaring charater Strings
 
Hi i am new in C++. i am having problem in declaring character strings in turbo 3.0. I have include...
[2 replies] Last: or using namespace std; way at top (by tisnman)
December 2013 Pages: 1... 5859606162... 69
  Archived months: [nov2013] [jan2014]

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