致關心中研院的朋友,晚安:
首先,謝謝大家的關心。相信大家相當憂心本院出現境外移入的群聚感染。不過,請各位朋友毋需過度焦慮。我們已經掌握相關接觸者,並提高防疫措施的強度。確診者所屬工作場域的同仁即日起居家辦公二周,待無虞後再回院工作。其餘同仁若有不適,也建議在家休息或工作,勿輕忽大意。
我明白隨著案例增加,大家心情難免忐忑。窺探的慾望也讓我們急於掀開確診者隱私的面紗。但是避而不談、隱入人群,也使我們容易傳散謠言、互相猜疑。二者皆有盲點。如何求取平衡,是社會在這場疫情中進步與否的關鍵課題。
疫情帶給世界的挑戰接踵而至,但是迎戰病毒,我們並非全然無知、束手無策。除了努力以科學研究找出答案外,我們也應發揮人溺己溺的精神,互相關懷、彼此鼓勵。切勿以文字語言傷害到確診案例所屬單位之同仁或其家屬。越困難的時刻越要理性、互相幫忙,珍惜人際間的良善與信任。
也許我們對不可預測的疫情發展不免恐懼,但我認為,戰勝恐懼的解方是獲取知識。我們應該主動了解病毒如何傳播、如何致病。若你有興趣,再進一步了解病毒如何演化,病毒與人類又是什麼關係。善用最近多一些的居家時間,靜心充實知識也不失為一件好事。
認識病毒、釐清疫情的同時,我們也應該展現人性的光輝及真誠,互助合作並包容可能有的人性弱點。對異議者耐心溝通、解釋,對確診者給予最大的關懷及支持。
病毒帶來全新的考驗,我們必須在有限的資訊與時間內做出困難的抉擇,這不僅激勵我們需要進一步以研究追求知識,也同時測驗我們的智慧,更提醒我們如何超越自我,把無私與人道的精神帶給社會。
這段時間大家都辛苦了,再次謝謝各界捎來的問候與關懷。新冠肺炎病毒正在挑戰人類知識的邊界,卻也給人類有機會重新省思人、社會、國家及環境的互動關係。路阻且長,繼續努力。保護自己,同理他人。
祝 平安健康
中央研究院院長 廖俊智 20200322
____________
To all our friends,
First of all, I would like to express my heartfelt gratitude for all the concern you have shown towards Academia Sinica. I understand that everyone is very concerned about the cluster infection resulting from an imported case. Nonetheless, we have been able to track down people who had contact with this individual and have implement enhanced epidemic control measures, so there is no need to be overly concerned. All colleagues sharing a workplace with the confirmed case have started working from home for two weeks until further notice. Other colleagues are also advised to stay home for work or rest should they feel any sort of discomfort.
I understand that as the number of cases arises so do the unease and fear within us all. Although we might bear an urge to unveil the privacy of the confirmed case, avoiding the subject altogether leads to speculation, rumor, and distrust. Each course of action leaves much to be desired. Therefore, it is critical to reach a balance between both options. The decisions we make will mark our progress as a mature society in battling against the virus.
The outbreak of this epidemic has brought relentless challenges to our world, yet in this struggle we are neither clueless nor without power. Apart from striving to find solutions through scientific research, we should also consider this an opportunity to show our solidarity through caring and reaching out to encourage each other. Please refrain from any verbal attacks related to the confirmed cases, colleagues from the same institute, and family members. It is during these darkest of times that we should do our utmost to maintain a sense of reason, support each other, and treasure the trust in our own humanity.
While it may be inevitable that we experience fear as this unpredictable epidemic unfolds, in my opinion the key to our victory is the accumulation of greater knowledge. We should take the initiative to learn about how the virus spreads and infects others, and if you are interested how it evolves plus its relations with human beings. It might not be a bad idea to make good use of the extra time at home in recent days to nourish oneself with such knowledge.
As we become more familiar with this virus and clarify the facts about the epidemic, we should also manifest the sincerity and brilliance of our human nature, work together in earnest collaboration and show enduring tolerance for any possible flaws. Let us patiently communicate with those who disagree, and show the greatest support for people with confirmed cases.
The virus has confronted us with a completely new set of challenges, and we must make very difficult decisions with limited information and time. This not only impels us to exceed our limits in scientific pursuits but also tests our wisdom in the face of adversity while reminding us to share our selfless spirit with society.
It has been a tough fight, and we are all in this together. Once again, I would like to thank the public for its warm regards. While testing the limits of human knowledge, the coronavirus also allows us to reflect upon the links between individuals, society, the nation, and the environment. A long and perilous journey lies ahead, so let us persist in our efforts, protecting ourselves while sympathizing with others.
With Warmest Wishes for Peace and Good Health,
James C. Liao
Academia Sinica President
同時也有372部Youtube影片,追蹤數超過304萬的網紅MosoGourmet 妄想グルメ,也在其Youtube影片中提到,#ASMR #DragonsBeardCandy #EdibleHair #TrickRecipes #Recipe #OddlySatisfying #DIY #音フェチ Moso Mom has been a big fan of actor Jackie Chan for 40 or so ...
「do while c」的推薦目錄:
- 關於do while c 在 中央研究院 Academia Sinica Facebook
- 關於do while c 在 wongnai.com Facebook
- 關於do while c 在 Goodbye HK, Hello UK Facebook
- 關於do while c 在 MosoGourmet 妄想グルメ Youtube
- 關於do while c 在 Jessica Vu Youtube
- 關於do while c 在 ASMR BlueKatie Youtube
- 關於do while c 在 Re: [問題] do{...}while(..) - 看板C_and_CPP - 批踢踢實業坊 的評價
- 關於do while c 在 新手c語言do...while - 軟體工程師板 - Dcard 的評價
do while c 在 wongnai.com Facebook 八卦
ในยุคที่ข้าวยาก หมากแพง หมู ไก่ ก็ขึ้นราคาชนิดที่ว่าแทบจะหันไปกินมังฯ แต่เชื่อเถอะค่ะว่าในความโหดร้ายของราคาวัตถุดิบนั้น ยังมีร้านคู่บุญคู่กรรมดิฉันอย่าง “ไก่ทอดเจ๊ภัทร”ร้านไก่ทอดที่มาปังสุดแรงในช่วงโควิดที่ผ่านมา เพราะด้วยรสชาติ และราคาที่ลูกค้าต่างพูดเป็นเสียงเดียวกันว่า เกินคุ้ม! 💥
.
อ่านบทความเต็ม ๆ ได้ที่ 👉🏻 https://www.wongnai.com/news/che-phat
.
“จริง ๆ เราลองผิดลองถูกมานานแล้ว ตระเวนขายไปทั่วเลย เราก็ให้เยอะแบบนี้มาแต่แรกนะ แต่มันติดที่รสชาติเราไม่อร่อย เมื่อก่อนขายทั...
Continue ReadingIn an era where rice is difficult, pork, chicken has raised the price. The kind that you almost turn to eat. But believe me, in the cruelty of the price of raw materials, there is a merit-making restaurant like ′′ fried chicken, Jae Phat ′′ fried chicken restaurant. The source is very popular in the past Covid. Because with the taste and price that customers say, it's worth the same noise! 💥
.
Read the full article at 👉🏻 https://www.wongnai.com/news/che-phat
.
′′ In fact, we tried it wrong. I have tried it right for a long time. I sold it all over the place. We gave a lot like this from the beginning. But it's stuck in our taste. It wasn't delicious. I sold it all day. I got a few kilograms. I Until we start asking customers whether to adjust or not. We have to change anything. We have adjusted the formula to fit. We have started to come. We know that we can't give a lot of money. It's delicious. If these two things go together. Will come back to buy again ′′ 🤩
.
It took a long time to adjust the formula. It's starting to be known. But it's so popular that the market is broken. It's called where to sell. It happens because of ′′ giving ′′ without expecting a return. 🥰
.
′′ In fact, we don't sell well during the covids. But we still have enough. So we took my own money to do it. Give away as much as we sell. The result is expected. When we give away, we don't think about anything. I just want many people to survive together. But it's human. It's said that it's very cheap and delicious. Fried chicken. This restaurant is good. It's cheap. It's good. It's good to save one pack. Eat with kids comfortably while people save money. Think of our shop. Then the queue keeps getting longer. From frying 2 pans per day. It's frying and frying until we can't count the pan. Just a moment, we will go to 300 kg. ′′ ✨
.
And even though the stuff is expensive at the shop, it's only 2 Baht per pack. The true happiness of making a shop may be just sharing and seeing people feel full. ❤️
.
′′ We have profit for 2 Baht per pack. But we have been difficult. We understand that the happiness of those who don't have is just full. That's all. It's the happiness that we can give to others. We can let customers live. I can live with that. Doing what we love. Just the customer is waiting for the queue and said that we are delicious. That's enough. We don't forget when I sit and see if the customer will come. Will it be sold out? Today we can do what we dream of. The rest is just want to We are enough ′′ 🥰
.
Traditionally, our shop has to sneak in line and wait for queue because we know how long each queue takes. OMG! When the sun is so hot, none of our customers give up. Everyone has been waiting for the queue for hours. We found that there are 2 types of sticky rice here is ′′ sticky rice ′′ and ′′ black sticky rice. ′′ It's so soft that it's unique that the shop sells at the same price. Not positive. Black sticky rice price. 👍🏻
.
You can order 1 things. Sell for 20 Baht. If you want to have a lot of fun, it's 2 things for 25 Baht. There will be ′′ fried chicken ′′ at crispy, soft, cool without having. Dipping sauce ′′ fried liver ′′ big liver. No smell. Fried fishy. It's good. It's delicious. It's very well-seasoned. ′′ glass pork ′′ that is freshly fried and crispy. Let me tell you that you don't miss it 💥
.
By the boom here, honestly, sticky rice is the price. Because it's so tight. The more I put pork and chicken in it, I can't wrap it. I can't share it for two meals. 😋
.
Sister Phat fried chicken restaurant is another example that if we give good things to others, someday the result will come back to the shop. This nickname is ′′ Chicken Tong, handsome, wrapped in Tung ′′ that I want. Let's eat once 😍
.
But I have to say that this shop has long queue. There is no part to breathe. If you want to try, just order LINE MAN. ✨ Sit and wait at home. Sticky rice. This tung is ready to deliver to your place.
.
🍗: Fried chicken. Sister Phat.
📍: Greenvelt market, Rama 2 in front of Big C Rama 2 Bangkok.
📞: call 061-128-4612
⏰: Open everyday 14.30-18.00 hrs.
🛵: Order LINE MAN here! 👉🏻 https://bit.ly/33OHXph
⭐️: See more location and reviews 👉🏻 https://www.wongnai.com/restaurants/600443yw
________________________
#Wongnai #WongnaiBacktoLife
Start your new normal life together with Wongnai. Find restaurant information from all over the country and share your review at Wongnai app ▶️ Free download here>> http://bit.ly/2U0bdn See LessTranslated
do while c 在 Goodbye HK, Hello UK Facebook 八卦
國際送子彈,極速射到
「國際送子彈」報導系列,啱啱半個鐘前射到,有啲應該未收到,睇下有咩反應先。
《The New York Times》
China Pushes New Security Law for Hong Kong, Increasing Party’s Sway
https://nyti.ms/2TuIarE
//The process would effectively circumvent the Hong Kong government, undercutting the relative autonomy granted to the territory under a political formula known as “one country, two systems.”//
(個做法明顯要撓過香港政府,削弱所謂「一國兩制」之下叫做有啲嘅自治權。)
《BBC》
China proposes controversial Hong Kong security law
https://bbc.in/3g9Qoiy
//Will the law draw protests?
It is almost certain to do so, both in Hong Kong and abroad.//
(會唔引發抗爭?肯定會啦,仲要香港同海外一齊呀。)
《The Guardian》
China proposes controversial national security law for Hong Kong
https://bit.ly/2yr9b84
//The largely rubber-stamp body kicks off its full annual session on Friday in Beijing.On Thursday evening the National People’s Congress confirmed its agenda would discuss “establishing & improving the legal system & enforcement mechanisms for Hong Kong to safeguard national security”//
(個橡皮圖章議會聽日開始,議程已公布咗討論所謂「建立同改進香港嘅法治同執法制度,保障國家安全」。)
《The Washington Post》
China to impose sweeping national security law in Hong Kong, bypassing city’s legislature
https://wapo.st/36nC2Xd
//For the United States to treat Hong Kong as a separate entity, mostly for commercial purposes, the State Department must certify that the city retains “a high degree of autonomy” from China. Pompeo said its latest decision on this was still pending.//
(對於美國黎講,將香港視為獨立個體嘅主要原因,係要美國國務院認為香港可以保持「高度自治」,不過Pompeo話依家就要諗清楚喇。)
《Rueters》
China supports 'improvement' of Hong Kong's political system
https://reut.rs/3bXBgSc
//The high degree of autonomy promised to Hong Kong for 50 years under the “one country, two systems” arrangement has helped it thrive as a financial centre, while Macau is a major gambling centre.//
(「一國兩制」之下「五十年不變」呢個承諾,係令香港成為國際金融中心嘅原因,澳門?靠賭㗎喎!)
#唔該大膽啲
#直接宣布一國一制
#正式確認違反中英聯合聲明
#唔做正YY
*********************************
支持Patreon係本Page嘅支柱:
https://www.patreon.com/goodbyehkhellouk
YouTube 新片:
《Juan Guaido:Rise to the Challenge》
「委內瑞拉代總統Juan Guaido::國民唔堅持同覺悟,哪怕幾有執政意志,都可以係困局」
https://www.youtube.com/c/GoodbyeHKHelloUK
*********************************
do while c 在 MosoGourmet 妄想グルメ Youtube 的評價
#ASMR #DragonsBeardCandy #EdibleHair #TrickRecipes #Recipe #OddlySatisfying #DIY #音フェチ
Moso Mom has been a big fan of actor Jackie Chan for 40 or so years, so of course we knew about Hong Kong's Dragon's Beard Candy. It's a fine, hand stretched confectionery similar to cotton candy that looks like a dragon's beard.
But this is an imperial court delicacy made by skilled craftsmen, so we didn't think we could make it ourselves.
Recently there are lots of people that make it themselves
https://youtu.be/Y_F7nYcoBec
https://youtu.be/LHR2gzqUp5M
"We could do that!" we said, and took up the challenge! But while that enthusiasm is good, it ended up looking like it was crushed, and we thought "can we really do this...?", but somehow we managed it.
The kitchen was covered in the most powder of the century....
*Recipe*
1. Color 250ml of water with your favorite shade of food coloring. We put in 2 drops of blue liquid food coloring.
2. Add 500g of granulated sugar, 50g of corn syrup, 1/2 a teaspoon of vinegar and the water to a pan, and bring to a medium heat. Do not mix.
3. Measure the temperature while heating. Halfway through, remove any sugar stuck to the saucepan with a brush soaked in water (so as not to create crystallization). Do not mix.
4. Take the pan off the heat when the candy reaches 133°C. Heating time takes around 20-25 minutes.
5. Pour the candy into a mold. Silicone molds are easier to remove afterwards, and do not create holes when you start to stretch the candy, so a doughnut mold is ideal.
6. While the candy cools off, prepare some cornstarch to use when stretching it. You will use quite a lot of cornstarch, so heat it through so as not to upset your stomach.
Add a large amount of cornstarch (We prepared 300 g. Don't worry, they sold it at the 100 yen shop) to the pan, and dry fry for about 10 minutes without letting it burn. At this point the cornstarch's internal temperature was 98°C. Allow to cool.
7. Take the cooled off candy from 5 out of the mold.
8. Stretch out the candy in 7 while continually sprinkling with the cornstarch from 6. The trick to making beautiful Dragon's Beard candy is to stretch it without variations in size. Handle the candy gently at first (it breaks with a snap) and more boldly as it starts to get thinner (it naturally dangles and stretches, maybe because of body temperature). Is this really advisable?
9. Make it into your desired shape. We made it pretty by winding it around a cone with a lace paper doily.
10. Finished. The artisans' techniques really don't come quickly and easily. We learned a lot. When it's fresh it's a soft and stretchy candy, but after a day it becomes more crunchy. It collapses easily, so handle it carefully.
40年来のジャッキー・チェン成龍の大ファンな妄想グルメ母ですから香港の龍の髭っていうお菓子のことはもちろん知ってました。https://ja.wikipedia.org/wiki/龍のひげ飴
龍髭糖、それは龍の髭のように細く手で伸ばして作る綿あめのようなお菓子。
でもこれ、熟練の職人が作る宮廷菓子だから自分で作れるとは思っていなかったのですが
最近自分で作っている人たちがいっぱいいて https://youtu.be/Y_F7nYcoBec
https://youtu.be/LHR2gzqUp5M
「誰がやるの?私でしょ!」と挑戦してみました!
と意気込んだはよいものの「ほんとにやれんの...?」と挫けそうになりましたがなんとかできました。
今世紀最大にキッチンが粉だらけになったとさ。
*レシピ*
1.水 250mlに食用色素で好みの色に着色する。青の液体食用色素を2滴入れました。
2.鍋にグラニュー糖 500g、コーンシロップ 50g、酢 小さじ 1/2、1を入れ、中火にかける。かき混ぜない。
3.温度を計りながら加熱する。途中、鍋についた砂糖は水を含ませたハケで落とす(結晶を作らないようにするため)。かき混ぜない。
4.飴が133度になったら鍋を火から下ろす。加熱時間は20分から25分程度です。
5.飴を型に流し込む。シリコン製が後で取り出しやすく、さらに飴を伸ばし始める時の穴を作らずにすむのでドーナツ型が理想です。
6.飴が冷める間に飴を伸ばすときに使うコーンスターチの準備をします。かなりの量のコーンスターチを使うので、お腹こわさないように火を通しておきます。
鍋に大量のコーンスターチ(妄想グルメは300g準備しました。安心してください。100円ショップに売ってました)を入れ、焦がさないように乾煎りします。10分程度です。この時のコーンスターチの内部の温度は98度でした。冷ましておく。
7.冷めた5を型から取り出す。
8.6に7をじゃんじゃんまぶしながら伸ばしていく。太さにバラツキがないように伸ばしていくのが、きれいなリュウノヒゲを作るコツです。飴の扱い、初めは丁寧に(ブッツリと切れてしまいます)、細くなり始めたら大胆に(体温のせいなのか?自然に垂れ下がり伸びてしまいます)。アドバイスになってるかしら。
9.好みの形にする。コーンにレースペーパーを巻いて可愛くしてみました。
10.でけた。職人さんの技はそうそう簡単にうまくいかない痛感。勉強になりました。できたてはふわっと伸びる飴的な食べ物ですが、翌日からは、しゃりっとしたお菓子にヘンゲ。崩れやすいので取扱い注意です。

do while c 在 Jessica Vu Youtube 的評價
FINALLY! The highly requested overnight heatless waves tutorial ??♀️ This is literally life-changing; I haven't touched my curling wand since I started doing this and am so excited to finally share my voluminous curly hair tutorial with you all! I initially saw the robe belt method from Marcela Tumas https://youtu.be/dS9FWzJUEtE and after 5 tries (tweaking it as I went along) I finally perfected it. So here are some of my tips on how to get big loose waves using no heat. Enjoy!
Fluent in more than one language? Help me + other viewers by adding subtitles for this video in your language here! ?♀️
http://www.youtube.com/timedtext_video?v=pGb_1WIJdbg&ref=share
FOLLOW ME!
✧ IG: https://www.instagram.com/jessyluxe
✧ TIKTOK: https://www.tiktok.com/@jessyluxe
✧ TWITTER: https://twitter.com/luxejessy
✧ SOUNDCLOUD: https://soundcloud.com/jessyluxe
✧ SPOTIFY: https://open.spotify.com/user/x39pm9yrqj1nklvv9ptgvsd3d
﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍
Ok I know it took me 1000000 years to finally upload this but life has been really crazy for the past month ?
Some notes: I do this on dry hair! Not damp or wet. Also, you can tie a scarf around your head if you're scared it'll move while you're sleeping but I would only recommend this if absolutely necessary; it does reduce volume and I like big waves ?
How are you all holding up? I think I'd be fine if I could go to the gym but staying inside my apartment all day is making me feel really sluggish ? I hope you're all staying safe and healthy though!
Recently, I've been baking to relieve stress but it's actually becoming a problem ? my fridge is full of waffles, mochi, banana bread, and probably apple cobbler by tomorrow if I'm feeling sad enough lol...and I can't even give any of these to my friends anymore bc nobody's leaving the house!! I really am gonna be rolling out of quarantine huh ?
I'll probably film a chit chat GRWM soon! Please leave questions or topics you want me to talk about in the comments so it feels more like a conversation LOL I'm going insane ?
♡ xo
﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍
I N T H I S V I D E O
‹ use yesstyle code "JESSICA10" for $ off ›
HAIR ⁺
˖ Robe Belt from Double Dare OMG! Spa Robe Pink http://bit.ly/2RVyvaK
˖ Goody Women's Ouchless Elastics Hair Ties (Black, 2MM) https://amzn.to/33DClvG
˖ Velvet Scrunchie from a PR package (similar: https://bit.ly/2wtG2YO)
˖ Faux Fur Hair Tie (Gray) https://bit.ly/3dlmC98
˖ OUAI Soft Hair Spray (no longer available but another fav for me is the Tresemme TRES Two Hair Spray: https://bit.ly/2WH0dgJ)
WEARING ⁺
˖ DISCOSALON Letter-Printed Boxy Pullover Sweatshirt (Mint Green) https://bit.ly/2UqrDVa
˖ Purseka Sheer Turtleneck Long-Sleeve Top (Almond) https://bit.ly/39eR8OC
˖ Artemis Apollo Deon Earrings https://bit.ly/3djUljb
︾
T E C H
˖ CAMERA
Canon EOS Rebel T6i DSLR
https://amzn.to/2PcG1Mk
˖ LENS
EF-S 18-55mm IS STM Kit Lens
https://amzn.to/2P7wAxx
˖ EDITING PROGRAM
Final Cut Pro X 10.4.1
︾
M U S I C
˖ Qumu - Animal Crossing Bubblegum K.K. Remix https://youtu.be/1nomS1pYeZ0
﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍
? BUSINESS EMAIL: jessica@rare.global
FTC: Not sponsored ♡ Some links listed are affiliate links and some products used I received in PR („• ֊ •„)

do while c 在 ASMR BlueKatie Youtube 的評價
どうも!けいとです。平日や日曜日って次の日学校やお仕事があるから、ちゃんと寝なくちゃいけないのに夜更かししちゃう時ってありますよね。私は真夜中までNetflix見ててドキドキしすぎて寝れなくなっちゃう時がしばしばあります。。。そんな時は!!!この動画を見てぐっすり眠ってくださったら嬉しいです。あなたが明日また頑張れるよう応援しています。そしていつもありがとう☺みなさんの暖かい言葉は私の励みになっています。おやすみ??
たくさん載せてます!:TWITTER→https://twitter.com/ASMRBluekatie
INSTAGRAM →https://www.instagram.com/asmrbluekatie/
チャンネル登録よろしくね♪Please subscribe for more!
Hi guys its katie again :) On school days it's important to have enough sleep but I always end up watching netflix or youtube while pretending to do hw till midnight....And at the end I cant even fall asleep cause the netflix show was too exciting smh Do you guys have this too? Then here's the solution: with this video you can fall asleep in 30 min!! I put my fav triggers all together for YOU to have a good night sleep :) Thank you always for supporting me, it really means a lot ^^ Good night??
Please help me put subtitles on my videos! x
字幕をつけてくださる方がいればご協力よろしくおねがいします!
https://www.youtube.com/timedtext_cs_panel?tab=2&c=UCAZpHV_W-0lA4BJuorbn-FQ
パトロンPatreon, Thank you so so much for the support!! 応援本当にありがとうございます!:https://www.patreon.com/ASMRBluekatie
Discord ディスコード: https://discord.gg/xcJWfwn
End screen music by Sir. Dayo: https://www.youtube.com/watch?v=AOhBpkr_0g0
PLAYLIST 子守唄/Lullabies ASMR・音フェチ Singing you to sleep
https://www.youtube.com/playlist?list=PLTQjT2yvOmsWuWviuIXTkn996GMkUm4qa
音フェチ動画✨ASMR videos!!
https://www.youtube.com/playlist?list=PLTQjT2yvOmsUtvrv1SFhOj7C9bGVnf6W1
English ASMR videos✨
https://www.youtube.com/playlist?list=PLTQjT2yvOmsUzmK3KVpb6qRFlxPJduxA8
Subscribe! チャンネル登録よろしくです!
https://www.youtube.com/c/ASMRBlueKatie
#ASMR #音フェチ

do while c 在 新手c語言do...while - 軟體工程師板 - Dcard 的八卦
一直看不懂為什麼這個do...while迴圈有辦法做到輸入0繼續、輸入1就停止想知道while(replay)的意思,拜託各位dcard大神了- c語言,新手,請益,軟體, ... ... <看更多>
do while c 在 Re: [問題] do{...}while(..) - 看板C_and_CPP - 批踢踢實業坊 的八卦
※ 引述《wawaer398 (哇哈哈~)》之銘言:
: 開發平台(Platform): (Ex: VC++, GCC, Linux, ...)
: 突然想一個問題,我覺得很疑惑的
: 曾經不知在哪邊看過一段do..while的用法 如下
: do{
: ....
: .....
: }while(0)
: 這個不就是只做一次嗎??
: 為啥還要用do while包起來?
: 還是其中有什麼特別的含意嗎??
: @@?
: 推 falllian:有的Macro會用這個包起來 05/05 01:54
我看過的用法都是在 macro 裡面用的...
事情是這樣的
假設某個 macro 是這樣寫的
#define swapint(x,y) \
{ \
int temp; \
temp = x; \
x = y; \
y = temp; \
}
然後有段使用它的程式是這麼寫的:
if(condition)
swapint(a,b);
else
swapint(a,c);
一切看起來似乎都沒問題
但是 macro 展開之後變成這樣了:
if(condition)
{
int temp;
temp = a;
a = b;
b = temp;
};
else
{
int temp;
temp = a;
a = c;
c = temp;
};
因為 macro 展開會代換掉的地方只到 () 結束 ; 留下來了 所以變成這樣
但這個留下來的 ; 卻會造成 compile error
(compiler 會告訴你他不知道這個 else 是做什麼的
因為 compiler 把那個 ; 理解為一個空敘述
因此它會認為前面的 if 結束了 就向你抱怨說這個 else 不知道來做什麼)
要解決這個問題有兩種方法
一個是使用時別寫分號
但這樣一來這程式會變成
if(condition)
swapint(a,b)
else
swapint(a,c)
怎麼看怎麼彆扭
(只要是寫了一段時間的 C 的人
看到後面沒有 ; 的敘述大概總會有種衝動把 ; 加上去 XD)
另一種就是這種寫法:
#define swapint(x,y) \
do \
{ \
int temp; \
temp = x; \
x = y; \
y = temp; \
} while(0)
這樣在展開之後會變成
if(condition)
do
{
int temp;
temp = a;
a = b;
b = temp;
} while(0);
else
do
{
int temp;
temp = a;
a = c;
c = temp;
} while(0);
compiler 看起來就是 if(...) do{}while(0); else do{}while(0);
變成合法的敘述了
注意的是為了不讓同樣的事情再度發生
macro 定義裡的 while(0) 後面是沒有分號的
展開後的分號是上面提到過留下來的那個分號
--
也就是這是為了別讓 compiler 抱怨而出現的寫法
所以自從有了 inline 之後這種東西就漸漸消失了....
--
いああオレたちには見えてるモノがあるbデ きっと誰にも奪われないモノがあるはずさ
け 開口一番一虚一実跳梁跋扈形影相弔yュL羊頭狗肉東奔西走国士無双南柯之夢 歪も
ぶ 意味がないと思えるコトがある ラPきっとでも意図はそこに必ずある んの
く 依依恋恋空前絶後疾風怒濤有無相生 ラH急転直下物情騷然愚者一得相思相愛 だが
ろ 無意味じゃない ラ6あの意図が 恋た
で 有為転変死生有命蒼天已死黄天當立 !!6五里霧中解散宣言千錯万綜則天去私 のり
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.230.62
... <看更多>