4 Topics

Member Avatar for
Member Avatar for natehome

hi, i'm working with php short hand for the first time and i'm trying to edit this code: <?=($c->is_admin == 'Yes')?'<a href="msg_update.php" input type="submit" class="button" value="protected page">Update Home Page Message</a>' : ' <p> This is not the page you were looking for. </p> ' ?> i want to do something …

Member Avatar for cereal
0
152
Member Avatar for LdaXy

I know that the colon is used for inheritance. [CODE] class x { public: long y; } class Z : X { public: virtual void ret_value(y); }[/CODE] but what does this mean? [CODE]int offset:16;[/CODE] i cannot find he answer to this anywhere.

Member Avatar for LdaXy
0
211
Member Avatar for Pelle_3

I am learning C++ .net programming and was wondering why the code for creating a messagebox is [CODE=C#]MessageBox.Show("Hello, World!");[/CODE] in C# and [CODE=C++]MessageBox::Show("Hello, World!");[/CODE] in C++. Why is the dot substituted with a double colon in the C++ code? My source: [url]http://msdn.microsoft.com/nb-no/library/z9w2f38k[/url]

Member Avatar for Pelle_3
0
422
Member Avatar for Fbody

I just started an advanced C++ course and my instructor sent around a file with this piece of code: [code]class smallobj // specify a class { public: smallobj() : iData(0){} // Constructor smallobj(int iInValue) : iData(iInValue) {} // Overloaded Constructor ~smallobj() {} // Destructor void setdata(int d) // member function …

Member Avatar for Fbody
0
1K

The End.