49,761 Topics

Member Avatar for
Member Avatar for V3N0M

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 …

Member Avatar for rproffitt
0
174
Member Avatar for Chinmay_4

#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; …

Member Avatar for Schol-R-LEA
2
102
Member Avatar for MagnusTheRed90

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 …

Member Avatar for Dani
1
52
Member Avatar for Shubham_29

Create a class date with day, month and year as its members, Accept the date from the user and display it. Overload the increment and decrement operators for displaying the next and previous date for the given date

Member Avatar for rproffitt
0
35
Member Avatar for Firestone

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.

Member Avatar for Amina_6
0
892
Member Avatar for LeafBulba

I am just learning C++. I haven't made any games with SFML or anything like that. Just wondering whether SFML would be easy for a newbie like me. I am planning on using it after I finish learncpp.com. I am currently at the header guards section right now. Also, what …

Member Avatar for rproffitt
1
35
Member Avatar for LeNewbiee

We are tasked to simulate a simple printing queue, where users take turn at printing their files/documents. We just need to put each of user's name, ID, and number of pages and then output the queue in the program. We need to do it by using Queue with Array. So …

Member Avatar for rproffitt
0
51
Member Avatar for emmamark

(Jumble word program) (plz guys help me to make this program) user enter few characters randomly, then press enter, (your program stores 50 names of your class fellows) if by rearranging your entered characters it matches to the names stored, then it will show it, otherwise it will show that …

Member Avatar for rproffitt
0
29
Member Avatar for Priya_37

Write a program for the below mentioned question. Create three variables : a,b & c In the code, assign them some random integer values. Print the three numbers in ascending order, separated by commas. For example: Let a =1, b= 5, c= 2. Output = 1,2,5

Member Avatar for Schol-R-LEA
0
54
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
40
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
524
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
311
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
31
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
109
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
127
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

The End.