Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

Hummm -- from whom did you plagerize that code (rhetorical question so no need to respond) ? I assume you did because one hour is an awful short amout of time for a newbe to write it.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

LBJ = Johnson?

he wasnt a very good president right? didnt he want to send more men to vietnam or something?

The Civil Rights Act of 1964 was probably his most important achievement, and a series of Great Socient bills were most costly. He refused to run for reelection because he was too busy with the Viet Nam war to campaign. There is a story that LBJ's chair in the president's meeting room was highter than everyone else's because he, as the president, was the most important person there and no one was to sit higher than he did.

The Great Society was a set of domestic programs proposed or enacted in the United States on the initiative of President Lyndon B. Johnson Two main goals of the Great Society social reforms were the elimination of poverty and racial injustice

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

http://www.mises.org/rothbard/rothmoney.pdf

Please don't confuse me with facts :)

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

You might get better help from here. I can replicate the problem but not sure why it occurs.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

That's not a problem. I assume mystring is a std::string object. Yes? If not then your getline() is wrong.

So, where is your attempt to solve the problem ?

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

Ok here is my reply

>>Now nobody can reply to my this thread your text will be hidden try to reply and see the magic!!!
You don't have the permissions to accomplish that.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

Bush is a russbish president. IMHO. Im amased how "the worlds only superpower" can have such poverty,crime and hate.

You can't blaim Bush for that -- its been among us since 1776 (and probably earlier). LBJ tried to eliminate proverty with all his Great Society programs -- and failed even though we are still paying for many of those programs.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

>>Viruses may trash your hard disk
Oh yes -- what was a feature built into MS-DOS 6.X and Windows 95. I can't count the number of times I had to reformat the hard drive and reinstall everything from scratch.

I have not had that problem since Windows 2000.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

Those who believe that history runs in cycles will be interested to note that the three great presidents took office at 72-year intervals--Washington in 1789, Lincoln in 1861 and FDR in 1933--and that this November it will have been exactly 72 years since the election of our last great president.

Ok, that does it. GWB will be declared one of the top three Greatest presidents. Can't argue with historical fact.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

>>I'm a total newbie so I apologize for the stupid question
Not a stupid question. That's a useful thing to know.

This is c++ board -- so use std::string class and its find and substr methods to find the word "Giants" and replace it with the replacement string. You need to put that in a loop until all occurances have been replaced.

Here is a good site about std::string class

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

I think the greatest of the US presidents were not the wartime presidents but those who made us feel good about ourselves. When we like ourselves the country goes well and so does most of the rest of the world. Ronald Reagon was ranked by scholors as the 6th best president. yet I don't think (could be wrong though) that he did not order even one bomb to be dropped anywhere in the world. And despite what everyting thinks Bush Jr isn't anywhere close to the worst president -- 19 out of 40 isn't too bad. Why Bill Clinton is ranked 22 I don't know -- I would have though he would be ranked better than that.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
class List
{
public:
   ~List(); // destructor
};
twomers commented: Hehe. +3
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

what operating system ? what version assembly language? what assembler?

Essentually you have to open two files -- input file for input and result (output) file for output. In a loop, read a line from the input file, then write to the output file either the original file or the replacement. Finally close both files.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

but much of it is useless weaponry and tons of selfserving pencil pushers.

Not entire useless -- we have lost 3,000+ in Iraq while the AQ (or whoever you want to call them) has lost what ? maybe 100 times that? In other words there are 300,000 or so mothers who have lost their husbands and children to that war. I would hope they grieve for their loved ones in similar ways that we do. The cost of war to both sides is absolutely horrible.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

