Beginners (Page 86)

Help with templates and inheritance
 
I have two classes that I want to use templates with but I get this error: error C2989: 'B' : cla...
[5 replies] Last: cout doesn't have an overloaded operator that takes in a Date obje... (by YokoTsuno)
by Jon15
I/O filestream and objects
 
My problems are that I am getting some of my output repeated twice and that when i hit anything othe...
[2 replies] Last: what is "cin.sync()" ? we haven't learned that yet. and ok, that makes... (by Jon15)
Where to start?
 
I want to get into coding, i can write a basic hello world program, and i know how to change the col...
[5 replies] Last: I think the best way to learn is to think of something you want to ma... (by fabtasticwill)
Little help with comments
 
I have managed to write a simple program to display the factorials of each number up to 12, however ...
[5 replies] Last: You had me scared then, I was looking at my code like s**t haha! Thank... (by badcoder)
Help
 
Write a program that calculates and prints the semester college bill for a college. The college ha...
[1 reply] : you could at least say please... (by jasonwynn10)
by Atton
Binary
 
I have been working on a system to to covert a string into ones and zeros. I have been doing a lot o...
[6 replies] Last: Might change that now. Strange but how could you store the end result... (by Atton)
Syntax error on inheritance (derived classes)
 
So, I'm basically trying to define a base class person that will contain universal information, incl...
[1 reply] : continue is a reserved keyword in C/C++ and can't be used as a varia... (by YokoTsuno)
Why is this do-while loop not working???
 
Hi, everyone. I'm having a really big problem here. Everything in this program works fine except for...
[8 replies] Last: OH I'm so stupid. Thanks for your guy's help, and sorry if I pulled a ... (by eagle4022)
Does anyone know how to do this? Please explain in details
 
What does the RTL expression <- +2 mean? What does the RTL expression <-[50 + 2] + 2 mean?...
[1 reply] : I don't think this is really a "Beginner c++ topic" but, this may help... (by giblit)
dictionary
 
I am trying to find incorrect words in an input file. I am having an issue with spaces, new lines, a...
[3 replies] Last: Any help is appreciated, it has to be in my comparison. I just don't k... (by elite zero)
Overloading Operators
 
Working on a program that takes a number 1-12 as input and returns the string month name (January, F...
[no replies]
Program checkwin not working
 
I'm making a tic tac toe, and so far it's working pretty good (still some things to add in the futur...
[2 replies] Last: Why would that be? It's working on my computer. You can also use the o... (by UnclePutin)
Assigning multiple strings into double pointer
 
This code works fine,of course. #include<stdio.h> int main(void) { char* a ={"You","Hello Worl...
[1 reply] : char a = "test"; . Memory is created for test because of the ... (by shadowCODE)
Computing areas of a triangle
 
Alright, Im at the end of my project and I have finally hit another wall. I know that I am very clos...
[4 replies] Last: That was the issue Duoas. It was that double and the 2.0 in my functio... (by specter113)
by bs319
Using own header file with classes and vectors with fstream
 
Hi I have my first assignment with classes and creating your own header file. We were given a file ...
[2 replies] Last: Thanks for your help. Don't I need a constructor for line 24 of my ma... (by bs319)
by KMagic
Random access text file
 
I have a txt file with n lines. I want to access a random line and print it on the screen. The fuc...
[2 replies] Last: Thanks for replying to my quesiton. Is this the only way? I think what... (by KMagic)
by mrm850
Functions
 
I am working on a homework assignment and could use some guidance. I cannot get the program to go in...
[3 replies] Last: Take time to block out your program like this: Then replace the commen... (by PCrumley48)
2D array, pointer and function
 
Dear Friends, Below I wrote one part of a code. In this part I defined a function get_particle_veloc...
[4 replies] Last: A program has both the big picture and the details. It is a good strat... (by keskiverto)
Help with assigning values to Vector inside Class
 
I'm attempting to amend a GRID class I created awhile back to work with a path finding class I'm wor...
[no replies]
Function arguments too many arguments
 
Hey so I just needed some quick help on this. I got this code that I'm demonstrating calling functio...
[4 replies] Last: I actually Figured it out, had to change some but it finally works. Th... (by MrBond90)
Pages: 1... 8485868788... 111
  Archived months: [oct2014]

Cannot post in this page. To post a new message, go to the first page.