Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 25 of 60
Search took 0.02 seconds.
Search: Posts Made By: Alan-LB
Forum: C++ Programming June 22nd, 2006, 02:23 AM
Replies: 3
Views: 707
Posted By Alan-LB
If you try to learn to use Google you will find...

If you try to learn to use Google you will find many C++ IDE's on the net, many of which are free. Try searching for "C++ IDE" - that should be simple enough for you.

Borland has been around for...
Forum: C++ Programming June 12th, 2006, 02:41 AM
Replies: 4
Views: 1,425
Posted By Alan-LB
Your...

Your statement
"while((response!='y')||(response!='n'))"
says while response is not equal to 'y' OR response is not equal to 'n' - this will cause an infinite loop since the condition will always be...
Forum: C++ Programming May 24th, 2006, 03:18 AM
Replies: 1
Views: 1,317
Posted By Alan-LB
Try looking up Google and Wikipedia for answers...

Try looking up Google and Wikipedia for answers to this type of...
Forum: C++ Programming May 21st, 2006, 02:44 AM
Replies: 5
Views: 30,607
Posted By Alan-LB
Give us an example of what you mean. Whar...

Give us an example of what you mean. Whar exactly are you trying to do?

Alan
Forum: C++ Programming May 15th, 2006, 01:04 AM
Replies: 1
Views: 30,339
Posted By Alan-LB
Try using Google - it gives 94,000 entries for...

Try using Google - it gives 94,000 entries for "LNK1120 error"

such as - http://www.kbalertz.com/kb_909350.aspx
and - http://support.microsoft.com/default.aspx?scid=kb;en-us;815650

Also find...
Forum: C++ Programming May 13th, 2006, 01:39 AM
Replies: 2
Views: 8,416
Posted By Alan-LB
fflush() didn't work. I changed the program by...

fflush() didn't work. I changed the program by adding a second getchar() -
...
char x;
...
x = getchar();
getchar();
...
The second getchar() seems to "absorb" the '\n' from pressing the ENTER key. ...
Forum: C++ Programming May 10th, 2006, 11:55 PM
Replies: 2
Views: 8,416
Posted By Alan-LB
getchar() problem

I am using Standard C compiled with GCC under Linux Fedora Core 4

When I run this program and enter a character at the prompt, I have to press the ENTER key as well. This gives me 2 input...
Forum: C++ Programming April 29th, 2006, 11:28 PM
Replies: 2
Views: 1,039
Posted By Alan-LB
iostream.h is a C library. Try using a C++...

iostream.h is a C library. Try using a C++ library - iostream - without the .h

Alan
Forum: C++ Programming April 8th, 2006, 02:40 AM
Replies: 2
Views: 1,127
Posted By Alan-LB
I respect the fact that English may not be your...

I respect the fact that English may not be your first language but your question is very garbled.

What is the name of the software that you are having a problem with? What Operating System are you...
Forum: C++ Programming April 7th, 2006, 04:26 AM
Replies: 1
Views: 1,337
Posted By Alan-LB
Try looking at the Menu bar options in Notepad -...

Try looking at the Menu bar options in Notepad - it is all there!! You can also try Help in Notepad. There is no "code" for Font, Color or Font Size - they are settings.

This is not a C or C++...
Forum: C++ Programming January 27th, 2006, 11:05 PM
Replies: 2
Views: 1,234
Posted By Alan-LB
main() is the main function of all C and C++...

main() is the main function of all C and C++ programs so it must be in your program.

Any elementary textbook will explain this

Alan
Forum: C++ Programming October 31st, 2005, 11:16 PM
Replies: 6
Views: 77,383
Posted By Alan-LB
Yes - but in this case char x is set to '9' which...

Yes - but in this case char x is set to '9' which is the Character 9 not the integer value 9. It is not a case of what char "returns" but what has been set in the variable.

In other words the...
Forum: C++ Programming October 21st, 2005, 01:33 AM
Replies: 7
Views: 1,906
Posted By Alan-LB
sizeof() is a function (not a method) and needs...

