Beginners - May 2012 (Page 13)

<unresolved overloaded function type>[int]’ for array subscript Error Message
 
I'm writing a program to read a file that contains information about molecules and extra the x,y,z c...
[4 replies] Last: Heheh. It was oddly placed. (by cire)
problem with data types in square root algorithm
 
if a function returns a value in long,the value is stored in double long,and given to a function whi...
[3 replies] Last: If long is 32 bits there is no problem. If you're on a system where l... (by cire)
Totaly lost and tired and HELP WITH SAVE AND LOAD
 
Okay i am going down. I cannot find the problem for this game. I created save and load functions an...
[7 replies] Last: I did it! The problem was the variables. I declared them extern xD. My... (by happykiller)
Do-while loops and while loops
 
I was wondering if anybody can take a look real quick, I have it so the user has to guess a generate...
[5 replies] Last: I thought that if I had a do-while loop within the whole thing, anyth... (by cire)
Question about classes and public/private
 
Hello, so I picked up c++ a few days ago after doing java for 2 years in IB and I have a quick quest...
[12 replies] Last: Cubbi, Thanks for the links. My formal training in C++ is over 10 ye... (by doug4)
Root Mean Square
 
I have asked to find the Root means Square of the given series of numbers. -99 to exit from the prog...
[3 replies] Last: sum and count are both ints, so your calculation of RMS will be based ... (by doug4)
<Please Delete>
 
Sorry, entered wrong code. Will ask again later.
[1 reply] : I may be blind, but I don't see any global variables here. (by ResidentBiscuit)
Build errors?
 
#include <iostream> #include <cstdlib> #include <time.h> using namespace std; int main() ...
[2 replies] Last: I feel stupid now lol, thanks so much (by strupan)
Methods for creating a queue class.
 
I know about the linked list approach, but was wondering why we don't just implement these using a d...
[1 reply] : I think the main disadvantage with the way you describe is that it is ... (by Peter87)
dynamic memory allocation
 
I have a problem while running a program. I am running out of memory. What I have done is allocate...
[1 reply] : Only use dynamic memory allocations if you have to. If you have valgr... (by Peter87)
Strange output using std::list and ifstream
 
Im writing a program to practice with the language, but im getting some pretty weird output from cod...
[8 replies] Last: A struct can have constructors, member functions, operator overloads, ... (by Cubbi)
string to main function through a class
 
hey guys have a problem getting this done this is my class function void project::io() { ...
[1 reply] : Hi there, It seems to me as if you haven't declared the read and writ... (by closed account o3hC5Di1)
Trouble with constructor for a class
 
Hi there, I'm having a little trouble getting a constructor going. I can define the class OK and i...
[2 replies] Last: That did the trick. Thanks. For some reason I assumed the constructo... (by jallenbradley)
Structures help
 
Hi everybody. Hope you're all well. Mi question is: How can i do for pass by reference an stru...
[2 replies] Last: You simply specify that delete_loan takes a reference like this: ... (by kooth)
Operator Overloading
 
hi... I have an struct that operation "<" overloaded in it... I don't familiar enough with operati...
[3 replies] Last: thanks alot... is any digest article about operator overloading in c++... (by Blackwizard)
by gian20
The input line is too long. VS
 
Setting environment for using Microsoft Visual Studio 2005 x86 tools. The input line is too long. ...
[1 reply] : Hi there, I haven't experienced this issue myself, but some googling ... (by closed account o3hC5Di1)
Complete Beginner, Basic Questions.
 
Hi guys! I'm just starting out with "Teach Yourself C++ in 21 days." I'm on the first day... haha. A...
[9 replies] Last: Athar, why exactly is it outdated and such as you said? I have no par... (by Avidist)
Shrink allocated memory with 'new'.
 
I have 2 sets created with 'new': (symbolic write) set1 = {10, 15, 20, 21, 50} set2 = {1, 5, 20, 2...
[3 replies] Last: Indeed. Though, they behave the same - irrespective of the implementat... (by closed account zb0S216C)
exe falls over after 10 iterations....
 
HI, I'm not sure what is useful information to help solve this problem, so apologies in advance! I'...
[6 replies] Last: [quote=hyplobates] "apologies, I'm a total newb, and I'm not quite sur... (by closed account zb0S216C)
need help read data from textfile ^_^
 
Hello, I am a beginner in C++ and I am trying to implement of IOSTREAM for reading data in notepad. ...
[7 replies] Last: I think I'd go with something like: #include <string> #include <fstr... (by cire)
May 2012 Pages: 1... 1112131415... 59
  Archived months: [apr2012] [jun2012]

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