Beginners - May 2008 (Page 9)

i just want to ask
 
I am beginner in C++, I just want to ask, I don't know how to do an automatic saved program. Example i made a hangman with a score then when i exit the game a...
[1 reply] : The usual method is to keep a little data file (a simple text file wou... (by Duthomhas)
by Cbas
pulling an array from a function
 
The function i've made creates an array. How do i access this array in the main area? Thank you Duoas, now is it possible to pass an array to the function, edi...
[1 reply] : If it is a local variable, you can't; it is destroyed when your fu... (by Duthomhas)
by poema
error: acces violation
 
Guys, I've a little problem with a little program and I can't figure out what the problem is and how to solve it. Purpose of the program: open a .csv fil...
[1 reply] : Line 14 and 19 are the problem(s). in line 14 - char* copy=NULL; ... (by guestgulkan)
by jrock
stil got problem on this assignment due saturday midnight
 
Write a class named Employee that has the following member variables: • name. A string that holds the employee’s name. • idNumber. An int variable t...
[4 replies] Last: im still having trouble jsmith can you use my program what i need to u... (by jrock)
by jrock
cant understand this program can someone work this out so i can see it
 
Write a class named Employee that has the following member variables: • name. A string that holds the employee’s name. • idNumber. An int variable tha...
[2 replies] Last: my teacher went over this in class for 15 minutes and i really have tr... (by jrock)
by jrock
dont understand can someone work this one out so i can understand due tonite
 
Write a class named Employee that has the following member variables: • name. A string that holds the employee’s name. • idNumber. An int variable tha...
[3 replies] Last: really to this point im really lost.. can you use my program and add w... (by jrock)
Binary Trees! :-O (what level is node on)
 
Hey guys. I have a project due in 2 weeks, so I have a little bit of time - but I have a lot of work to do, so I want to get this finished. I'm taking a C++ D...
[2 replies] Last: Thanks - I am still a little confused though. Here is my inorder fuct... (by ardeth32)
pointers and arrays!
 
so, im understanding pointers. Although i do hate them ha ha so confusing. I was struggling with these two and i could use some help: # Write the function...
[1 reply] : Here is a hint: // Given: int array[ 10 ]; // The following ... (by jsmith)
A few basic STL Problems
 
Hi everyone. I'm working on an assignment for my CS class and I'm having a few issues coming up with how to do my few remaining problems. The assignment speci...
[2 replies] Last: Thanks, that helped tremendously. (by Oubliez)
reading a file into a program with a class
 
ok for whatever reason I can't get anything to work properly. All the tutors at my university have apparently left for summer already and I have two programs t...
[5 replies] Last: Ok here is the problem. I can't get the file to read in it says it is... (by cannsyl)
Problem with function
 
When i run the program through all of the formulas work but if i dont hit the right number to goto the menu it says not an option and returns to the choose scre...
[1 reply] : That works, i just didn't add that repeat thing at the end. Hope I hel... (by PoliticalDestruction)
Why is this undefined.
 
I have a project that I am working on and I am forced to use forward declaration, but member variables are said to be undeclaraed, Here is an example of what I ...
[4 replies] Last: Rofl I went to bed and had a dream about doing the same thing, now it ... (by yor1001)
by KUGIRL
..........
 
...................
[10 replies] Last: Hi KUGIRL, Y U have Edited to ur post to ........ :-O (by DiptenduDas)
by Alogo
leading zero
 
Is there any way I can cin >> x; a number from 0 to 99 but have the single digits numbers input with a leading zero like 01 for 1 or 07 for 7. Then have a sw...
[2 replies] Last: Thank you I was wondering why it was crashing. To answer your question... (by Alogo)
size of input.
 
hi, im trying to overload the >> to take in some numbers separated by space and insert pairs of them in nodes in a linked list,the thing is I want it to take in...
[3 replies] Last: yes i want it to stop when the input ends, but how do i know when the ... (by nabiladeeb)
-1.#IND
 
I've made this program to simulate the way to find square roots without a calculator and without sqrt()...no duh. But here it is. I don't understand why it does...
[2 replies] Last: Edit: Oops, the initial guess x needs to be "somewhat close" to the r... (by jsmith)
|| with characters
 
what is a another whey i could do this // dosen't allow or if ( Letter = 'a' || Letter = 'A' || Let...
[7 replies] Last: rserrano, here is a program skeleton to get you started. #inclu... (by jsmith)
by gem925
Arrays
 
This is the first part of my assignment I think I have the first and third part for some reason I am not understanding the part decrementing the loop counter. A...
[2 replies] Last: Thank you so much for all your help with this program. I surprised mys... (by gem925)
help a n00b learn...
 
im struggling with trying to understand the differences btwn some of the operatives (i think thats the right word...) like string, long int, short int, char, an...
[6 replies] Last: Nope. getline() will wait until a new line character (enter char) b... (by Zaita)
by jrock
Having a Little trouble with Classes Program..Need Help
 
Write a class named Employee that has the following member variables: • name. A string that holds the employee’s name. • idNumber. An int variable t...
[1 reply] : please put your code in Tags (without the space before the ]) so i... (by Zaita)
May 2008 Pages: 1... 789101112
  Archived months: [apr2008] [jun2008]

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