You can use ChatGPT to easily switch programming languages

Original link: https://justyy.com/archives/63252

ChatGPT is the hottest technology this year, artificial intelligence AI, but to be honest, it is AGI, which is Artificial General Intelligence. ChatGPT can be used for many things, and I recently discovered that it can be used to convert programming languages. For example, if I want to learn a new language, I can use ChatGPT to convert existing programs into a new programming language. Or learn a new programming language on Likou.

In the following example, after the ChatGPT conversion, I can run it directly on Liqun and pass all the test cases .

programming-language-conversion-via-chatgpt-agi 可以用ChatGPT来轻松转换编程语言 ChatGPT (OpenAI) 人工智能 (AI) 程序设计 资讯 软件工程

Let ChatGPT help me convert a C++ program into PHP

There are many conversion tools between different languages ​​on the Internet. I believe it is not simple to implement. But now with ChatGPT, a general artificial intelligence, it is possible to implement conversion tools between different languages ​​with a UI front end, and the conversion logic is complete. You don’t need to implement it yourself, just call ChatGPT’s API.

English: Programming Language Conversion Tool based on ChatGPT AI

What can ChatGPT be used for?

ChatGPT General Artificial Intelligence

There are 303 Chinese characters in this article. Can you count them correctly?

You can use ChatGPT to easily switch programming languages . ( AMP mobile accelerated version )

Scan the QR code and share this article to WeChat Moments

75a5a60b9cac61e5c8c71a96e17f2d9c 可以用ChatGPT来轻松转换编程语言 ChatGPT (OpenAI) 人工智能 (AI) 程序设计 资讯 软件工程

The post You can use ChatGPT to easily switch programming languages ​​first appeared on Xiao Laizi’s British Life and Information .

related articles:

  1. Mortgage Loan (House Loan, Car Loan) Monthly Loan Repayment Calculator Last year, I borrowed 170,000 pounds from the bank to buy a house worth 207,500 pounds, and I paid it off in 25 years. The first 2 years were fixed rate contracts (annual interest rate 2.49% ). The monthly repayment is probably more than 700 pounds. There are many ways to calculate the loan repayment, and fixed rate/monthly fixed is the more commonly used. To put it simply, the monthly payment is…
  2. What kind of wife are you looking for? Criteria for finding a wife Yesterday, I had an interview with a netizen in Cambridge. The netizen discovered that he came from Ireland and was 12 years younger than me, so we talked about the criteria for finding a wife. TLDR; Don’t (only) find a wife. Look at appearance, but focus on more important qualities such as personality, dealing with people and taking care of the family. Of course, sexual harmony is also very important. In today’s society, people have different standards for finding a partner. Some people think that appearance is the most important, Because physical attractiveness can make people feel happy in daily life, it is human nature,…
  3. Smartphone HTC One M9 Usage Review Although I don’t have high requirements for mobile phones, far from pursuing a VPS server, I have changed four mobile phones in two years. First, I used a Samsung S4 for more than a year, and then a Nokia Lumia 635 Windows Phone, and later BLU, was replaced more than half a year ago…
  4. Transfers to overseas Alipay accounts through Wise were returned because they were not bound to domestic bank cards. Send money domestically through Wise accounts – no handling fee for the first time – convenient and fast! Every year during the holidays, I transfer some money to my family. Because I don’t have a domestic bank card, I can only transfer money to my family’s Alipay or bank card account. I have used Western Union in the past few years. The advantage is that you don’t need to know the bank account number of the domestic payee (just have the payee and phone number). The speed is also very fast, but the fee is relatively expensive. After looking at the records, I found that for the first time in 2007 (16 years ago), I sent 3,046 RMB to my family through Western Union. My impression at the time was 200 pounds, which was an exchange rate of 1:15. In the past few years, you have to go directly to the counter of a British bank (RBS Royal Bank, Natwest, and HSBC HSBC) to remit pounds to a domestic bank card. You need an IBAN/BIC international bank card number. The fee ranges from 30 to 50 pounds and requires 2- It varies from 5 days. The exchange rate isn’t the best either. I have been using Wise/Transferwise for the past two years. It is very fast, the price is OK, the fee is 1%, and the exchange rate is moderate. I tried to transfer it to my overseas Alipay account. I applied for an overseas Alipay account a few years ago. I don’t have a domestic bank card, but it works fine. I can send and receive money through the Alipay account. However, the money sent from Wise is an overseas remittance, so you need to set up a payment method, which means you need to bind a domestic bank card. Unfortunately, I didn’t have it, I didn’t deserve it, so the money was refunded in about 24 hours. For example, I have been overseas all year round and have not lived in China, so I cannot apply for a domestic bank card. Without a bank card, many things are very inconvenient. I feel that it is not very safe to put money on my overseas Alipay. Send money domestically through your Wise account – no handling fee for the first time – convenient and fast! This article contains a total of 534 Chinese characters,…
  5. ChatGPT-4 uses the Math Wolfram plug-in to solve mathematical brain teasers. In this article, we look at a simple mathematical problem (brain teaser) and solve it with Python. Let’s take a look at LLM (Large Language Model): ChatGPT3.5 and ChatGPT4 . With a ChatGPT-Plus subscription (currently $20 per month + VAT), we can enable…
  6. I finally played Final Fantasy 7-Remake on the Steam platform. Tifa and Aerith are so beautiful. Not long ago, the HPZ800 server I had used for 7 years died in the garage. Then I felt that the small computer NUC was too slow, so I decided to I bought another Microsoft Surface Studio Laptop. This computer is really fast. It comes with a built-in independent graphics card. It’s great to play DOTA2+ with the fishtail screen. I bought Final Fantasy 7-Remake for £69.99 on the STEAM platform. Final Fantasy VII – Remake…
  7. SteemIt Advanced Customized Wechat Article List RSS/API/Reader v2.0 The Advanced Wechat Group Posts Feed/API/Reader v2.0 Abstract: I have added five parameters to the…
  8. Start a business with a Telegram bot: Inspire your innovative ideas . Recently, bots on the Telegram chat software have become popular. Because they are very powerful, many ideas can be realized on it, and you can even start a business. Start a business with a Telegram bot: Inspire your innovative ideas digitally. The times have opened up countless opportunities for entrepreneurs around the world, and one of the most fascinating is the rise of chatbots. With billions of people using instant messaging apps every day, there is no better platform for you to start your business. Journey: A platform that has won the interest and trust of millions of people, Telegram. Among its many features, Telegram offers a unique tool, that is the chatbot,…

This article is reproduced from: https://justyy.com/archives/63252
This site is only for collection, and the copyright belongs to the original author.