Search Results

Showing results 1 to 14 of 14
Search took 0.01 seconds.
Search: Posts Made By: burgercho
Forum: C++ Oct 8th, 2009
Replies: 2
Views: 217
Posted By burgercho
This means that class x is inheriting class y using the public method meaning that it can contains the same public members as class x.
Forum: C++ Aug 2nd, 2009
Replies: 17
Views: 491
Posted By burgercho
The constructor of an ifstream, ofstream, or fstream calls the open command with the supplied file, so the open command doesn't need to be called.
Forum: C++ Aug 2nd, 2009
Replies: 17
Views: 491
Posted By burgercho
It works for me. How are you testing whether or not it is open?
What I did was add: if(answer == 'y' || answer == 'Y')
{
ifstream open("Person.txt");
while(!open.eof()) {
...
Forum: C++ Aug 2nd, 2009
Replies: 17
Views: 491
Posted By burgercho
Sorry, I forgot to mention that if you use an fstream you have to declare the mode with flags if you're writing instead of reading. So, when you open it, you do data.open("Persons.txt", ios::out) for...
Forum: C++ Aug 2nd, 2009
Replies: 17
Views: 491
Posted By burgercho
Forum: C++ Aug 2nd, 2009
Replies: 17
Views: 491
Posted By burgercho
Your problem is that data is an ofstream which can only be written to and not read from. If you tried to read from it to test if it was open it wouldn't have worked but if you use the member function...
Forum: Python Jul 29th, 2009
Replies: 1
Views: 171
Posted By burgercho
\u201c is the unicode code for smart quotes which is why it slants. They come out like that because of how the file was originally written and won't change no matter how you read it. You can replace...
Forum: Game Development Jul 26th, 2009
Replies: 3
Views: 512
Posted By burgercho
Hey, I wouldn't mind helping either, but just for something to do as I won't be able to commit too much time. I've got experience with PHP, Python, and C++, and, like swinefish, don't mind too much...
Forum: JavaScript / DHTML / AJAX Jul 12th, 2009
Replies: 3
Views: 430
Posted By burgercho
You should use

document.bakeryImage.src=image
Forum: Python Jul 10th, 2009
Replies: 9
Views: 542
Posted By burgercho
This should do it. You must set x to the line that the info is on

file = open('myfile.txt', 'r')
x = 2
while x:
line = file.readline()
x -= 1
words = line.split()
index = words.index('=')...
Forum: PHP Jul 8th, 2009
Replies: 1
Views: 249
Posted By burgercho
This function should do the trick as long as you have the PHP GD libraries.
Pass two file paths and it will copy $srcim into $destim and resize it to the size of $size.
For more details see this...
Forum: Troubleshooting Dead Machines Jul 2nd, 2009
Replies: 2
Views: 1,014
Posted By burgercho
I'm dealing with an Optiplex GX280 that was randomly freezing and then randomly shutting down. After a little bit it stopped turning on altogether and the only things that would happen were that I...
Forum: USB Devices and other Peripherals May 18th, 2009
Replies: 2
Views: 617
Posted By burgercho
Forum: USB Devices and other Peripherals May 10th, 2009
Replies: 2
Views: 617
Posted By burgercho
I have an odd problem. My Epson Stylus Pro 9000 was working fine and then one day it just stopped working and only printed overlapping lines. I tried printing through both the computer and the...
Showing results 1 to 14 of 14

 


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

©2003 - 2009 DaniWeb® LLC