49,755 Topics

Member Avatar for
Member Avatar for din_hilmi

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 …

Member Avatar for Aditya_47
0
44K
Member Avatar for jsrankin

Been programming more than half my life and been in industry for over a decade.

Member Avatar for Reverend Jim
0
47
Member Avatar for Tierra

#include <iostream> using std::cin; using std::cout; using std::endl; using std::ios; #include <iomanip> using std::fixed; using std::setw; using std::setprecision; using std::showpoint; int main() { const int PEOPLE = 5; const int PRODUCTS = 6; int sales[5][6]={{1},{2},{3},{4}}; double value; double totalSales; double productSales[ PRODUCTS ] = { 0.0 }; int salesPerson; int …

Member Avatar for Adnane_2
0
15K
Member Avatar for arunsolo1984

How to fix the following error? NewBie **Error creating textual authentication agent: Error opening current controlling terminal for the process (`/dev/tty'): No such device or address (polkit-error-quark, 0) httpd,reload=yes,status=0**

Member Avatar for rproffitt
0
39
Member Avatar for dember

1. Create an array of integers and initialize/assign random values to each element. 2. Allow the user to input an integer. 3. If the user input is present inside the array elements, display/print its index number, if not display/print "VALUE NOT FOUND" I appreciate if you would help thanks. I …

Member Avatar for rproffitt
0
26
Member Avatar for iamsaadmasood8

Two double data fields named width and height that specify the width and height of the rectangle. The default values are 1 for both width and height. - A string data field named color that specifies the color of a rectangle. Hypothetically, assume that all rectangles have the same color. …

Member Avatar for rproffitt
0
53
Member Avatar for m25chris
Member Avatar for Nissim

I am a real-time programmer, currently working for Proprio - a small medical device start-up. I work with C++, C# and Python on Windows.

Member Avatar for rproffitt
0
24
Member Avatar for TheBeast32

Hi, how would I use mouse_event to simulate the mouse wheel? I can only do clicks. [Code=C++] void Left_Click(const long x, const long y) { mouse_event(MOUSEEVENTF_LEFTDOWN, x, y, 0, 0); mouse_event(MOUSEEVENTF_LEFTUP,x,y,0,0); } void Right_Click(const long x, const long y) { mouse_event(MOUSEEVENTF_RIGHTDOWN, x, y, 0, 0); mouse_event(MOUSEEVENTF_RIGHTUP, x, y, 0, 0); …

Member Avatar for Oliver _2
1
518
Member Avatar for xkngxjkrx

I just want to learn how this works and how I will use to build my own games/apps

Member Avatar for Dani
0
30
Member Avatar for Harry cruise

A grayscale digital image is a two-dimensional raster image in which the picture elements, or pixels, store a single value representing a shade of gray that varies from black to white. In a discrete grayscale image, the shades of gray are represented by integer values in the range [0 to …

Member Avatar for Schol-R-LEA
0
305
Member Avatar for safiullah786

Can anyone help me please! I want the source code for this program.!! Tomorrow is last date of submitting C++ PROJECT. I want the source code for this program.!! **Airline Reservations System** A small airline has just purchased a computer for its new automated reservations system. You have been asked …

Member Avatar for Dani
-1
310
Member Avatar for Linda_15

I work in IT as a UNIX Systems engineer and I am studying towards a BSc IT degree.

Member Avatar for jwenting
0
78
Member Avatar for SKCOMPUTERS
Member Avatar for Ahsaan
Member Avatar for Alexandra Karen

I was wondering if someone can create the printer with raspberry pi ? Will pay the price for the costs of labor, materials, etc. or maybe you can recommend someone to make it? Like this https://exciting.io/2012/04/12/hello-printer/

Member Avatar for rproffitt
0
30
Member Avatar for 22Usama190

Write a class template that inputs the index of the array and displays the value in the specified index

Member Avatar for Schol-R-LEA
0
58
Member Avatar for Julia P.

HI!! How can I create an automatic numerical progression from 0 to 500,000 in html? The code I was given is this: <p><span style="font-family: Calibri, sans-serif;"><span style="text-shadow: rgba(255, 255, 255, 0.8) 0px 3px 2px;"><sup>437</sup></span></span></p> how can i make the code progressive and automatic every three minutes? The progression I have …

Member Avatar for jedimatt
0
108
Member Avatar for Muhamad_7

When ever run this program, I can't get the total price right and I tried it so many times but failed. Can anyone help me where or how to fix this mistake. This is my mini project for my assessment :(. using namespace std; int main () { char name …

Member Avatar for Schol-R-LEA
0
125
Member Avatar for Philip00

does anyone have any sources that can help me understand how to create a dev environment in tfs? currently we have a production environment only and we need to build a branch off of that without ruining the existing code

Member Avatar for rproffitt
0
32
Member Avatar for 13_503_Etiraz I

# Importing import sklearn from sklearn.datasets import load_boston import pandas as pd import matplotlib.pyplot as plt # Load the dataset bos_hou = load_boston() # Create the dataframe column_name = bos_hou.feature_names df_boston = pd.DataFrame(bos_hou.data) df_boston.columns = column_name df_boston.head()

Member Avatar for rproffitt
0
48
Member Avatar for stampaprints
Member Avatar for pritaeas
0
31
Member Avatar for Jawad_12

Hey, I want to make a program in which I will find the **index** of word and **count** how many words there in a txt file using c++.

Member Avatar for rproffitt
0
42
Member Avatar for DUNCAN_4

Define a class Pairs with two integer data members, f and s, where f represents the first value in the ordered pair and s represents the second value in an ordered pair. Objects of type Pairs can be used in any situation where ordered pairs are needed. This class has: …

Member Avatar for Schol-R-LEA
0
102
Member Avatar for حسين_8
Member Avatar for rproffitt
0
21
Member Avatar for Sheeza Arshad

Write a C++ program to ask user to input last two day’s temperature for two different cities. Then your program must be capable of displaying user data. This program functionality can be performed in many different ways but you are directed to do it using multidimensional arrays.

Member Avatar for Dani
0
59
Member Avatar for Amin_15

create a C++ program,. The information that you are dealing with is serial number, name of stationary item, company of stationary item, price and flag to know whether stationary item is . First you need to create a menu which has the following options 1. Add new stationary item in …

Member Avatar for rproffitt
0
19
Member Avatar for joseph_59
Member Avatar for Cristical
Member Avatar for drewd66

The End.