SidBala
Apr 22, 05:10 AM
Where you define the code, you need to put in classname::functionname
Do this for every function you define. This need not be done if you are within the class declaration.
void login::find()
{
ifstream file;
file.open("file.txt");
string input=inputusername;
string input_line;
bool found = false;
while( file >> input_line ) {
if( input_line.compare(input) == 0 ) {
cout << "The name " << input_line << " was found in file.\n";
found = true;
break;
}
}
Do this for every function you define. This need not be done if you are within the class declaration.
void login::find()
{
ifstream file;
file.open("file.txt");
string input=inputusername;
string input_line;
bool found = false;
while( file >> input_line ) {
if( input_line.compare(input) == 0 ) {
cout << "The name " << input_line << " was found in file.\n";
found = true;
break;
}
}
fcortese
Feb 22, 02:31 PM
I'm a sucker for a good sunset shot, and I like the first here quit a bit. The colors and textures in the sky give it a good feel. It's a pity the sun is on the centerline, though. I tends to capture the eye because it is the brightest area of the photo. If it was a little off center I might like it even more.
The photo of the Cheetahs has a lot of potential. I like where they are placed in the frame, and the direction of their heads is a nice contrast to the flow of their bodies. Kind of moves right then left with their vision. I would like the colors of the grass to be a bit deeper. The exposure is a bit light for the shadows and that lets the sunlit area in the background go too bright.
The other two are nice vacation pics, but they don't stir me visually.
Dale
I agree with Dale on the cheetah photo. Try turning down the exposure and the greens should turn darker. Months ago when I first started utilizing this site (I, too, am new to this expanded hobby), Dale made the same suggestion on a forest picture I submitted and it made the world of difference. Now I look to set my exposure a minus 2/3's whenever I encounter greenery and it has worked out just fine. Welcome aboard, there is some serious talent as contributors to this site and plenty to learn!:)
The photo of the Cheetahs has a lot of potential. I like where they are placed in the frame, and the direction of their heads is a nice contrast to the flow of their bodies. Kind of moves right then left with their vision. I would like the colors of the grass to be a bit deeper. The exposure is a bit light for the shadows and that lets the sunlit area in the background go too bright.
The other two are nice vacation pics, but they don't stir me visually.
Dale
I agree with Dale on the cheetah photo. Try turning down the exposure and the greens should turn darker. Months ago when I first started utilizing this site (I, too, am new to this expanded hobby), Dale made the same suggestion on a forest picture I submitted and it made the world of difference. Now I look to set my exposure a minus 2/3's whenever I encounter greenery and it has worked out just fine. Welcome aboard, there is some serious talent as contributors to this site and plenty to learn!:)
subl1me
Feb 7, 12:09 PM
oh and subl1me; its an amazing mouse, probably wouldnt use it for desktop PC/Mac use but for portables... yea... highly recommended.
nice...thanks for feedback on that....can't wait 'til mine ships!!
nice...thanks for feedback on that....can't wait 'til mine ships!!
sidgriffey
Mar 16, 12:11 PM
I have a 2007 Macbook Pro Core 2 Duo 2.4GHz with a 40GB SSD that I boot snow leopard and apps from and a 160GB HDD that is in an optibay and stores my data/ holds my home folder (i.e., my superdrive is in an external enclosure).
If I want to install Lion, what is the best way for me to do this without losing my snow leopard setup? I have some 25GB left on the SSD last time I checked. Should I partition it? If I have a Mac Mini with snow leopard and all my stuff should I just install Lion clean over snow leopard on my MBP or is Lion too buggy?
Thanks.
If I want to install Lion, what is the best way for me to do this without losing my snow leopard setup? I have some 25GB left on the SSD last time I checked. Should I partition it? If I have a Mac Mini with snow leopard and all my stuff should I just install Lion clean over snow leopard on my MBP or is Lion too buggy?
Thanks.
more...
benhollberg
Apr 26, 04:03 PM
It is a viewer for PDF and such. Also allows you to take screen shots. Those are the two features I use most in Preview.
Chrispy
Sep 24, 01:59 PM
The creepy stench of a Cult welcome. :eek: ;) :p :D
Hope everyone is Happy with they Mac. :)
Cult... what Cult.... :rolleyes: haha
Now I just have to get my friend to register as a MR member ;)
Hope everyone is Happy with they Mac. :)
Cult... what Cult.... :rolleyes: haha
Now I just have to get my friend to register as a MR member ;)
more...
zen.state
Apr 20, 08:23 AM
Seems to me that it is caused by a faulty video memory...
This is my guess also. I think if it was the GPU the video would be far worse or maybe not even work at all. Since the PowerBooks have dedicated video memory this can't be fixed with new system RAM as you wondered earlier in the thread.
Best solution would be a new logic board.
This is my guess also. I think if it was the GPU the video would be far worse or maybe not even work at all. Since the PowerBooks have dedicated video memory this can't be fixed with new system RAM as you wondered earlier in the thread.
Best solution would be a new logic board.
alansmallen
Oct 19, 08:18 AM
I'll be there! Wanna meet up. How many people do you think are gonna show up?
more...
100Teraflops
Apr 11, 11:18 PM
First, it's ALL 3rd party RAM, since Apple doesn't make RAM. They put other manufacturer's RAM in their computers. Second, upgrading the RAM or hard drive yourself is not a violation of warranty, so there's no need to put the original RAM back before service. Hang onto the original RAM, in case you have a problem with the RAM you buy.
They wouldn't, anyway. See above.
Apple Warranty: Installing Memory, Expansion Cards, User Installable Parts Does Not Void Warranty (http://docs.info.apple.com/article.html?artnum=13946)
From 2011 MacBook Pro User Guide (http://manuals.info.apple.com/en_US/MacBook_Pro_15inch_Early2011.pdf):
Thank you for the reassurance. :D
They wouldn't, anyway. See above.
Apple Warranty: Installing Memory, Expansion Cards, User Installable Parts Does Not Void Warranty (http://docs.info.apple.com/article.html?artnum=13946)
From 2011 MacBook Pro User Guide (http://manuals.info.apple.com/en_US/MacBook_Pro_15inch_Early2011.pdf):
Thank you for the reassurance. :D
BigDukeSix
Jan 20, 09:51 PM
What the heck is a brother printer?
This is a term I am unfamiliar with.
http://www.brother-usa.com/printer/
This is a term I am unfamiliar with.
http://www.brother-usa.com/printer/
more...
FluJunkie
Apr 28, 03:02 AM
Just so you know there are no military applications that benefit from this.
This is...just not correct.
This is...just not correct.
vniow
Sep 21, 12:54 AM
Maybe since the 1.25 ghz are shipping now?
more...
SAdProZ
Nov 27, 05:25 PM
You might try turning off passive mode...I've had it make some problems for me when I was behind a heavy school firewall and some packet shapers...give it a shot.says "getting folder list..." for a very long time in 'Port Mode'.
iccy82
Jun 6, 08:39 PM
iccy :eek:
cause Spymac is hated around the Mac web
more...
leonardo dicaprio, young
and Leonardo DiCaprio:
more...
leonardo dicaprio young
leonardo dicaprio young
leonardo dicaprio young
cause Spymac is hated around the Mac web
more...
iLucas
Apr 26, 12:16 AM
Yes that is correct. It does chime, and the light flashes. After about 5 minutes the fan start to speed up and that's all it does. I never see anything on either screen.
DeaconGraves
May 4, 11:00 PM
thank you soo much dude!!
oh, will this erase anything?
and do u no how i can get snow leopard back?
No, that will not erase everything, but what it will hopefully do is direct your computer to your startup disk so you will get back into Lion to do what you need (maybe back everything up?)
The re-install snow leopard insert your DVD, then restart the computer. Hold down the option bottom when you here the chimes and hold it until your boot options appear. One of them will be the DVD. Select it and wait for the installer to load (it may take a while). But honestly, get your paper done first and worry about that tomorrow.
oh, will this erase anything?
and do u no how i can get snow leopard back?
No, that will not erase everything, but what it will hopefully do is direct your computer to your startup disk so you will get back into Lion to do what you need (maybe back everything up?)
The re-install snow leopard insert your DVD, then restart the computer. Hold down the option bottom when you here the chimes and hold it until your boot options appear. One of them will be the DVD. Select it and wait for the installer to load (it may take a while). But honestly, get your paper done first and worry about that tomorrow.
more...
tech4all
Oct 7, 04:24 PM
http://blog.deconcept.com/flashobject/
Thanks, kingjr3, I'll check out!
Thanks, kingjr3, I'll check out!
ChazUK
Apr 19, 10:46 AM
A big problem with the big megapixels is the amount of storage they take on your phone. You cannot adjust the megapixel size down with a phone camera like you can with a point & shoot camera.
I think you can adjust the resolution on Windows Phone 7.
http://www.mobileshop.com/blog/wp-content/uploads/2011/02/WP7-resetting-camera-settings-Microsoft-says-its-meant-to-do-that.jpg
Pretty much every phone I've had has has adjustable resolution settings.
I think you can adjust the resolution on Windows Phone 7.
http://www.mobileshop.com/blog/wp-content/uploads/2011/02/WP7-resetting-camera-settings-Microsoft-says-its-meant-to-do-that.jpg
Pretty much every phone I've had has has adjustable resolution settings.
Orme
May 4, 10:00 AM
I would wait until there is a tear down by ifixit to confirm or refute that. In the past you had to buy brackets and other cables i believe to do this yourself. Its a pain and you may want to wait for TB external SSD drives which would be faster and less of a pain than opening up your iMac
External 1TB SSD would be heaven, considering it won't be inconveniently stuck in your iMac for the price you pay and you can use it on whatever.. but I heard that won't happen any time soon?
In regards to the OP.. from what I've heard from an Apple professional over the phone, is that I can update my 1TB to 2TB or an SSD in a few years if I want to via a technician.. so yes, these ones are possibly upgradeable if the previous weren't?
I just couldn't believe that this guy from Apple was trying his best to convince me NOT TO spend an extra �450 on the SSD option, very friendly and helpful; was talking me out of it for a good 20 minutes. Which says something. Seems pretty genuine to me.
External 1TB SSD would be heaven, considering it won't be inconveniently stuck in your iMac for the price you pay and you can use it on whatever.. but I heard that won't happen any time soon?
In regards to the OP.. from what I've heard from an Apple professional over the phone, is that I can update my 1TB to 2TB or an SSD in a few years if I want to via a technician.. so yes, these ones are possibly upgradeable if the previous weren't?
I just couldn't believe that this guy from Apple was trying his best to convince me NOT TO spend an extra �450 on the SSD option, very friendly and helpful; was talking me out of it for a good 20 minutes. Which says something. Seems pretty genuine to me.
gburl3
Apr 25, 11:48 AM
I am planning to make the switch from PC to Mac. I have an iPad, and soon a iPhone. Was wondering if the mac mini will be upgrading the processor from duo core to i3 or i5 in the upcoming months. Maybe I should just get a desktop iMac.
FoxyKaye
Sep 12, 03:51 PM
Ok... this crap HP i have only has 256 ram. I have a few extra sticks of 256 lying around, but i have no way of knowing what type they are. Is there any harm in just sticking them in to see if they will work?
Not that I can recall - with the new RAM, your PC will either boot or it won't, or it will freeze up constantly or it won't. There's a lot of operational consequences to putting in incompatible RAM, but AFAIK none that would destroy your system or MoBo.
Not that I can recall - with the new RAM, your PC will either boot or it won't, or it will freeze up constantly or it won't. There's a lot of operational consequences to putting in incompatible RAM, but AFAIK none that would destroy your system or MoBo.
titaniumducky
Aug 22, 06:10 PM
Okay, it's animated now, but that pushed the file size up from 103 to 245 octets. I hope the server can handle it.
It's animated to do what? Turn from black to black? ;) :D
It's animated to do what? Turn from black to black? ;) :D
Sharky II
May 6, 05:55 PM
Hi! Did you have to pay VAT and customs, too?
Eggtastic
Apr 25, 06:39 PM
If you have a computer that you are able to use in the meantime, sell you MBA over craigslist and make due with the other computer until the refresh comes. If you can get a really good price for your current model then obviously you would only be putting very little cash towards the refresh.
If you DONT have a temp. computer to use, then wait until the refresh and see what it has to offer. You can still sell your MBA over craigslist for a little bit less and put it towards the newer refresh.
For your needs you will be fine with your current model. Since it was a gift you can use whatever money you have saved now and pull the trigger for a whole lot less.
People here successfully buy and sell during every refresh or 2 with very little to shell out for price differences. Take care of your mac, do daily research for MBA news, and make the decision.
If you DONT have a temp. computer to use, then wait until the refresh and see what it has to offer. You can still sell your MBA over craigslist for a little bit less and put it towards the newer refresh.
For your needs you will be fine with your current model. Since it was a gift you can use whatever money you have saved now and pull the trigger for a whole lot less.
People here successfully buy and sell during every refresh or 2 with very little to shell out for price differences. Take care of your mac, do daily research for MBA news, and make the decision.