Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
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 21 of 21
Search took 0.01 seconds.
Search: Posts Made By: Paramesh
Forum: C++ Programming November 19th, 2005, 12:49 PM
Replies: 6
Views: 1,756
Posted By Paramesh
I think that may be the problem with the gcc...

I think that may be the problem with the gcc compiler.
This code wont work in any other compiler and this is not a standard.


"Don't walk behind me; I may not lead.
Don't walk in front of me; I...
Forum: C++ Programming November 17th, 2005, 10:03 AM
Replies: 6
Views: 1,756
Posted By Paramesh
Hi Saurabh. Since C is a procedure oriented...

Hi Saurabh.
Since C is a procedure oriented language, you should do all the initializations(i.e declarations like int i; etc) before you start to use them.
and you cannot simply pass a variable to...
Forum: C++ Programming November 15th, 2005, 01:32 AM
Replies: 2
Views: 2,326
Posted By Paramesh
Hi Bhavin, We can help you with writing the...

Hi Bhavin,

We can help you with writing the code. but not just give the answer.
So, First, write an algorithm. and tell us your current status.

Regards, :D
Paramesh.

"Don't walk behind...
Forum: C++ Programming November 13th, 2005, 06:08 AM
Replies: 3
Views: 1,822
Posted By Paramesh
Please be more specific. Post the error message...

Please be more specific.
Post the error message you get.


"Don't walk behind me; I may not lead.
Don't walk in front of me; I may not follow.
Just walk beside me and be my friend."
Forum: C++ Programming November 10th, 2005, 09:53 PM
Replies: 1
Views: 2,176
Posted By Paramesh
The precision determines the maximum number of...

The precision determines the maximum number of digits that shall be output on express floating-point values, counting both the digits before and after the decimal point.

"Don't walk behind me; I...
Forum: C++ Programming November 9th, 2005, 08:59 PM
Replies: 2
Views: 971
Posted By Paramesh
You should declare the array like this: ...

You should declare the array like this:

unsigned short result[10];

where 10 is the size of the array.

"Don't walk behind me; I may not lead.
Don't walk in front of me; I may not follow....
Forum: C++ Programming November 8th, 2005, 10:23 PM
Replies: 8
Views: 1,536
Posted By Paramesh
I think yes. I am not sure about the answer....

I think yes.

I am not sure about the answer. Try posting this in the Forums.

Regards,
Paramesh.

"Don't walk behind me; I may not lead.
Don't walk in front of me; I may not follow.
Just...
Forum: C++ Programming November 8th, 2005, 02:05 PM
Replies: 8
Views: 1,536
Posted By Paramesh
There are two types. One is the standard C...

There are two types.
One is the standard C libraries and the other one is created by individuals(you will learn about that soon).

:)
Regards,
Paramesh.

"Don't walk behind me; I may not lead....
Forum: C++ Programming November 8th, 2005, 12:19 PM
Replies: 8
Views: 1,536
Posted By Paramesh
Libraries are user created codes that do not ship...

Libraries are user created codes that do not ship with the C compiler or are not part of the C language. Because it is user defined.

Program libraries also include header files.

and Welcome to...
Forum: C++ Programming November 7th, 2005, 08:51 PM
Replies: 10
Views: 5,560
Posted By Paramesh
Sorry middledd. I didnt take a look at the...

Sorry middledd.
I didnt take a look at the updated program.


The lines:

cout << "Total Amount Owed: " << result <<
cout << endl;

can be viewed like this:
Forum: C++ Programming November 7th, 2005, 08:25 PM
Replies: 3
Views: 1,222
Posted By Paramesh
It is not possible to answer this without your...

It is not possible to answer this without your code but here is a wild guess:

>>>"File1.h": E2303 Type name expected at line 9
Did you include <vector.h> ??

"File1.h": E2139 Declaration...
Forum: C++ Programming November 7th, 2005, 09:08 AM
Replies: 10
Views: 5,560
Posted By Paramesh
Now, the link is no longer available. I'll post...

Now, the link is no longer available.
I'll post the code here for others to take a look at it.

#include <iostream>

using namespace std;

const double HOUSEPGAL = 0.0005;
const double...
Forum: C++ Programming November 7th, 2005, 03:13 AM
Replies: 8
Views: 1,536
Posted By Paramesh
#include <stdio.h> This first line of the...

#include <stdio.h>

This first line of the program is a preprocessing directive, #include. This causes the preprocessor—the first tool to examine source code when it is compiled—to substitute...
Forum: C++ Programming November 7th, 2005, 12:20 AM
Replies: 10
Views: 5,560
Posted By Paramesh
Hi middledd, Where did you find a line like...

Hi middledd,
Where did you find a line like that?

Dweeler,
Please post your updated code by using the code tags.

Regards,
Paramesh.

"Don't walk behind me; I may not lead.
Forum: C++ Programming November 6th, 2005, 09:10 PM
Replies: 2
Views: 3,351
Posted By Paramesh
Your error message itself says this: "BGI...

Your error message itself says this:
"BGI graphics not ANSI compatible"

The graphics you used is not a standard C/c++ code. It is not ANSI or ISO code.

You can try compiling it in Turbo C++...
Forum: C++ Programming November 6th, 2005, 09:08 PM
Replies: 11
Views: 2,245
Posted By Paramesh
My personal opinion is that learning C++ before...

My personal opinion is that learning C++ before java is not necessary.

A good textbook of java is all you require.

Since you are already familiar with Javascript, you can directly jump in to...
Forum: C++ Programming November 6th, 2005, 09:04 PM
Replies: 7
Views: 2,031
Posted By Paramesh
We can use the sizeof operator in the ways...

We can use the sizeof operator in the ways described by phoenix.

The only thing we must remember is to put an extra space after sizeof.
For example, if we use:
sizeof i
then it will return...
Forum: C++ Programming November 6th, 2005, 08:37 PM
Replies: 10
Views: 5,560
Posted By Paramesh
Hi Dweeler, The problem is this area: int...

Hi Dweeler,
The problem is this area:

int getBill (char x)
{
if (x!='C' || x!='H')
return 2;
if (x!='c' || x!='h')
return 2;
if (x=='c' || x=='C')
Forum: C++ Programming November 6th, 2005, 08:30 PM
Replies: 2
Views: 1,195
Posted By Paramesh
Hi, Many use different libraries and...

Hi,


Many use different libraries and header files for their programs.
So the better thing is stick to your book.
Learn all the basics and then go to sourceforge.

Look at the project...
Forum: C++ Programming November 6th, 2005, 08:17 PM
Replies: 6
Views: 84,823
Posted By Paramesh
You can also take a look at the ASCII table to...

You can also take a look at the ASCII table to find more information.
Forum: C++ Programming November 6th, 2005, 08:16 PM
Replies: 1
Views: 1,106
Posted By Paramesh
What can make?

What can make?
Showing results 1 to 21 of 21

 


All times are GMT -4. The time now is 10:11 PM.


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