Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~4K People Reached
Favorite Tags
Member Avatar for cymerman

I am doing an assignment that has to use a class dayType. The program has to set the day, print the day and return the next day. I am receiving the error: --------------------Configuration: Program9 - Win32 Debug-------------------- Compiling... Program9.cpp C:\Documents and Settings\Faculdade\ISM3232\Assig9\Program9\Program9.cpp(45) : error C2447: missing function header (old-style formal …

Member Avatar for miami99
0
533
Member Avatar for Rearden

What happens if you call openStream twice? I have this code in which I open up a weather xml page and get information out of it. Unfortunately, the way I do it has me doing a linear search down the page for the line I need each time I want …

0
127
Member Avatar for Rearden

I'm trying to create a custom dialog that acts much like th JOptionPane.showInputDialog() except it uses an asterisk as an echo character. So far, I've come up with the following. . . [code] class CustomInputDialog extends JDialog implements ActionListener { JLabel prompt; JPasswordField input; JButton ok; JDialog dialog; String word; …

Member Avatar for Phaelax
0
264
Member Avatar for Rearden

First, I am running on linux and when i use the java command to run a program (i.e. java foo), it just sits after it finishes. how can I get it to fully close(specifically, the program I am posting at the end of this post) Second, is there an equivalent …

Member Avatar for Rearden
0
151
Member Avatar for 3265002918
Member Avatar for 3265002918
0
780
Member Avatar for Rearden

Hello. I'm soon starting university as a CS major. From what I learned at orientation, my courses will be primarily in Java. However, I've spent quite some time learning C++. Is it likely that learning Java will completely confuse me while trying to learn C++ at the same time, and …

Member Avatar for freesoft_2000
0
271
Member Avatar for Rearden

I can so far find Nothing whatsoever that will allow me to easily play a wav sound in a console app in linux. It's like I have to create my own audio player to play a half second clip of a cat meowing. Does anyone have any experience? I'd really …

Member Avatar for Rearden
0
322
Member Avatar for Rearden

Hey, I've been using linux forever and want to start dual booting slackware and BSD. I've heard that Slackware doesn't like this very much and was wondering if anyone has any experience with this type of setup?

Member Avatar for alc6379
0
220
Member Avatar for hike34

Hi all and thanks in advance for any help. I have a basic program that needs to read a number of inputs from a user. To all these inputs I assign a default value before I call for the user to give diffrent input. Here is the thing, the input …

Member Avatar for Rearden
0
223
Member Avatar for Rearden

Can someone explain this to me once and for all? I keep getting different answers everywhere I look. What is the correct way to separate the class declaration from it's member functions? The way I am doing it now is that the declaration and all of the member functions are …

Member Avatar for Narue
0
201
Member Avatar for Rearden

i.e. . . [code] #include<iostream> void EatFrisky(Cat *Cat); int main() { Cat * Frisky = new Cat; EatFrisky(Frisky); return 0; } void EatFrisky(Cat *Cat) { delete Frisky; std::cout<<"Someone ate Frisky!\n"; } [/code]

Member Avatar for Drowzee
0
135
Member Avatar for Rearden

I have this function in a Dog Class and for some reason, the age nearly always ends up being 77. I can't seem to tell what the problem is. Any ideas? [code] void Dog::setage() { while (1) { int age; std::cout << "Please Enter " << itsname << "'s age: …

Member Avatar for Rearden
0
97
Member Avatar for Rearden

Hello. I'm learning C++ out of Sams Teach Yourself C++ in 24 Hours and Accelerated C++ Practical Programming by Example. I've heard these are both good references. Anyway, I just learned about classes and I was wondering how one makes an array of class objects. here is the Cat class …

Member Avatar for Rashakil Fol
0
257