Jump to content
newbie288

Run Coding C++ Using Notepad And Cmd

Recommended Posts

salam..

hi all otai C++..

ade sape2 tau x nk create coding C++ at notepad n output kua at cmd??

pls help n do indicate the command at cmd...

blurred...

thanks in advance...

jasamu dikenang..

Share this post


Link to post
Share on other sites

step dia

  1. tulis kod dalam notepad
  2. save format .cpp pastu pastikan pilih all file yang dekat file type tu
  3. jalankan command prompt, pergi ke tempat fail disimpan tadi
  4. run compiler dgn parameter dia, contoh: g++ hello.cpp -o hello
  5. run hasil kompilasi tadi
  6. lihat output

Share this post


Link to post
Share on other sites

lecturer kau suruh camtu ke? apasal dah ada VC++ kena type kat notepad and compile melalui command prompt? Pelik2 laa sukatan zaman sekarang nie. Apasal tak reflect ngan perubahan semasa.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...