ඩිවලොපර් ගැන්ග්

maticat

Well-known member
  • Jul 24, 2010
    1,766
    1,423
    113
    na man thama inne 02.front end developing wla.oya krnwda
    Programming in Python - 1. Python for Beginners -> 8. Assignment: Connect with the Industry මම මෙතන,

    ඔයා ඉන්නෙ Web Development - 1. Web Design for Beginners වෙන්න ඕන, මාත් පුලුවන් වෙලාවට ටික ටික කලා ආපහු පටන්ගන්න ඕන
     

    Outlook

    Well-known member
  • Jun 23, 2021
    647
    603
    93
    Programming in Python - 1. Python for Beginners -> 8. Assignment: Connect with the Industry මම මෙතන,

    ඔයා ඉන්නෙ Web Development - 1. Web Design for Beginners වෙන්න ඕන, මාත් පුලුවන් වෙලාවට ටික ටික කලා ආපහු පටන්ගන්න ඕන
    mama inne "Web Development - 2. Front-End Web Development" .beginner eka completed. python eka thama ptn gtte na
     
    Hello world
    Hello World වල ඉතිහාසය කොහොම ආවද දන්නෙ නැහැ. හැබැයි C වලදි මුලින්ම Hello World ලියන්න ගත්තා කියලා මම කොහේදි හරි අහලා තියෙනවා..
     
    • Like
    Reactions: Amith0424

    Reincarnator

    Well-known member
  • May 20, 2022
    12,630
    30,824
    113
    අපායෙ දොරකඩ
    Hello World වල ඉතිහාසය කොහොම ආවද දන්නෙ නැහැ. හැබැයි C වලදි මුලින්ම Hello World ලියන්න ගත්තා කියලා මම කොහේදි හරි අහලා තියෙනවා..

    The History of Hello World: A Brief Overview (*^_^*)
     

    Outlook

    Well-known member
  • Jun 23, 2021
    647
    603
    93
    Hello World වල ඉතිහාසය කොහොම ආවද දන්නෙ නැහැ. හැබැයි C වලදි මුලින්ම Hello World ලියන්න ගත්තා කියලා මම කොහේදි හරි අහලා තියෙනවා..

    The "Hello, World!" program is often considered one of the simplest and most basic programs that can be written in any programming language to demonstrate the syntax and basic functionality of that language. The origin of the phrase "Hello, World!" as a computer program can be traced back to at least the early 1970s.

    One of the earliest known instances of the "Hello, World!" program appeared in the book "A Tutorial Introduction to the Language B" by Brian Kernighan, which was published in 1973. The program was written in the B programming language and looked like this:

    main( ) { extrn a, b, c; putchar(a); putchar(b); putchar(c); putchar('!*n'); } a 'hell'; b 'o, w'; c 'orld';

    However, it was the book "The C Programming Language" by Brian Kernighan and Dennis Ritchie, published in 1978, that popularized the "Hello, World!" program in the C programming language.

    -ChatGPT:D
     
    • Love
    Reactions: Geshi95

    The "Hello, World!" program is often considered one of the simplest and most basic programs that can be written in any programming language to demonstrate the syntax and basic functionality of that language. The origin of the phrase "Hello, World!" as a computer program can be traced back to at least the early 1970s.

    One of the earliest known instances of the "Hello, World!" program appeared in the book "A Tutorial Introduction to the Language B" by Brian Kernighan, which was published in 1973. The program was written in the B programming language and looked like this:

    main( ) { extrn a, b, c; putchar(a); putchar(b); putchar(c); putchar('!*n'); } a 'hell'; b 'o, w'; c 'orld';

    However, it was the book "The C Programming Language" by Brian Kernighan and Dennis Ritchie, published in 1978, that popularized the "Hello, World!" program in the C programming language.

    -ChatGPT:D
    Law level languages වල Code කරද්දි high level languages වලට වඩා පොඩි interesting ගතියක් තියෙනවා නේද?
     

    priyade

    Well-known member
  • Dec 2, 2017
    10,557
    6,148
    113
    Law level languages වල Code කරද්දි high level languages වලට වඩා පොඩි interesting ගතියක් තියෙනවා නේද?
    Yes you need to know the registers, ALU, PC, and memory mappings and how to move bits and bytes thoroughly, still Voyager-1 technical staff use mechiine code and assembler to upload the programs with lowest kb possible
     
    Last edited:
    • Love
    Reactions: Geshi95

    marindi

    Well-known member
  • Jun 14, 2023
    1,120
    1,395
    113
    ඉස්සෙසේල්ලම Hello World ගහල රන් කොර අම්මේ කියන්න සන්තෝසයි Errors බරගානක් C වල . අර තඩි මොනිටර් තියෙන කළේ ගැහුවේ බලනකොට librarie 1k ka නම වැරදිලා import කරලා :baffled:
     
    • Like
    Reactions: Geshi95
    mata java vala inputs handle karana vidiya kiyala dennako kauru hari
    Java වලදි inputs ගන්න පුළුවන් ක්‍රම දෙකක් තියෙනවා mainly.

    1. Java GUI
    මේකෙදි java swing, java fx වගේ දෙයක් use කරලා inputs ගන්න පුළුවන්. ඒ කියුවෙ java libraries use කරලා අපිට පුළුවන් inputs ගන්න.

    උදාහරණයක් විදියට අපිට පුළුවන් textfields, buttons, .. etc use කරලා inputs ගන්න gui වලදි.

    2. Console එක use කරලා
    මේකෙදි ක්‍රම 4කට (මම දන්න තරමින්) අපිට inputs දෙන්න පුළුවන්.

    2.1 Using Scanner class
    2.2 BufferedReader
    2.3 Console class
    2.4 CommandLine Arguments
     
    • Love
    Reactions: Commex

    Commex

    Well-known member
  • Nov 29, 2019
    2,020
    1,588
    113
    Java වලදි inputs ගන්න පුළුවන් ක්‍රම දෙකක් තියෙනවා mainly.

    1. Java GUI
    මේකෙදි java swing, java fx වගේ දෙයක් use කරලා inputs ගන්න පුළුවන්. ඒ කියුවෙ java libraries use කරලා අපිට පුළුවන් inputs ගන්න.

    උදාහරණයක් විදියට අපිට පුළුවන් textfields, buttons, .. etc use කරලා inputs ගන්න gui වලදි.

    2. Console එක use කරලා
    මේකෙදි ක්‍රම 4කට (මම දන්න තරමින්) අපිට inputs දෙන්න පුළුවන්.

    2.1 Using Scanner class
    2.2 BufferedReader
    2.3 Console class
    2.4 CommandLine Arguments
    me anith tika ganth poddak pahadili karanwad
     

    SL MULTIMEDIA TUTORIAL

    Well-known member
  • Jul 27, 2020
    1,649
    6,966
    113
    United States
    Important sites that will help you

    Color sites:

    1. https://colorhunt.co
    2. https://klart.io
    3. https://color.adobe.com
    4. https://webkul.github.io
    5. https://pigment.shapefactory.co
    6. http://bit.ly/2Jam0Vu
    7. https://brandcolors.net
    8. https://webgradients.com
    9. https://colorleap.app/
    10. https://mycolor.space
    11. http://www.colorlisa.com/
    12. https://www.materialpalette.com/
    13. https://javier.xyz/cohesive-colors/
    14. https://www.colorinspire.io/

    Photo sites:

    1. https://unsplash.com/
    2. https://www.pexels.com/
    3. https://pixabay.com/
    4. https://stocksnap.io/
    5. https://burst.shopify.com/
    6. https://www.reshot.com/
    7. https://foodiesfeed.com/
    8. https://www.gratisography.com/
    9. http://freestocks.org/
    10. http://www.lifeofpix.com/
    11. http://skitterphoto.com/
    12. https://www.maxpixel.net/
    13. https://picjumbo.com/
    14. http://littlevisuals.co/
    15. http://nos.twnsnd.co/
    16. https://magdeleine.co/browse/
    17. https://freephotos.cc/
    18. https://startupstockphotos.com

    Photo sites without background:

    1. https://www.kisspng.com
    2. http://pngimg.com/
    3. https://www.footyrenders.com/
    4. https://pngtree.com/
    5. https://www.freepngimg.com/
    6. https://www.pngfly.com/
    7. http://www.pngplay.com/
    8. https://www.stickpng.com/
    9. http://www.pngall.com/
    10. https://www.freepngs.com/
    11. http://www.pngmart.com/

    Video sites

    1. https://mixkit.co
    2. https://coverr.co
    3. https://www.motionplaces.com
    4. https://www.videezy.com/
    5. https://www.videvo.net/
    6. https://pixabay.com/videos/
    7. https://videos.pexels.com/
    8. https://www.cutestockfootage.com/
    9. http://www.movietools.info/
    10. https://www.monzoom.com

    inspiration sites

    1. https://www.inspirationde.com
    2. https://www.designspiration.net
    3. https://www.pinterest.com
    4. https://dribbble.com
    5. https://theinspirationgrid.com
    6. https://thedesigninspiration.com
    7. https://www.behance.net
    8. https://www.awwwards.com/websites
    9. https://onepagelove.com

    Logo inspiration sites
    1. https://www.logomoose.com
    2. https://logopond.com
    3. https://www.logolounge.com
    4. http://logofaves.com
    5. http://www.logotalkz.com
    6. http://logospire.com

    User experience inspiration sites and apps

    1. https://inspired-ui.com
    2. https://www.calltoidea.com
    3. https://www.mobile-patterns.com
    4. https://www.uplabs.com
    5. https://www.lovelyui.com
    6. https://www.iosicongallery.com
    7. https://ugarage.net
    Sites for downloading MOOCs
    1. https://mockupsforfree.com/
    2. https://www.mockupworld.co
    3. https://graphicburger.com
    4. https://zippypixels.com
    5. https://www.pixeden.com
    6. https://freebiesbug.com
    7. https://psdrepo.com
    8. https://mockups-design.com
    9. https://medialoot.com/free-mockups/
    10. https://barnimages.com
    11. https://themockup.club
    12. https://barnimages.com/freebies/
    13. https://www.ls.graphics/free
    File download sites
    1. https://www.freepik.com
    2. https://all-free-download.com
    3. https://www.vecteezy.com
    4. https://365psd.com
    5. https://www.1001freedownloads.com
    6. https://freebiesbug.com
    8. https://www.graphicsfuel.com

    brush download sites

    1. https://www.brushking.eu/
    2. https://www.brusheezy.com/brushes
    3. https://myphotoshopbrushes.com/
    4. https://fbrushes.com/
    5. http://gfxfever.com/photoshop-brushes
    6. http://getbrushes.com/
    7. http://www.brushesdownload.com/
    8. https://www.chezplumeau.com
    9. http://wowbrushes.com/
    11. https://www.brush-photoshop.fr/

    Icon download sites

    1. https://www.flaticon.com
    2. https://freeicons.io
    3. https://iconstore.co
    4. https://www.iconfinder.com
    5. https://digitalnomadicons.com
    6. https://iconstore.co
    7. https://simpleicons.org
    8. https://icon-icons.com
    9. https://iconsvg.xyz
    10. https://polaris-icons.shopify.com
    11. https://www.xicons.co
    12. https://ionicons.com
    13. https://www.toicon.com
    14. https://icons8.com
    15. https://icomoon.io
    16. https://iconscout.com
    17. http://animaticons.co

    Sites to download vector logos

    1. https://seeklogo.com
    2. http://logovector.net
    3. http://logotypes101.com
    4. http://logos-vector.com
    5. https://worldvectorlogo.com
    6. https://brandsofttheworld.com/

    Sites to download Arabic fonts

    1. https://arbfonts.com
    2. https://www.fontface.me
    3. https://fonts.google.com
    4. https://brushez.com
    5. https://www.fontspace.com

    English font download sites
    1. https://www.dafont.com/
    2. https://www.1001fonts.com/
    3. https://www.fontsquirrel.com/
    4. https://www.fontfreak.com/fonts-new.htm
    5. https://www.acidfonts.com

    + Good luck to all ❤️
     
    Important sites that will help you

    Color sites:

    1. https://colorhunt.co
    2. https://klart.io
    3. https://color.adobe.com
    4. https://webkul.github.io
    5. https://pigment.shapefactory.co
    6. http://bit.ly/2Jam0Vu
    7. https://brandcolors.net
    8. https://webgradients.com
    9. https://colorleap.app/
    10. https://mycolor.space
    11. http://www.colorlisa.com/
    12. https://www.materialpalette.com/
    13. https://javier.xyz/cohesive-colors/
    14. https://www.colorinspire.io/

    Photo sites:

    1. https://unsplash.com/
    2. https://www.pexels.com/
    3. https://pixabay.com/
    4. https://stocksnap.io/
    5. https://burst.shopify.com/
    6. https://www.reshot.com/
    7. https://foodiesfeed.com/
    8. https://www.gratisography.com/
    9. http://freestocks.org/
    10. http://www.lifeofpix.com/
    11. http://skitterphoto.com/
    12. https://www.maxpixel.net/
    13. https://picjumbo.com/
    14. http://littlevisuals.co/
    15. http://nos.twnsnd.co/
    16. https://magdeleine.co/browse/
    17. https://freephotos.cc/
    18. https://startupstockphotos.com

    Photo sites without background:

    1. https://www.kisspng.com
    2. http://pngimg.com/
    3. https://www.footyrenders.com/
    4. https://pngtree.com/
    5. https://www.freepngimg.com/
    6. https://www.pngfly.com/
    7. http://www.pngplay.com/
    8. https://www.stickpng.com/
    9. http://www.pngall.com/
    10. https://www.freepngs.com/
    11. http://www.pngmart.com/

    Video sites

    1. https://mixkit.co
    2. https://coverr.co
    3. https://www.motionplaces.com
    4. https://www.videezy.com/
    5. https://www.videvo.net/
    6. https://pixabay.com/videos/
    7. https://videos.pexels.com/
    8. https://www.cutestockfootage.com/
    9. http://www.movietools.info/
    10. https://www.monzoom.com

    inspiration sites

    1. https://www.inspirationde.com
    2. https://www.designspiration.net
    3. https://www.pinterest.com
    4. https://dribbble.com
    5. https://theinspirationgrid.com
    6. https://thedesigninspiration.com
    7. https://www.behance.net
    8. https://www.awwwards.com/websites
    9. https://onepagelove.com

    Logo inspiration sites
    1. https://www.logomoose.com
    2. https://logopond.com
    3. https://www.logolounge.com
    4. http://logofaves.com
    5. http://www.logotalkz.com
    6. http://logospire.com

    User experience inspiration sites and apps

    1. https://inspired-ui.com
    2. https://www.calltoidea.com
    3. https://www.mobile-patterns.com
    4. https://www.uplabs.com
    5. https://www.lovelyui.com
    6. https://www.iosicongallery.com
    7. https://ugarage.net
    Sites for downloading MOOCs
    1. https://mockupsforfree.com/
    2. https://www.mockupworld.co
    3. https://graphicburger.com
    4. https://zippypixels.com
    5. https://www.pixeden.com
    6. https://freebiesbug.com
    7. https://psdrepo.com
    8. https://mockups-design.com
    9. https://medialoot.com/free-mockups/
    10. https://barnimages.com
    11. https://themockup.club
    12. https://barnimages.com/freebies/
    13. https://www.ls.graphics/free
    File download sites
    1. https://www.freepik.com
    2. https://all-free-download.com
    3. https://www.vecteezy.com
    4. https://365psd.com
    5. https://www.1001freedownloads.com
    6. https://freebiesbug.com
    8. https://www.graphicsfuel.com

    brush download sites

    1. https://www.brushking.eu/
    2. https://www.brusheezy.com/brushes
    3. https://myphotoshopbrushes.com/
    4. https://fbrushes.com/
    5. http://gfxfever.com/photoshop-brushes
    6. http://getbrushes.com/
    7. http://www.brushesdownload.com/
    8. https://www.chezplumeau.com
    9. http://wowbrushes.com/
    11. https://www.brush-photoshop.fr/

    Icon download sites

    1. https://www.flaticon.com
    2. https://freeicons.io
    3. https://iconstore.co
    4. https://www.iconfinder.com
    5. https://digitalnomadicons.com
    6. https://iconstore.co
    7. https://simpleicons.org
    8. https://icon-icons.com
    9. https://iconsvg.xyz
    10. https://polaris-icons.shopify.com
    11. https://www.xicons.co
    12. https://ionicons.com
    13. https://www.toicon.com
    14. https://icons8.com
    15. https://icomoon.io
    16. https://iconscout.com
    17. http://animaticons.co

    Sites to download vector logos

    1. https://seeklogo.com
    2. http://logovector.net
    3. http://logotypes101.com
    4. http://logos-vector.com
    5. https://worldvectorlogo.com
    6. https://brandsofttheworld.com/

    Sites to download Arabic fonts

    1. https://arbfonts.com
    2. https://www.fontface.me
    3. https://fonts.google.com
    4. https://brushez.com
    5. https://www.fontspace.com

    English font download sites
    1. https://www.dafont.com/
    2. https://www.1001fonts.com/
    3. https://www.fontsquirrel.com/
    4. https://www.fontfreak.com/fonts-new.htm
    5. https://www.acidfonts.com

    + Good luck to all ❤️
    Thanks :)
     
    me anith tika ganth poddak pahadili karanwad
    2.1 Using Scanner Class
    Scanner class එක use කරන්න නම්, මුලින්ම ඒක import කරගන්න ඕනෙ. ඊට පස්සෙ class එකේ නමින් object එකක් හදලා අපිට inputs ගන්න පුලුවන්.

    Java:
    import java.util.Scanner;
    public class Demo {
        public static void main(String[] args) {
            //create Scanner object to read user input
            Scanner sc = new Scanner(System.in);
    
            System.out.print("Enter your name: ");
            //read a String input from the console
            String name = sc.nextLine();
    
            System.out.print("Enter your age: ");
            //read an int input from the console
            int age = sc.nextInt();
    
            System.out.print("Your name is " + name + " and you are " + age + " years old.");
        }
    }

    String inputs ගන්න nextLine(); සහ next(); කියන දෙකම use කරන්න පුළුවන්. හැබැයි වෙනසක් තියෙනවා. next(); දුන්නොත් ඔයා input කරන පලවෙනි වචනෙ විතරයි read කරන්නෙ. උදාහරණයක් විදියට ඔයා John Doe කියලා input කරොත් read වෙන්නෙ John විතරයි. nextLine(); දුන්නම එහෙම නෑ John Doe කියලම read කරනවා.

    ඔයාට int එකක් input කරන්න ඕනෙ නම් nextInt() double නම් nextDouble() වගේ අනිත් data types වලටත් use කරන්න පුළුවන්.

    අනිත් ඒවත් ටික ටික දාන්නම්.. කම්මැලියි අනේ type කරන්න. :sorry: මේක ඉතින් basic idea එක. ප්‍රශ්න එහෙම තිබුනොත් අහන්න. දන්න දෙයක් නම් කියන්නම්. :)
     
    • Like
    Reactions: maticat