Search In This Website

Minggu, 26 Juni 2022

Lima Tipe Data Dasar Bahasa C

No Tipe Data Ukuran Range (Jangkauan) Format Keterangan
1 char 1 byte - 128 s/d 127 %c Karakter/string
2 int 2 byte - 32768 s/d 32767 %i , %d Integer/bilangan bulat
3 float 4 byte - 3.4E-38 s/d 3.4E+38 %f Float/bilangan pecahan
4 double 8 byte - 1.7E-308 s/d 1.7+308 %lf Pecahan presisi ganda
5 void 0 byte - - Tidak bertipe

Related Topics:

Pengenalan Bahasa Pemrograman C++

Compile and run C/C++ code using Notepad++

Topik tentang C++

Karakter Pembentuk Program C atau Program C++

Fungsi Menu Pada Microsoft Word 1

C Programming Language Basic Terms 1

Garis

Rumus Matematika Bilangan Bulat

Kamus Ipa 1

Compile and run C/C++ code using Notepad++

 

MinGW

For compiling and running using MinGW:

npp_save
cd "$(CURRENT_DIRECTORY)"
gcc -o "$(NAME_PART).exe" "$(FULL_CURRENT_PATH)"
"$(NAME_PART).exe"

Microsoft Visual C

For compiling and running using Visual C 2019:

npp_save
cd "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build"
vcvarsall.bat x64 && cl "$(FULL_CURRENT_PATH)" /Fo$(CURRENT_DIRECTORY)\ /link /out:"$(CURRENT_DIRECTORY)\$(NAME_PART).exe"
cd $(CURRENT_DIRECTORY)
"$(NAME_PART).exe"

More info on Visual C vcvars scripts: https://docs.microsoft.com/

Turbo C++

For compiling and running using Turbo C++:
npp_save
cd "c:\tc\bin\TCC.exe" 
"$(CURRENT_DIRECTORY)\$(NAME_PART).cpp"
cd $(CURRENT_DIRECTORY)
"$(NAME_PART).exe"

Borland C++

For compiling and running using Borland C++: 
cd "C:\BORLAND\BCC55 "$(CURRENT_DIRECTORY)\$(NAME_PART).cpp"
cd $(CURRENT_DIRECTORY)
"$(NAME_PART).exe"

NOTES:

install NPP_Exec plugin first

Styling Code with Astyle (Notepad++ Plugin)


 

