Search Results

Showing results 1 to 13 of 13
Search took 0.00 seconds.
Search: Posts Made By: jbrock31 ; Forum: C++ and child forums
Forum: C++ Nov 21st, 2008
Replies: 3
Views: 977
Posted By jbrock31
I figured out my problem. When i defined the mutator and accessor functions in the cpp file instead of the header i was able to access the nested class' member variables and functions. Below are my...
Forum: C++ Nov 21st, 2008
Replies: 3
Views: 977
Posted By jbrock31
Oops. I took all the calls to that when it would not work. Below is TimeOff.h where i am trying to use the maxSickDays instance and then its setHours member function. Thank you.


#ifndef TIMEOFF...
Forum: C++ Nov 21st, 2008
Replies: 3
Views: 977
Posted By jbrock31
Hello everyone.

I need help using an instance of a class in another. Below are two header files. NumDays.h and TimeOff.h

I need to have instances of the NumDays class in the TimeOff class as...
Forum: C++ Nov 14th, 2008
Replies: 6
Views: 902
Posted By jbrock31
=P

Just pointing out the incorrect use of = in the IF. But yes you are correct of course.
Forum: C++ Nov 14th, 2008
Replies: 6
Views: 902
Posted By jbrock31
Your IF statements are not testing for equality. You are assigning using just the single =.

Do this.

IF ( end == end )

blah, blah, blah
Forum: C++ Nov 4th, 2008
Replies: 4
Views: 424
Posted By jbrock31
i opened it in binary mode. Ah well i'll keep working on it. Should i post all the code?
Forum: C++ Nov 4th, 2008
Replies: 4
Views: 424
Posted By jbrock31
Hi again. I wrote 4 instances of a structure to a .dat file. I called them north, south, east, and west. I created a new program to read that file and display the data. I am using the below loop. I...
Forum: C++ Nov 3rd, 2008
Replies: 4
Views: 866
Posted By jbrock31
Why not use std::ctype::tolower function?

run each letter through this function and it will convert it to lower.
Forum: C++ Nov 3rd, 2008
Replies: 6
Views: 818
Posted By jbrock31
I would recommend posting your code. You are not going to find anyone here that will give you answers without showing your effort.
Forum: C++ Nov 1st, 2008
Replies: 3
Views: 399
Posted By jbrock31
Thanks for the help.
Forum: C++ Nov 1st, 2008
Replies: 3
Views: 399
Posted By jbrock31
Hello everyone. I am trying to work through a programming challenge in my c++ book. I have gotten it to work, but i kind of cheated by looking at the file. I am going to past the entire code so i can...
Forum: C++ Oct 30th, 2008
Replies: 7
Views: 704
Posted By jbrock31
Thank you for the help! I appreciate it!
Forum: C++ Oct 28th, 2008
Replies: 7
Views: 704
Posted By jbrock31
Hi everyone. I decided to try and learn C++ on my own and i have ran into a problem and i just need slight kick in the butt. :)

I am just learning structures and i am practicing using some of the...
Showing results 1 to 13 of 13

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC