861 Recommended Topics
Remove Filter | |
## Introduction ## With coroutines in Kotlin, we are able to execute suspending functions without blocking the current thread. By default, most coroutine builder functions use the `Dispatchers.Default` context, but it is also possible to use other implementations of `CoroutineContext`. In this tutorial, we will learn about the 2 `CoroutineDispatchers`: … Software Development multithreading | |
Hi pals, I am a Newbie in C++ Programming field. I plan to add graphics.h header class in Dev -C++ Version 4.9.9.2 from Bloodshed which is come along with Borland Compiler. I follow the Steps in URL : [url]http://www.uniqueness-template.com/devcpp/#step2[/url] But I Got Error in the Sample code which test the … Software Development c++ | |
Just started learning PEP/8 what would the correct way to convert numbers into roman numericals? for exemple How can input let say 6 and have it come out as VI in the output? I know what i did is far from being the correct way to do things as i … Software Development assembly | |
## Introduction ## Although not included in the headlines, the release of JDK 17 also added 3 sets of new methods to the class `java.lang.Process`: 1. `inputReader()` to read from stdout. 2. `inputWriter()` to write to stdin. 3. `errorReader()` to read from stderr. In this tutorial, we are going to … Software Development cybersecurity java python | |
## Introduction ## When working with an application with a global user base, there is usually a need to display text, numbers, currency, date, and time in multiple localized formats. For example, the **en-US** (*English-USA*) version of the date September 22, 2021 is written as 22 сентября 2021 г. when … | |
Hello everyone, I've been using this website and it has helped me with it's hundred of solved cases, but I couldn't find one appropriate for this one. I have created a Menu() function that looks like this: [CODE=C]int Menu() { int i; printf("MENU\n\n"); printf("1 - ...\n"); printf("2 - ...\n"); printf("3 … Software Development c | |
Hey guys, I want to Know is there any way to get sum of numbers which entered in single textbox in VB6 as a example; i have textbox named txt1 in that user can type any value (12+23+34+12....) (separate the values by adding "+").when the user click the command button, … Software Development visual-basic | |
can anyone help me to make an app | |
#include<iostream> #include<conio.h> using namespace std; struct marks{ int phy[10]; int math[10]; int chem[10]; }; int main(){ struct marks m[20]; int i,n; cout<<"Enter the number of students : " << endl; cin >>n; for(i=0;i<n;i++){ cout<<"\nEnter Physics marks: " << endl; cin >> m[i].phy; [error here] cout<<"\nEnter Maths marks : "<< endl; … | |
I am sketching the architecture for a set of programs that share various interrelated objects stored in a database. I want one of the programs to act as a service which provides a higher level interface for operations on these objects, and the other programs to access the objects through … | |
Good afternoon guys, I am reaching out for help on C++. I just started the semester taking the Computer programming 1 at my college which is taught in C++. I am working on a chapter project qusetion and I feel lost on how to achieve the solution using the basic … Software Development c++ | |
**Requires:** 1. Python version 3.8 or newer 2. wxPython version 4.0 or newer 3. exif module 4. Windows with NTFS file system To ensure you have the required packages please run the following 1. python -m pip install --upgrade pip 2. pip install exif 3. pip install wxPython I have … Software Development python | |
## Introduction ## In Java 8, `@Repeatable` was introduced and this is the recommended way to create repeating annotations. We still have to create a holder Annotation(*annotation that holds an array of other annotations*), but we no longer have to declare the holder Annotation at the callsite. This tutorial aims … Software Development java | |
I need an end user license agreement for code shared amongst my home projects with other developers. The EULA needs to include a "pay to the order of x" clause, and also needs to include the ability for me to utilze the code at multiple companies that I could participate … | |
I'm not very good at Python as you can tell from my earlier posts. I'm trying to write a payroll program that gets the input from the user of how many hours worked and the hourly rate and calculates the total wages for the week. It also has to figure … Software Development python | |
How can I change my program's icon for anyone who uses the program? Obviously I would have to include the .ico file with it, but beyond that, I'm stumped. Software Development c++ | |
Hi everyone, I've been researching various python libraries to extract data from pdf files. Currently, I'm exploring PyMuPDF After installing it, I try to run a basic script to get the number of pages in the pdf file. However, the following runtime error occurs. File "/usr/local/apps/PyMuPDF-1.18.17/fitz/fitz.py", line 1281 def is_rectangular(self) … Software Development python | |
I want to make several of my textbox.text properties equal to variables. I tried: Dim outcome As New txtResult.Text outcome = "xxxxx" this produced an error. :( first, is this possible and if it is, what am I doing wrong??? Software Development vb.net | |
## Introduction ## Before Java 8, methods had to throw an exception or return `null`, with neither of which approaches were perfect. Optional, OptionalInt, OptionalLong, and OptionalDouble were introduced in Java 8 to represent values that might possibly be `null`. Optionals have two internal states, **empty** or **present**. An Optional … Software Development java | |
## Introduction ## There are many ways to design secure Java objects. In this tutorial, we are going to learn how to create secure Java objects by understanding **Accessibility**, **Extensibility**, and **Immutability**. ## Goals ## At the end of this tutorial, you would have learned: 1. Understand how and why … Software Development cybersecurity java | |
## Introduction ## Java 15 introduced Text Blocks. The main reason behind Text Blocks is that programmers can write multiline strings without having to specify escapes for the most common scenarios. ## Goals ## At the end of this tutorial, you would have learned: 1. How to store multiline String … Software Development java | |
Hi guys I can't seem to get a new line in a [CODE]JOptionPane.showMessageDialog(null, " ");[/CODE] statement. I try the /n command, but it still doesn't seem to work. Is there any way I can get a paragraph in a dialog box like this? Thanks. Software Development java | |
Years ago I wrote a program in Fortran for a structural analysis class. At the time I had very little programming experience and mottled my way through the assignment. Fast forward to now and I'm attempting to teach myself Python 3. I figured I'd would try to convert the old … Software Development matrix-multiplication python | |
I'm supposed to make a menu with choices, the choices being different kinds of java syntax. import java.util.*; public class Start { public void menu() { System.out.println("[1] If\n[2] If else\n[3] For loop\n[4] Switch Statement\n[5] One dimension"); System.out.print("Select program: "); } public void backend() { System.out.println("[9] Menu\n[0] Quit"); Scanner q = … Software Development java | |
Hi All, Good Day. Is there any sample code in JAVA for generating encrypted block PIN in the similar fashion as the Hardware Security Module Regards, Sagar Software Development java | |
A program A class has Random number of students.... They took an exam and got random scores from 1 to 100. Write to the console: the number of students in the classes The number of students that passed (above 70) The number of students that got average scores (between 50 … Software Development asp.net | |
hello, i'm newbie here and also in programming world. so I would to request help from pros here. my question is, how to print out number entered in random in ascending order WITHOUT USING ARRAY AND FUNCTION? let say the user key in 4, 56, 31, 90, 11 and the … Software Development c++ | |
## Introduction ## In this tutorial, we will focus on how to manage IO permissions to read, write, and delete local files using the `SecurityManager` class. ## Goals ## At the end of this tutorial, you would have learned: 1. What policy files are and how to use them. 2. … Software Development cybersecurity java | |
# Comparing two videos side by side I have been creating walk-through videos on the cheap by just wandering through an area with my little Sony camera. Lacking a steady-cam I just try to hold the camera as steady as possible. Fortunately, with the proper (free) tools I can still … | |
I just started learning Python Last Night and I am curious of how to put a pause at the end. I did the Famous Hello World Program and when saved and Executed it seems like it runs and closes before I can even read the text. I tried raw_input("Press ENTER … Software Development python |
The End.