搜尋此網誌

2025年7月17日星期四

If-else

The ternary conditional operator is a compact way to write conditional expressions in many programming languages. It’s called “ternary” because it takes three operands: a condition, a result if true, and a result if false.

In C++, the return statement is used to exit a function and optionally send a value back to the caller. It’s a key part of how functions communicate results.

++x Increment first, then use the value

x++ Use the value first, then increment

parentheses: DJ[pəˋrenθisi:z]

versatile: DJ[ˋvə:sətail] able to do many different things

Microsoft Copilot

2025年7月15日星期二

If statements in C++

No "then" keyword

In C++, the percent symbol % is used as the modulus operator. It calculates the remainder after dividing one integer by another.

In C++, == is the equality operator. It checks whether two values are equal and returns true if they are, and false otherwise.

In C++, bool is a built-in type used to represent Boolean values—essentially, values that are either true or false.

1: true

0: false

In C++, != is the inequality operator. It checks whether two values are not equal. If they are different, it returns true; if they’re the same, it returns false.

In C++, && is the logical AND operator, used to combine two Boolean expressions. It returns true only if both expressions are true—otherwise, it returns false.

affirmative: (also positive) (of a statement) expressing something that is true, did happen, etc.; not containing words such as ‘no’, ‘not’, ‘never’, etc.

subtle: not very obvious or easy to notice

Microsoft Copilot

Retarded?!

    If these supposed experts do not know what to do with me, why should I care about their opinions?

crackle: to make short sharp sounds like something that is burning in a fire

intercom: a system of communication by phone or radio inside an office, plane, etc.; the device you press or switch on to start using this system

roust: to drive (as from bed) roughly or unceremoniously

unceremoniously: in a rough or rude way, without caring about a person’s feelings

blast out:  to make a loud unpleasant noise, especially music

impeccably: in a way that has no mistakes or faults

iron out: to get rid of any problems or difficulties that are affecting something

feminist: ​DJ[ˋfeminist] having or based on the belief that women should have the same rights and opportunities as men

pantsuit: ​a woman’s suit of jacket and pants

assert something to: make other people recognize your right or authority to do something, by behaving in a determined and confident way

mystique: the quality of being mysterious or secret that makes somebody/something seem interesting or attractive

rung: ​one of the bars that forms a step in a ladder

frenetic: ​involving a lot of energy and activity in a way that is not organized

soccer: DJ[ˋsɔkə]

memorabilia: things that people collect because they once belonged to a famous person, or because they are connected with a particular interesting place, event or activity

maxim: a well-known phrase that expresses something that is usually true or that people think is a rule for sensible behavior

endeavor: an attempt to do something, especially something new or difficult

reveille: a tune that is played to wake soldiers in the morning; the time when it is played

makeshift: used temporarily for a particular purpose because the real thing is not available

overpass: ​a bridge that carries one road over another one

tiff: a slight argument between close friends or two people who love each other

aggression: a violent attack or threats by one person against another person or by one country against another country

scrawny: ​(of people or animals) very thin in a way that is not attractive

squeaky: making a short, high sound

brawler: ​a person who takes part in a noisy and violent fight, usually in a public place

​engender something: to make a feeling or situation exist

nerd: a person who is boring, stupid and not fashionable

jock: a man or boy who plays or enjoys sport a lot, especially one who does not have many other interests

studious: spending a lot of time studying or reading

diligent: ​showing care and effort in your work or duties

tease about: to laugh at somebody and make jokes about them, either in a friendly way or in order to annoy them or make them embarrassed

differentiator: one that differentiates

niche: a comfortable or suitable role, job, way of life, etc.

wallow (in something) (of large animals or people): to lie and roll about in water or mud, to keep cool or for pleasure

when people ham it up, they deliberately exaggerate their emotions or movements

exaggerate: to make something seem larger, better, worse or more important than it really is

gloat: to show that you are happy about your own success or somebody else’s failure, in an unpleasant way

feat: ​an action or a piece of work that needs skill, strength or courage

punctuation: the marks used in writing that divide sentences and phrases; the system of using these marks

verdict: a decision that you make or an opinion that you give about something, after you have tested it or considered it carefully

kindred: very similar; related

foghorn: a device that makes a loud noise to warn ships of danger in fog

contrarian: a person who opposes or rejects popular opinion, especially in financial markets

streak: a part of a person’s character, especially an unpleasant part

meld: to combine with something else; to make something combine with something else

jokester: joker

persona: the aspects of a person’s character that they show to other people, especially when their real character is different

outwardly: on the surface; in appearance

clash over: an argument between two people or groups of people who have different beliefs and ideas

epic: taking place over a long period of time and involving a lot of difficulties

physicality: the quality of being physical rather than emotional or spiritual

tow-headed: having very light blonde or untidy hair

linebacker: (in American football) a defensive player who tries to tackle members of the other team

touchdown: (in American football) an act of scoring points by crossing the other team’s goal line while carrying the ball, or receiving the ball when you are over the other team’s goal line

complimentary: expressing approval, praise, etc.

thrilled: DJ[θrild] very excited and pleased

domino theory: a theory that if one nation becomes Communist-controlled the neighboring nations will also become Communist-controlled

hands down: (informal) easily and without any doubt


Bill Gates "Source Code"

Online Dictionaries Used:

hk.dictionary.search.yahoo.com

www.oxfordlearnersdictionaries.com

www.merriam-webster.com

2025年7月13日星期日

Registered Nurse

    目標實現了,便是光榮;目標實現不了,人生也會因這一路風雨跋涉變得豐富而充實;在我看來,這就是不虛此生。

節錄自汪國真《我喜歡出發》

Auto Focus

AF-S (AF single, sometimes called single area AF) mode, is good for photographing subjects that do not move, such as flowers or portraits etc.

www.slrphotographyguide.com

Baby

hangman: a game in which one player chooses a word and the other players try to guess it, letter by letter. Each time they guess wrongly, the first person draws one part of a person being hanged. The other players have to guess the word before the drawing is complete

gallows: a structure on which people, for example criminals, are killed by hanging

mitigate something: to make something less harmful, serious, etc.

rambunctious: full of energy in a cheerful and noisy way

floor somebody: to surprise or confuse somebody so that they are not sure what to say or do

disruptive: causing problems, noise, etc. so that something cannot continue normally


Bill Gates "Source Code"

Online Dictionaries Used:

hk.dictionary.search.yahoo.com

www.oxfordlearnersdictionaries.com

2025年7月11日星期五

On the Stage by Yoasobi

So, I'm standing on the top of the stage of my dreams

And now the signal echoes loud in my ears

Time after time, been imagining this moment

Outdoing all versions of me, I'll prevail

Taking a deep breath, inhale and exhale

And in silence I raise my gaze, it unveils

Everything I've done up to this point of time

I realize wasn't in vain, but led to now

No doubt, the future that I have seen in my dreams

Has started now, unfolding where I stand

outdo somebody/something: to do more or better than somebody else

prevail: [intransitive] to exist or be very common at a particular time or in a particular place

unveil something: to remove a cover or curtain from a painting, statue, etc. so that it can be seen in public for the first time

in vain: without success

Online Dictionary Used: www.oxfordlearnersdictionaries.com