|
|
A good one, a stunning photograph.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
Just out of curiosity - how many points has space, ... er, the APODs given you?
|
|
|
|
|
|
Hello,
i want use an external Method there will be get an Struct.
The Struct is lokk like this:
typedef struct _SYSTEM_POWER_STATUS {
BYTE ACLineStatus;
BYTE BatteryFlag;
BYTE BatteryLifePercent;
BYTE Reserved1;
DWORD BatteryLifeTime;
DWORD BatteryFullLifeTime;
} SYSTEM_POWER_STATUS, *LPSYSTEM_POWER_STATUS;
In C# it looks like this:
struct SystemPowerStatus
{
byte ACLineStatus;
byte batteryFlag;
byte batteryLifePercent;
byte reserved1;
int batteryLifeTime;
int batteryFullLifeTime;
}
So, i want to rename the Fields. How i can do it? must the Structs Fields named like the original Struct?
Best regard
Armin
|
|
|
|
|
Wrong forum - try the QA forum.
Sarcasm - it's not just a verbal skill - it's a lifestyle!
|
|
|
|
|
Technical discussions are encouraged, but click here to ask your programming question.
|
|
|
|
|
46
If it's not broken, fix it until it is
|
|
|
|
|
Coder (Hired) wrote: 46
-4
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Have you tried turning it on and off again?
->[^]
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
The fields do need to be renamed.
I would suggest you call them
struct SystemPowerStatus
{
byte oneohoneoneohohoneohone;
byte oneohoneoneohohoneohoneoh;
byte oneohoneoneohohoneohoneone;
byte oneohoneoneohohoneohoneohoh;
int oneohoneoneohohoneohoneohone;
int oneohoneoneohohoneohoneoneoh;
} For complete compatibility.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Bender: Ahhh, what an awful dream. Ones and zeroes everywhere... and I thought I saw a two.
Fry: It was just a dream, Bender. There's no such thing as two.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
If it was December, then they would have to be different again:
struct SystemPowerStatus
{
byte onehooneonehohoonehoone;
byte onehooneonehohoonehooneho;
byte onehooneonehohoonehooneone;
byte onehooneonehohoonehoonehoho;
int onehooneonehohoonehoonehoone;
int onehooneonehohoonehooneoneho;
}
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Richard Deeming wrote: There's no such thing as two.
How can you talk about two if there's no such thing as two?
Marc
|
|
|
|
|
But what about large values of 1?
Software Zen: delete this;
|
|
|
|
|
1 + 1 = Many
1 + Many = Lots
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
No programming in Lounge, it is meant to be done in your IDE.
Hint: Ask the question[^] in Quick answers forum.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
This years vacation goes to Tuscany.
More specifically, we're three families of four nationalities that's renting a farm between Siena and Grosseto.
Any tips on what to do, outside of the standard from the tourist guides?
We're bringing children with us aged 2,3,4,5 and 41.
|
|
|
|
|
Jörgen Andersson wrote: aged 2,3,4,5 and 41
I'm starting to see a pattern here ...
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|
|
|
Quote: we're three families of four nationalities
12 people and 12 nationalities? What a very interesting private life you must have.
|
|
|
|
|
|
Looks like our current list
5imone wrote: Rosignano Solvay beach, but only have a look
Why only look?
|
|
|
|
|
Google[^] to the rescue!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
From Italian wikipedia ...
Quote: The white beaches are a stretch of about four kilometers of sandy coastline of the town of Rosignano Marittimo in Tuscany between the villages of Solvay and the center of the hamlet of Vada. [1] Wet from the Ligurian Sea, [2] are all ' extreme northern edge of the Maremma coast.
The unusual color of the sand, which is why the beach is compared to the tropical coasts, is a result of years of work and the discharge of calcium carbonate from a plant of the Solvay Group, located in Solvay, about a kilometer from coast. [3] The sodiera, which happens to be the largest in Europe, [4] was built in 1912 near the beach, starting its activity in 1914, producing, as well as sodium carbonate, hydrogen peroxide, polyethylene, calcium chloride, sodium bicarbonate and hydrogen chloride. [4] Access to the beach is given by a small hill, which until 1983 (but kept open until 1986) was used as a landfill production waste and domestic waste. [5]
Because of the discharge of Solvay, including therefore the mercury, which is released in the works through electrolysis, and other pollutants, [6] the White Beaches are among the most polluted cities in Italy and fishing adjacent waters is extremely small. [7] [4] In addition, this part of the coast is among the 15 most polluted coastal sites of the Mediterranean Sea, according to the United Nations Environment Programme, the United Nations program for the environment. [8]
|
|
|
|