Beginners - April 2014 (Page 46)

by cozier
Help With Pointers
 
Im working a a program that uses pointers to check if a word is a palindrome or not. I know the code...
[1 reply] : I know the code needs to have the pointers go through the array one s... (by kbw)
Need help in understanding the sequence of event
 
Reference: http://www.cplusplus.com/doc/tutorial/inheritance/ -> What is inherited from the base cla...
[1 reply] : Base class constructors are always called by the derived classes. On ... (by firedraco)
Need another set of eyes
 
Hi, I have been running through c++ online coding classes as fast as I can trying to get myself up ...
[12 replies] Last: Different concepts and approaches. Calling compiler directly is very ... (by keskiverto)
by cfm310
really need help with input file, array program,
 
statsapp.cpp:124: error: invalid initialization of non-const reference of type ‘double&’ from a ...
[7 replies] Last: Try printing out the data you read from the file. (by LB)
by Naulee
Debug Assertion Failed
 
Hi guys, I'm replacing 4 letter lower case words with "----" and "|---" for 4 letter words that star...
[3 replies] Last: Thanks fixing the while loop to include my cin>>w under the conditio... (by Naulee)
Distinct Word Counter
 
I have a homework assignment that requires the user to input some strings then the program will coun...
[5 replies] Last: Here's what I have so far. And I've moved stuff around in every way I ... (by tylergarner)
Help my member function return a string.
 
I need to know how to return the right data type for this class. I guessed that I create an array ...
[2 replies] Last: I'm not sure what that function is supposed to do? Without looking at ... (by admkrk)
converting 12hr to 24hr with exception handling
 
Okay, it is compiling alright. But when I enter the time, it says that I entered an invalid value, r...
[4 replies] Last: Never mind. I figured it out. I wasn't setting the variables I was pas... (by cphipps)
by rubito
Help with sort timing
 
Write your question here. aCan someone help or point me in the right direction? I'm writing a pro...
[no replies]
Help with nested loop
 
Write a function that will generate the following pattern using nested for loop. + . . . . + +...
[4 replies] Last: cheers dean much appreciated (by deelfc89)
Random numbers into 2d array
 
hi,i am trying to print a 2d (4*4) array,filling it with random numbers,however when i print, all e...
[5 replies] Last: i have managed to figure it out. thanks darqan and seiza (by yusufseedat)
by xvvll
Need help with reading file
 
I need a little help on modifying my code to be able to read a file with bad data and without a term...
[2 replies] Last: Thanks for the help, had to read what stringstream was since I hadn't ... (by xvvll)
by darqan
My anti-copy part of the script isn't working :(
 
My problem is this... I'm trying to make a sink ships game and that is only in command prompt. Becau...
[2 replies] Last: Hum, how do you mean? :P When I generate the coordinates before the lo... (by darqan)
by dean
Operator overloading - error: too many parameters for this operator function
 
Dear cplusplus forum members, when trying to overload the operator < with a non-member function, I ...
[4 replies] Last: Easy way to remember where is the scope of relational operators: 2 ar... (by SeiZa)
Using Structures as parameters in Functions
 
I keep getting an error. My compiler says" error:'TopLevel' does not refer to a value." This error o...
[2 replies] Last: Thank you so much!!!! The way you wrote that out really helped. It... (by mar0029)
Caesar Cipher with Arrays
 
Hi, I am writing a program that decrypts a file input from the user. The user will have the option o...
[3 replies] Last: I'm not sure exactly I could figure it out but would take a little bit... (by giblit)
Bjarne's Programming book questions
 
Alright so everything was going good and i had a decent understanding of everything until i reached ...
[9 replies] Last: alrighty. Gonna stop asking questions and start typing up some code. T... (by darkn3ss)
Reading Input File with mixed format
 
Hello there, I am pretty new to c++. I am trying to read an input file (.txt) with mixed format. ...
[11 replies] Last: Hah never thought of that. Thanks LB (by SeiZa)
Deck of cards
 
I need a function deal_to that removes one card from the deck and places it into a hand. After deali...
[1 reply] : std has shuffle and random_shuffle. You might want to compare them to... (by keskiverto)
Binary Tree -> DeleteItems
 
Hi guys! First of all i have to say that i am new to this forum. I've been learning c++ for few mont...
[6 replies] Last: You lost/delete your head pointer somewhere :) try to use valgrind or... (by SeiZa)
April 2014 Pages: 1... 4445464748... 67
  Archived months: [mar2014] [may2014]

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