Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~4K People Reached
Favorite Forums
Favorite Tags
Member Avatar for ntredame

I am supposed to write a program that converts kilometers to miles and vice versa. We are only supposed to use JOptionPane for this assignment. I am wondering if it is possible to customize the buttons in JOptionPane and associate a formula to those buttons. For instance, I want to …

Member Avatar for stephen84s
0
130
Member Avatar for ntredame

I have to create a class called Day that will carry out certain functions. One of the things that it needs to do is it needs to be able to calculate and return the day by adding certain days to the current day. For example, if the current day is …

Member Avatar for h3xc0de
0
189
Member Avatar for ntredame

I need to read the last name and five grades for 10 students from a file and calculate the average of the grades and display that information in a file. I am pretty sure I know how to tackle this, but I have no clue how to separate the name …

Member Avatar for ntredame
0
98
Member Avatar for ntredame

I am getting errors when trying to compile the following code. [CODE]Public Class frmMyFirst Private Sub frmMyFirst_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Click Dim strName As String strName = InputBox("Enter your name and click OK.") lblHello.Text = "Hello " & strName & "." End Sub Private Sub …

Member Avatar for selvaganapathy
0
117
Member Avatar for ntredame

I am having trouble with inheritance. I am wanting to use fullName.h as the base class and call the functions print and setName into student.h. The problem is that I am getting errors that I can not figure out. The errors are: [I]student.h(22) : error C2352: 'fullName::print' : illegal call …

Member Avatar for ntredame
0
120
Member Avatar for ntredame

I can't figure out what I have wrong in teh following program. I am trying to count total characters, vowels, and consonants. I have even worked through it with a friend and neither of us can figure it out. The code follows: [code=cplusplus] #include <iostream> #include <string> #include <cstring> using …

Member Avatar for ntredame
0
4K