15,551 Topics
| |
Ever since we started broadcasting professional races internationally, we've been getting complaints about how we only display speeds in kilometers per hour. In order to accomodate our international audiences, we're going to start adding more speed units to our broadcast! Namely: miles per hour, meters per second and yards per … | |
I am trying to make a simple HTTP/HTTPS service discovery in C. For this app i use `pthread` as there is no other better cross platform options for this, but i get some strange errors. **PROBLEM1 : thread_submit has do be dynamically modified at the run time. Right now it … | |
When I try to install webview2 package from nuget I get this output: Retrieving package 'Microsoft.Web.WebView2 1.0.1418.22' from 'nuget.org'. Adding package 'Microsoft.Web.WebView2.1.0.1418.22' to folder 'C:\Users\pc\Desktop\VS 2015 projects\dbtest\packages' Added package 'Microsoft.Web.WebView2.1.0.1418.22' to folder 'C:\Users\pc\Desktop\VS 2015 projects\dbtest\packages' Install failed. Rolling back... Package 'Microsoft.Web.WebView2.1.0.1418.22' does not exist in project 'webview2' Removing package 'Microsoft.Web.WebView2.1.0.1418.22' … | |
Create a menu driven program that has the following menus 1. Get number 2. Determine if Number is Even or Odd 3. Determine if number is positive or negative 4. Determine how many digits are in a number 5. Exit You must create the following functions 1. Display menu: This … | |
I have written code to append, prepend and update a linked list using c++. But I am unable to figure out the problem. Can anyone help me to run it. I will be grateful for the favor. The code is pasted below: #include<iostream> using namespace std; class node { public: … | |
A small airline has just purchased a computer for its new automated reservations system. You have been asked to develop the new system. You’re to write an application to assign seats on each flight of the airline’s only plane (the capacity of the plane is 10 seats of the same … | |
I want to remove elements from struct array. I have tried many different versions of my remove()function, but no of them work. This last deletes the element that user spcified and copies onther element to its place. in main() i have n=remove(a,n) int remove(Vegies a[], int n){ int i,input,j; while(1){ … | |
Pseudocode that read elements of array in column wise arrangement | |
find the sum of numbers until the number itself, the factorial of the number, and the ratio of the factorial to the sum with 1 fractional number. by using functions in the C language. For example, if the student enters 10, the program should display: The sum of numbers until … | |
How can I write in C++ a code in which a user select multiple similar names from a list of names. | |
| This questions contains probability and I dont know how to work with it in Java import numpy import random def cup_game(): cashprice = [0.5, 1.0 , 2.0 , 5.0] n_turn = numpy.random.randint(5,11) n_mult = numpy.random.randint(3,6) cups = list(range(0,15)) x = numpy.random.choice(cashprice, 15, p=[0.3, 0.4, 0.2, 0.1]) x = list(x) turn … |
// Texture segmentation using Uniform Local Binary Pattern #include<iostream> #include<stdio.h> #include<conio.h> #include<malloc.h> #include<math.h> struct cluster { /* data */ float i[10]; float cumi[10]; int memcount; }; //variable declaration unsigned char **allocateMem(int,int); void applyKmeans(unsigned char **,int,int, unsigned char **); void calculateTexturevector(unsigned char **, int,int,float *); void initializecluster(unsigned char **, struct * … | |
For a given array of integers, reach to the end of the array from the 0th index with minimum number of moves. Moves possible at each index: Move from index i to index (i+1) Move from index i to index (i-1) Move from index i to index j, if a[i] … | |
Does someone know how to download a file in c++? A simple way. i just need it to download and save it to a specific directory. | |
I came across this [article](https://developer.ibm.com/articles/messaging-protocols/) from IBM. It states that a **protocol** describes the **format of the bytes** that are transferred over the wire. > A protocol is sometimes referred to as the wire protocol, and it describes the format of the bytes that are transferred over the wire, and … | |
I am a novice in assembler programing, I will will appreciate if someone could review these NASM assembler code for me. Is about encoder decoder. The encoder performs the following: 1. pads the shellcode with NOP opcodes so it is 4 bytes aligned 2. a random byte is generated for … | |
Can you guys help me to convert this C++ to C https://padlet.com/aimannafis12333/el9ytegudkw69o8e | |
The program below is written in **C** and is used to convert numbers to words. These operations are beneficial during the development of word processing applications. The program takes the **input** file that contains the number and **outputs** the results in an output file. Let me know if you find … | |
The program below is written in C and creates a structure that holds the values of a text editor. This structure is beneficial during the development of text editor applications. Let me know if you find the code below helpful and if you have any additional suggestions: /*----------------------------------------------------------- * Description: … | |
The program below is written in C and creates a stack that holds the values of a maze. This structure is beneficial during the development of a desktop game that uses a maze. Let me know if you find the code below helpful and if you have any additional suggestions: | |
The program below is written in C and is used to perform fast number operations. These operations are beneficial during the development of spreadsheet applications. Let me know if you find the code below helpful and if you have any additional suggestions: | |
Write a menu driven c program to create an integer array and populate it with some data. Then perform the following operations with user choice: a) Insert an element at beginning, at end, at any position of the array. b) Delete an element at beginning, from end, from a given … | |
Hey guys I managed to get some code what works fine but it uses console application I have tried to convert it by hand and change things around to get it to work but with no avail! I'm certain it should be simple but I may be wrong :( Thanks … | |
Which programming language does PHP resemble? Please tell me | |
i am unable solve the error in my program | |
Jaluh is making a room inventory in the Hostel where she is working. They have 16 rooms labelled as A-P. She is doing this manually that it will consume more time. Make a program that will automatically be identified if the room is taken or not. An array code.. ANYONE … | |
How to open a web page in the background after hiding the browser window in C language | |
Hi … wen I launch turbo c window for the first time it opens only status window… can someone help me on tis | |
Guys can you help me with this pls. I need a C program that read a binary file and search the word "MALWARE" in the file. If there is "MALWARE" then prints out its offset value. Output should be like: "MALWARE" expression found in address location 4096. | |
Hi, I'm new here and pretty new to c++ and programming in general. During one of my first excercises I tried to work with classes but I don't know how to output an class object in another class. Here is my Code with the text in [] (Circle.cpp) where I'm … |
The End.