Reagon also dumped his first wife (or maybe his first wife dumped him, I don't know)

I guess I must be old and foolish then because I also like Obama. Why? One reason is because he is a black man who doesn't play the race card. He is probably the most intelligent person running this year, and makes some very Reagon-like fell-good speeches.

I think Hillary blew it last night when she played the sex card by declaring she would be the first woman president. I have never ever heard Obama make a similar claim.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

The US military right now is the most powerful force on earth. .

That's debatable. If true then why are we having so many problems stabalizing Iraq? Its the old David & Golieth syndrome.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

>>I have this problem with my ( .rc) file i do not know why
What exactly is the problem you are having. Won't it compile? If not what errors do you get ? And what compiler are you using?

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

Its ifstream not instream. And if you have read a lot about it you need to try to write the program yourself then post what you have done if you have problems.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

Have you seen this tutorial? You should use the BEGIN and END tags, not the braces you posted.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

do you want to just rename the file? -- see standard rename() function

or copy its contents to another file similar to tye system copy or cp command ?
You need two FILE pointers -- one to read the original file and the other to write what was read out to the destination file. You will have to create a loop to read until end-of-file is reached.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

fork() only for *nix operating systems, MS-Windows doesn't support it.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

suggestions:
1. move line 10 srand() up above the loop. It should only be called once within the lifetime of the program. most people call it like this: srand( time(0) ); 2. why do you need the array?

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

you can start by reading the Read Me threads that have lots of suggestions. One thread is even devoted to c++ books.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

>>I`m telling you, you cannot read the content of .xls file.
It could be done but with great difficulty and probably very risky and for those reasons I wouldn't do it. The Microsoft Office SDK would be the best and safest solution but it too requires quite a bit of programming experience.

Salem commented: Not to mention giving MS a shed-load of money :) +15
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

What to do with all those no-longer-needed programming books I no longer need and are just collecting dust ? Some of the books are 15+ years old while others are less than a year old.

I could donate them to my local library. Maybe I could sell them on ebay? Any other suggestions ?

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

>>It is really heavy to learn from MSDN for me
You're not alone, most programmers have that same feeling. That's why there are so many books on it. Just search amazon.com for win32 api books or read this thread. Yes books aren't cheap but if you are serious about programming then they are indespensible.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

What does that have to do with piracy?.

Everything. Proponents of piracy think everything should be free for the good of society. Well that is not a new concept -- its called socialism and has been tried quite a few times, most notably by USSR. There is no such thing as a pure socialist nation today because it just doesn't work. Actually, there is no such thing as a pure capatilist society either for the same reason. What we wound up with is a meld between the two, USA is capatilitst with a lot of socialism while some countries, like France, are more socialist than capatilist.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

Only make the class abstract (meaning with pure virtual functions) if there is a reason to do that. Don't create a pure virtual function just for the sake of making it an abscract class. There are thousands of base classes that do not contain pure virtual functions.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

i am not getting even those...i m getting simple integers 0 or some calculated value....

When the programmer leaves out the return statement in a function that expects a return, and IGNORES all compiler's warnings, then what you experienced is called undefined behavior meaning that the results may be compiler dependent, and may even change when running the same program at different times.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

>>tHAT'S GOT it phalaris_trip! I kept putting my returns inside my definitions

I guess you must be one of those people who have to be hit over the head with a brick before you understand what you read. Nurue and I told you that two hours ago in your other thread.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

>>Remove all of the parameters.
Better still, get rid of all those globals and pass variable by reference.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

This won't solve your problem but min_payment() needs to be restructured so that there is only one return statement. No need for all those returns -- just put one at the end of the function. Same for min_payment()

Actually, making the above changes did fix the problem. Here is the output

Please enter your current balance:
100
Your total due is: 1.5
1
Your monthly payment is: 1
2
Press any key to continue . . .

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

>>It's called social responsibility.
Only by your socialist or communist/marxist definition. We live in a capatilist society, if you don't like it then move to Russia, Cuba or any one of a thousand other places like that.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

>>I put these three NULL because i do not know what mean
Try looking it up in MSDN and it will tell you what each of them mean.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

The code you posted won't (and can't) work. You need to put buttons on another window -- normally on dialog box but they can also be put on standard windows or toolbars. Here is a thread that may help you.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

There is no standard way to accomplish that. But there are at least a couple non-standard ways. (1) use kbhit() from conio.h -- but the problem here is that conio.h is non-standard and may not be supported by your compiler so we normally discourage its use. (2) create another thread for keyboard input so that the primary thread can do something while waiting for input.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

moved

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

you are missing the implementation file of that class, most likely in CkUpload.cpp

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

The value of a country's currency is generally the value of the total productive work done in the county, divided by the number of units of the currency (e.g. dollars) in circulation.

Productive work is work that produces a product to be sold on the open market.

I suppose that is only part of the equation and doesn't explain the day-to-day fluxuation in the world money market. Like many other things the value of one country's currency is what other countries are willing to pay for it on the various stock exchanges around the world.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

1024*768 is the size of the screen in graphic pizels

25x80 is the text mode screen size (25 lines and 80 characters per line). That was the default size of the old MS-DOS version 6.X and earlier screens.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

Appears the problem I saw (same as post #9) has been fixed now. :)

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

There is a free FTP client source code here (scroll down to Socket Class section) Just download (free) the whole library and you will have it with examples.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

Yes I think you could do it but it will be quite complicated because you have to write a lot of COM code manually. Search out some of these books to see what you can find.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

Very creating resume that actually shows what he can do instead of just writing and bosting about it. It wouldn't supprise me if we don't see a lot of copy-cats now. Maybe he sould copyright his resume :)

Jishnu commented: Exactly :) +2
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

read all the words into an array then you can easily choose random words.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

You need to read the original comment YOU CAN MAKE MONEY ON OPEN SOURCE SOFTWARE and post #48 to understand my post #56.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

Never seen the avatar problem but I do see the same probley hollystyles mentioned. I'm also using IE7 on Vista.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

>>You don't think it's antisocial to only take from the world of open and free ideas?
No because that world doesn't exist.

>> You don't think it's antisocial for corporations to accumulate patents and copyrights for the sole purpose of making money off royalties?
No -- they have to make money somehow in order to give their employees jobs and paychecks. If everything is free then no one would (or could) work.

If you write a book don't you want to get paid for it? Shouldn't musicians and actors get paid for their performances. Are you proposing to just shut down the copyright and patent offices? Oh yea -- almost forgot your previous stupid remarks about open source making money. If something makes money then its not free and open source is just an illusion.

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

[confused]How does the code you posted relate to your original question? [/confused]

Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster

I have not tried Vista on a laptop and my PC has 280Gig hard drive. So I don't have that hd problem either.

I don't use the CD burner that comes with Vista. Instead I use free DVD Decrypter