Beginners - December 2015 (Page 41)

by C0UG3R
Initializing a hash table structure in a class
 
So I have an assignment where I have to make a hash table and I can't seem to get past the first par...
[1 reply] : I'm not sure if I'm even setting the table up correctly in the constr... (by coder777)
Help trying to reference class variable in function
 
Hello. I'm trying to make a text based rpg, and I'm trying to create this function in the player.cpp...
[3 replies] Last: @ YFGHNG Yes, the OP's class does lack an interface of public funct... (by TheIdeasMan)
Linked List Problems
 
I'm trying to write a program that has a user input student names, their ages, their GPAs, and their...
[1 reply] : Hi, There are quite a few problems I can see: The implementation of ... (by TheIdeasMan)
SFML Text repeats across screen
 
Okay I have 1 problem : http://imgur.com/Q4d8hrm I don't want the text to display like that, I would...
[6 replies] Last: Your sir are a genius, thank you so much :) (by FighterCoder)
function F(n,m)
 
Hi, I'm a c++ Beginner. I need someone to tell me how to write a function for F(n,m)= m*(m+1)*...
[12 replies] Last: Realized I made a mistake in my earlier code. What you'll actually is ... (by YFGHNG)
Debugging and COmpiling Hello World program only shows black command prompt without showing "Hello World" text...
 
I've searched the forums regarding my problem and I'm not exactly sure if this is a compiler issue o...
[2 replies] Last: Visual Studio was one of the first IDE/compilers I used that's why I t... (by gravyboy25)
Copy constructor is implicitly declared as deleted...
 
If I try to compile the object below I get the error: note: ‘constexpr Object::Object(const Obje...
[3 replies] Last: @JLBorges Yea, sorry, I meant to have Object as parameter to operat... (by DyslexicChciken)
Help!
 
Hi, i have a college work to: 1) Interact with a user using parameter with this informations: *Ful...
[1 reply] : See: http://www.cplusplus.com/forum/general/180107/ (by closed account 48T7M4Gy)
passed or failed
 
Hi, The user input name, id, and a grade for a final. I would like to know how to find the total...
[5 replies] Last: 1. You can't have two returns unfortunately. 2. Also, your for loop is... (by closed account 48T7M4Gy)
output file name
 
say i have this code... ifstream fin("test.txt"); int charArray ; for (int i = 0; i...
[5 replies] Last: That's not too bad char * inFile = "text.txt"; ifstream(inFile); ... (by keanedawg)
void function string c++
 
Hi, I am totally stuck in my code and need a little bit of help. I created my structure and n...
[4 replies] Last: #include <iostream> #include <string> using namespace std; struct S... (by closed account 48T7M4Gy)
Access Violation Help
 
I am keep getting error on access violation. Program suddenly stops another code page appears. I do ...
[no replies]
splitFirst
 
Can anyone shed some light on how to do this? I need to do it for a class project and don't know wh...
[1 reply] : http://en.cppreference.com/w/cpp/string/basic_string/find http://en.cp... (by cire)
by Arsene
having difficulty with enum program;need help before midnight
 
I am recieivng errors and i do not know why, can someone look at my program and explain to me why i ...
[1 reply] : Line 100 should be switch(planet) , not switch(planetNames); . pla... (by xismn)
by aalrie
Golf score problem
 
Can someone please help me fix this program? The program is suppose to be of a class that records go...
[4 replies] Last: Post code again. (by keanedawg)
Loop
 
I want to make this loop display 1 2 4 8 16 32 64 128 64 32 16 8 4 2 1 but i cannot figure out a way...
[6 replies] Last: Sleep slows the program down for the set amount of milliseconds (by Tuttikhan)
How do I insert into string into myfile.open?
 
So I am making a program that allows someone to make their own text file so I wanted to insert a str...
[1 reply] : I tried myfile.open( name + ".txt"); So long as you use an up-to-dat... (by Chervil)
Max triangle area
 
I have to write a program that reads a set of points from a text and outputs the area of the largest...
[3 replies] Last: #include <iostream> #include <fstream> #include <cstdlib> #include <i... (by remone)
I have a C question
 
I know this is a C++ forum, but I was hoping someone could help me out with a C question. I have th...
[3 replies] Last: In case it may be helpful to anyone else. my solutions was as follows:... (by cpq2g1zw2)
by Dofzky
Problems with functions on project
 
I am working on a simple project for class and everything seemed to be working ok with the exceptio...
[2 replies] Last: It's not the most obvious bug in the world. But look at your bottom 3... (by keanedawg)
December 2015 Pages: 1... 3940414243
  Archived months: [nov2015] [jan2016]

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