Beginners - November 2013 (Page 56)

by aish96
"does not name a type" error for a file
 
The following code gives me a error that says "error: 'afile' does not name a type" #include...
[2 replies] Last: yes! that worked! thanks :D (by aish96)
Help with my output
 
I need this program to out put the correct number of answers each person had. I'm unsure where I'm g...
[8 replies] Last: Correct. I just don't know why I'm not getting my correct number to ou... (by bhenlee)
Any book for beginner to read?
 
Write your question here. I've been reading the c++ programming language(4th) for half a year,now i...
[1 reply] : C++ Primer 5th Edition. (by Uk Marine)
Need help with segmentation fault
 
Hi everybody! I'm a real beginner in programming, because I started classes one month ago at the uni...
[2 replies] Last: Thank u for the tip..I forgot the dynamic allocation..a real shame >.< (by Micaela)
average of seven numbers
 
Write your question here. hi :) i am new in beginners,.,.i need help,.,i am confused in cin and co...
[6 replies] Last: ok,.,.,i am trying (by white beauty)
HELP!!! C++
 
Hi, all! :) HELP, I need help.. So- my task: I have to enter 5 different words in my c++ pro...
[1 reply] : Duplicate thread here: http://www.cplusplus.com/forum/general/116310/ (by Catfish4)
by enemy
aa and bb ot declalred???
 
Hello! Please why do I get the error that aa and bb are not declared? Aren't they? Many thanks! ...
[1 reply] : Scope. You have essentially: { int aa = 7; } int fu = aa; // error... (by keskiverto)
array problem
 
Hi everyone.My code is simulation of heat flow in a square plate ,using the method of finite differe...
[2 replies] Last: Omg, what a HUGE Mistake I made! THX God for ppl like You!! Now it's a... (by martin619)
by wolfv
vector of pointers crashes
 
The first example crashed, the last two examples work fine. The first example has vector of point...
[6 replies] Last: > My thinking was that, since A1::funcA() is not declared virtual, > ... (by JLBorges)
by enemy
random number always the same???
 
Hello! When I made program with: int x=rand(); it is always generating the same nnumber for the s...
[7 replies] Last: i dont know how to fix any of this because im still new myself but her... (by Tristan101)
stl list of pointers
 
Can any one please tell me why i get this error. Is this not possible? Bool operator==(const M...
[1 reply] : http://stackoverflow.com/questions/7493932/what-causes-c-compiler-erro... (by Catfish4)
New Programmer_C++_Possible Problem with one-dimensional arrays(Dynamic?)
 
I've built a program which creates an array and ultimately changes the amount of elements available ...
[2 replies] Last: 1. Why does my program run, but crash upon termination in the origin... (by Chervil)
Stack Help
 
Hi. This is a homework direction. I am not understanding this part... "In designing the data stru...
[5 replies] Last: Here is the entire directions. Your assignment is to re-implement the... (by sethman410)
How to readline() from file, kind of FILE
 
How to read a line? char* file_name = (char*)"input.txt"; FILE* f = fopen(file_name, "r");...
[1 reply] : fgets http://www.cplusplus.com/reference/cstdio/fgets/ (by Chervil)
System()
 
Ive been reading around this forum and noticing everyone saying system commands are bad so is there ...
[2 replies] Last: > everyone saying system commands are bad Not every one. There is not... (by JLBorges)
H:\CompSci\classroom management\ClassRooms.cpp|7|error: call of overloaded 'ClassRoom(int&)' is ambiguous
 
I am working on a homework assignment involving classes and objects and I cannot seem to get it to c...
[8 replies] Last: In your ClassRooms.cpp: [code firstline=7]rooms = new ClassRoom(nrooms... (by long double main)
Text Based RPG: Status Effects?
 
Hello fellow programmers! I'm a newbie here. I've been learning to code for the past year. I've r...
[10 replies] Last: Hmm... For this status effect issue, it could be recommended that you ... (by Ispil)
Concordance
 
If somebody would put me in the right direction with this problem, I would greatly appreciate it, th...
[4 replies] Last: Here's what I did (note that this is probably not the most efficient a... (by long double main)
by mattho
Program.exe
 
The input numbers I put in does not work with instead it shows " the pointed number?(I think that's ...
[no replies]
Sorting through a vector.
 
Hey forum I am trying to create a function that searches through a vector to find a name. I want to ...
[1 reply] : remove std:: prefix if you declared using namespace std; , and replac... (by nvrmnd)
November 2013 Pages: 1... 5455565758... 80
  Archived months: [oct2013] [dec2013]

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