Astyle ( http://astyle.sourceforge.net/ ) is a tool for formatting the style of your code (  for C, C++, C++/CLI, Objective-C, C#, and Java Source Code ). Install Astyle through the use of the Artistic Style Plugin For Notepad++.

Installation

  1. Download NppAStyle.7z (which includes the NppAStyle.dll) from Release NppAStyle.
  2. Copy the NppAStyle.dll to (Notepad++ installation directory)\plugins.

    The (Notepad++ installation directory or not portable) is the folder in which you installed Notepad++. The default location is:

    C:\Program Files (x86)\Notepad++

  3. Restart Notepad++.

    The NppAStyle menu will appear in the Plugins menu.

Applying Settings

  1. Download the style setting file to an easy to find place like the Desktop or Downloads folder.
    1. Open the link and download as you need: https://github.com/ywx/NppAStyle
    2. Found an ini file ( *.ini )
    3. Select Save link as...
    4. Save to the Desktop of Downloads folder if prompted
  2. Open the NppAStyle Options dialog.
    Plugins > NppAStyle > Options
    
  3. Press the Import button.
  4. In the file dialog, find the downloaded file and press the Open button.
  5. Press the OK button

Running AStyle

You can now automatically style your code using the AStyle plugin.

  1. Open the file to style.
  2. Use the following set of menu commands or press the keys Alt-Z.
    Plugins > NppAStyle > Format Code 

For Notepad++ portable user:

  • download AStyle from  Astyle.
  • copy AStyle first to (Notepad++ copy directory)\plugins.
  • I try in Notepad++ portable.

<< back to Learn Notepad++

Bibliography:

https://community.notepad-plus-plus.org/ ( official community )

https://www.techpout.com/

https://www.tienle.com/

text editor, apps, programmer editor, program, software, computer application

Related Topics:

Notepad++ Menu 1

Menu File Notepad++

File > New : digunakan untuk membuat file baru.

File > Open : digunakan untuk membuka file.

File > Open Containing Folder > Explorer : digunakan untuk membuka folder dari file yang dibuka pada windows explorer. (Hanya ada di beberapa versi Notepad++)

File > Open Folder as Workspace : digunakan untuk membuka folder sebagai workspace sehingga setiap daftar folder dan isinya akan tampil dalam notepad++. (Hanya ada di beberapa versi Notepad++)

File > Reload from disk : digunakan untuk membuka kembali file sebelum diubah dari file yang sudah disimpan. (Hanya ada di beberapa versi Notepad++)

File > Load Session : Untuk menampilkan sesi Notepad++ yang berisi beberapa file.

File > Save Session : Untuk meyimpan sesi Notepad++ yang berisi beberapa file.


Notes 
To see more clear screenshot, click on the picture.
 
<< back to Learn Notepad++



Notepad++ (Text Editor), notepad plus plus, notepad++ menu bar, notepad++ menu item, notepad++ menu command

Related Topics:

Daftar Kursus dengan menghubungi: Tentang Kursus Komputer dan Bimbingan Belajar

Kamis, 23 Juni 2022

Pinyin Tone Marks

Pinyin Tone Marks atau Nada dalam bahasa Mandarin

  A
a1=ā
a2=á
a3=ǎ
a4=à
a5=a


i

i1=ī
i2=í
i3=ǐ
i4=ì
i5=i


u

u1=ū
u2=ú
u3=ǔ
u4=ù
u5=u


e

e1=ē
e2=é
e3=ě
e4=è
e5=e


o

o1=ō
o2=ó
o3=ǒ
o4=ò
o5=o


To learn language accent mark in several languages, click Language Accent Mark >


< back to Study Chinese Language 1


Related Post

Chinese Lesson Terms 1

Bopomofo - Chinese input

Rabu, 22 Juni 2022

Font - font umum di komputer

Font - font umum di komputer:
    font Arial di Microsoft Windows
    font Arial Black di Microsoft Windows
    font Calibri di Microsoft Windows
    font Tahoma di Microsoft Windows
    font Cooper Black di Adobe
    font Rockwell di Corel

Jenis font berdasarkan typeface:

  • font Arial adalah font Sans Serif.
  • font Arial Black adalah font Sans Serif.
  • font Calibri adalah font Sans Serif.
  • font Tahoma adalah font Sans Serif.
  • font Cooper Black adalah font bold Serif.
  • font Rockwell adalah font Slab serif.

Bibliography:

https://fontesk.com/

https://freefontsfamily.net/

https://www.fontsquirrel.com/


Posting Terkait:

Font Simbol Matematika Di Microsoft Word 1

Font for Math

 

Minggu, 19 Juni 2022

Winrar Right Click menu

 

Add Missing WinRAR Entry In The Right-Click Context Menu

Sometimes, WinRAR entry in the right-click context menu disappears even if you have installed WinRAR without any problem. This is annoying as you need to open the WinRAR program from the Start menu to extract archived files. Fix: WinRAR entries missing from the context menu
entries don’t show up (like Extract files, Extract Here, and Convert archive), you need to follow the below procedure to restore those entries. The solution is simple.


Step 1: Open WinRAR or WinRAR.exe file to launch WinRAR. (or run the program with admin rights.)

Step 2: Click the Options menu and then click the Settings option to open the Settings dialog.

Step 3: Here, switch to the Integration tab.

Step 4: Check the option named Integrate WinRAR into shell, and click the OK button. If the Integrate WinRAR into Shell option is already selected, deselect it, click OK, select it again and then click the OK button. Also, make sure that file types are selected in the Associate WinRAR with section. You might need to reboot your PC or restart Windows Explorer to see WinRAR in the context menu.