sizeof() is a function (not a method) and needs the brackets to hold the argument i.

If you omit the brackets it will compile but the output will not show the size of the integer.

Please post the...
Forum: C++ Programming October 20th, 2005, 02:34 AM
Replies: 7
Views: 1,906
Posted By Alan-LB
should be ....sizeof(i).... Alan

should be
....sizeof(i)....

Alan
Forum: C++ Programming October 15th, 2005, 02:01 AM
Replies: 1
Views: 771
Posted By Alan-LB
Hello there!! After finally decoding your...

Hello there!!

After finally decoding your terrible spelling, lack of punctuation and bad grammar I think I am right in assuming that you are asking someone in this forum to do your homework for...
Forum: C++ Programming October 3rd, 2005, 04:00 AM
Replies: 6
Views: 77,383
Posted By Alan-LB
Because 57 is the ASCII value for the character...

Because 57 is the ASCII value for the character '9'

If you want to convert a character value for a number into an int you must subtract the value of the character zero ('0')

char x = 9; ...
Forum: C++ Programming October 3rd, 2005, 03:54 AM
Replies: 4
Views: 784
Posted By Alan-LB
Try this -...

Try this - http://p2p.wrox.com/topic.asp?TOPIC_ID=30857

It is just a few postings back in this forum.

It seems that no-one can find the code that belongs to the book

Maybe you will learn very...
Forum: C++ Programming September 30th, 2005, 11:24 PM
Replies: 4
Views: 784
Posted By Alan-LB
You might like to look back in this forum for...

You might like to look back in this forum for several previous postings on this subject.

"goog" luck to you too!!

Alan
Forum: C++ Programming September 18th, 2005, 04:08 AM
Replies: 2
Views: 1,827
Posted By Alan-LB
Please let us know the name of your lecturer and...

Please let us know the name of your lecturer and we can send your completed homework directly to them when we have done it for you. We will also accept your degree in Computer Science on your...
Forum: C++ Programming August 27th, 2005, 03:31 AM
Replies: 2
Views: 2,639
Posted By Alan-LB
It would depend on what language was used to...

It would depend on what language was used to create the .DLL file. If you try to read and edit the code in the .DLL file (known as Reverse Engineering) this would certainly break the license...
Forum: C++ Programming August 17th, 2005, 02:48 AM
Replies: 13
Views: 23,440
Posted By Alan-LB
Thanks a lot vigorous!! I have been programming...

Thanks a lot vigorous!! I have been programming for 44 years now and think it is the greatest - and I am still learning. Always be prepared to learn and learn - never think you know everything...
Forum: C++ Programming August 6th, 2005, 01:08 AM
Replies: 5
Views: 2,939
Posted By Alan-LB
I would use the language you are most familiar...

I would use the language you are most familiar with so that you can code the quickest. Then spend time checking your code thoroughly and optimising it as much as possible. Also prepare, if you...
Forum: C++ Programming August 5th, 2005, 03:27 AM
Replies: 13
Views: 23,440
Posted By Alan-LB
The appendix in "Professional C++" is excellent...

The appendix in "Professional C++" is excellent as it covers far more than just the C++ langauge (as the whole book does, which is why it is such a good book).

If you are going for an interview as...
Forum: C++ Programming August 5th, 2005, 03:13 AM
Replies: 5
Views: 2,939
Posted By Alan-LB
Unless you are just considering the competition...

Unless you are just considering the competition environment, you cant make a direct comparison between the speeds of the programs like that.

If you talk about the two languages in general, it...
Forum: C++ Programming July 23rd, 2005, 12:34 AM
Replies: 2
Views: 2,492
Posted By Alan-LB
Try Googling on "visual C++ tutorials" - learn...

Try Googling on "visual C++ tutorials" - learn to use Google - it is a very good method of finding answers to questions like this.

Try www.thefreecountry.com for links to free on-line tutorials on...
Showing results 1 to 25 of 60

 


All times are GMT -4. The time now is 02:50 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.