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 25 of 39
Search took 0.01 seconds.
Search: Posts Made By: C@uark
Forum: C# 2008 aka C# 3.0 October 31st, 2009, 07:09 AM
Replies: 6
Views: 1,649
Posted By C@uark
its becuse the compiler does not implictly cast...

its becuse the compiler does not implictly cast when a loss of data could occur. Since going from Derive to Base (a down cast) could poteintial lead to a loss of data without examining what exactly...
Forum: C# 2008 aka C# 3.0 October 31st, 2009, 05:36 AM
Replies: 1
Views: 1,352
Posted By C@uark
Yep thats would be correct, Your CurrentAccount...

Yep thats would be correct, Your CurrentAccount has an "is a" relationship with IBankAccount meaning; a CurrentAccount is an IBankAcount. Since CurrentAccount is an IBankAccount at its lowest level...
Forum: C# 2008 aka C# 3.0 October 31st, 2009, 05:09 AM
Replies: 2
Views: 920
Posted By C@uark
There are couple things you can do here: ...

There are couple things you can do here:

declare a managed array as so
char[] frameid = new char[4]; //and use the operator new to init, also rank specifier preceeds variable name in c#

or...
Forum: C# 2008 aka C# 3.0 October 31st, 2009, 04:43 AM
Replies: 1
Views: 942
Posted By C@uark
its the Bitwise complement operator, its...

its the Bitwise complement operator, its essentially turning on the bold bit if it is off or it is turning off if it is on.
Forum: C# 2008 aka C# 3.0 October 31st, 2009, 04:24 AM
Replies: 1
Views: 1,987
Posted By C@uark
Check out this link...

Check out this link http://forums.asp.net/t/1186941.aspx
Forum: C++ Programming September 24th, 2009, 02:46 PM
Replies: 0
Views: 4,195
Posted By C@uark
using wininet api to connect to web service on https

i have web service written in C#.net 2.0 framework and i am trying to assist someone that is using the wininet api to connect and send soap request to it. dont think i am configuring the httpsSession...
Forum: BOOK: Beginning JavaServer Pages February 2nd, 2009, 10:20 PM
Replies: 2
Views: 3,550
Posted By C@uark
Is that all you did i had that very same problem,...

Is that all you did i had that very same problem, and tried that adding the role manger to my tomcat user name as the documnetation stated but I still get the same access denied message.
Forum: C++ Programming December 1st, 2007, 05:16 AM
Replies: 1
Views: 2,341
Posted By C@uark
some suggestions: no need to have gobal...

some suggestions:
no need to have gobal variables head, tail, traversal, and you really dont want your list operations doing io routines. this should be left to the calling routine(main in this...
Forum: C++ Programming December 1st, 2007, 02:59 AM
Replies: 1
Views: 1,508
Posted By C@uark
pthread help

I have the following program compiling on linux w/ gcc,
my three thread functions have been defined just omitted.

when compiling i get these errors:

/tmp/ccMjhBVI.o: In function `main':...
Forum: Visual C++ August 13th, 2007, 07:38 PM
Replies: 1
Views: 1,628
Posted By C@uark
the second one is the correct syntax dont know...

the second one is the correct syntax dont know why you would get an error there.
Forum: Visual C++ February 20th, 2007, 06:47 PM
Replies: 0
Views: 4,218
Posted By C@uark
MFC Class wizard & vc++ 6 & message mapping

I trying to learn my way around MFC, the class wizard in VC++ 6. Right now I have an SDI and I am trying to a map message to a handler with the class wizard to create of a dialog box(which has...
Forum: C++ Programming December 27th, 2006, 02:47 AM
Replies: 3
Views: 857
Posted By C@uark
Extraction stops for the operator>> for a couple...

Extraction stops for the operator>> for a couple of resons one of which is:

After the function extracts an element ch for which use_facet<ctype<CharType> >( getloc). is( ctype<CharType>::space,...
Forum: C++ Programming May 11th, 2006, 11:46 PM
Replies: 2
Views: 8,490
Posted By C@uark
flush the input buffer before getchar() i.e. ...

flush the input buffer before getchar() i.e.

int main()
{
char x; //Input character
while (1)
{
printf(">"); //Print prompt '>'
fflush(stdin); //...
Forum: C++ Programming May 5th, 2006, 09:06 AM
Replies: 2
Views: 1,014
Posted By C@uark
To dynamically allocate an array would look...

To dynamically allocate an array would look something along the lines of this:

char* myString;

// c++ new operator
myStrings = new char[10]; // a string containing 10 elements

// c...
Forum: C++ Programming April 29th, 2006, 07:44 AM
Replies: 5
Views: 1,736
Posted By C@uark
This should also do the same thing: ...

This should also do the same thing:

(Ptr++)->last_name
Forum: C++ Programming April 29th, 2006, 07:16 AM
Replies: 5
Views: 1,736
Posted By C@uark
If you wanted to increment the array index to...

If you wanted to increment the array index to next contiguous element and then the dereference the pointer in the array in one fail swoop. This might work don’t know for sure, I don’t have a...
Forum: C++ Programming April 28th, 2006, 12:40 AM
Replies: 5
Views: 1,736
Posted By C@uark
(*Ptr).last_name is the same as this...

(*Ptr).last_name is the same as this Ptr->last_name if Ptr is the struct variable name.
the "*" derferences the variable name Ptr the "."(direct access operator) selects the member of the struct. ...
Forum: C++ Programming April 18th, 2006, 04:42 AM
Replies: 7
Views: 9,339
Posted By C@uark
traversing a tree is quite easy, just depends oh...

traversing a tree is quite easy, just depends oh how you have set up your storage structures and linkage. take what I had declared earlier and have its data be names i.e. john, jeff, mark, and so on....
Forum: C++ Programming April 17th, 2006, 05:07 AM
Replies: 7
Views: 9,339
Posted By C@uark
Not sure what your asking here are you taking...

Not sure what your asking here are you taking about linkage from one node to the next or are you taking phyically displaying the tree. some helpful tips: have some comments in in your code as to what...
Forum: C++ Programming April 16th, 2006, 02:10 AM
Replies: 7
Views: 9,339
Posted By C@uark
you could declare some structs and define a set...

you could declare some structs and define a set functions that process the structs like so:


struct metaData; // forward declaration
struct treeNode
{
metaData* myData;...
Forum: C++ Programming April 11th, 2006, 07:12 AM
Replies: 8
Views: 2,429
Posted By C@uark
post some of your code

post some of your code
Forum: C++ Programming April 10th, 2006, 08:45 AM
Replies: 8
Views: 2,429
Posted By C@uark
my bad had brain fart when writing the mode ...

my bad had brain fart when writing the mode

this is the format for .open function call,
your_fstream_object.open( const char* szName, int nMode, int nProt = filebuf::openprot );

You can...
Forum: C++ Programming April 7th, 2006, 07:21 AM
Replies: 13
Views: 2,082
Posted By C@uark
eminson how many times are you going to post the...

eminson how many times are you going to post the same question. check one of your other posts
Forum: C++ Programming April 7th, 2006, 06:17 AM
Replies: 4
Views: 1,733
Posted By C@uark
Think about the flow of controll, your code makes...

Think about the flow of controll, your code makes no since:

You declare some variables with(this is fine, however it is best to initialize upon declaration i.e. double month1 = 0.0):

int...
Forum: C++ Programming April 7th, 2006, 02:30 AM
Replies: 1
Views: 1,503
Posted By C@uark
how to print what and to what stream

how to print what and to what stream
Showing results 1 to 25 of 39

 


All times are GMT -4. The time now is 08:38 PM.


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