51,592 Topics

Member Avatar for
Member Avatar for Mindmade
Member Avatar for seth_yu

[Click Here](https://github.com/codecat/catsight) Thank you very much if you can provide compiled Windows binaries or converted VS projects that are preferred

Member Avatar for rproffitt
0
182
Member Avatar for ᴇXᴄᴀLɪʙ

1. Declare an enumeration type consisting of the 8 planets in their order by distance from the Sun (Mercury first then Sun to the last planet). 2. Write a value-returning function that converts a planet of the enumeration type declared in Exercise 1 into the corresponding string. The planet is …

Member Avatar for Fifth Horseman
-1
136
Member Avatar for 143wena

im a first year student of computer science course. our teacher teach us c++ program and i cant understand it well.now my teacher want us to make a menu system or payroll system.. the format she teach us is like this 1.) write a program that will accept users input …

Member Avatar for Aldrin_3
0
696
Member Avatar for sepehrsarfaraz
Member Avatar for morrisavendano

CTO, Associate Professor, SwEngineer, Psychologist, Consultant, Public Speaker, Researcher, and Volunteer.

Member Avatar for Akira350lth
0
43
Member Avatar for jtoddmessage
Member Avatar for Fabeha

Hi!I've recently started programming in C++ and C language.I've also started learning python.

Member Avatar for Reverend Jim
0
22
Member Avatar for Billa_1

I am tasked with Integrating Servicenow with Docusign for sending Mutual NDA for digital signature. This is to be achieved through a request item. Does anyone know how to do that. I have tried ServiceNow Community and it has a cryptic answers. I am new to restful integrations and have …

Member Avatar for pritaeas
0
43
Member Avatar for docdj

I have an MFC dialog app with several Text controls. All but controls get filled in with *UpdateData* at dialog initialization via calls like: *DDX_Control(pDX, IDC_MY_STATIC, MyText );* . Next, the user checkmarks a checkbox and the ON_ function for the checkbox gets control, running several functions. One of those …

Member Avatar for rproffitt
0
54
Member Avatar for sophi19
Member Avatar for michealkunle
Member Avatar for bravomorris9
0
28
Member Avatar for priya1717

1 I have an array of char but values is decimal representation of a character. example: char bytes[4]={50,48,49,51} how to convert this to get char array like this: char bytes1[4]={2,0,1,3} c

Member Avatar for toneewa
0
130
Member Avatar for Sky_

3. Using repetition control structure (do while loop), prepare a program that can receive employee id and working hour(s) for three (3) employees. The program able to: i. calculate Overtime Payment using formula Overtime = Working hours * 35.00 for each employee ii. calculate Total Overtime Payment for all employees …

Member Avatar for dwellfox
0
156
Member Avatar for Ahmed_217

I need a c++ program that is able to determine whether or not a given array is sorted in ascending or descending order. then after that the program should reverse the direction of order

Member Avatar for toneewa
0
72
Member Avatar for Angélica_7

H! I need to calculate the mean of the coverages of two types of particles that could be trapped on a square surface. They are particle #1 and particle #2. Such averages are taken after certain number of steps, for example, every 10 Monte Carlo steps, and considering a number …

Member Avatar for toneewa
1
136
Member Avatar for Kyoto_1

This is a simple zombie survival game, i need to have finished by tomorrow, and I am having multiple problems with vectors being out of range. I also need to change some stuff into classes and make inheritances. I have tried fixing the problems but no success so far and …

Member Avatar for toneewa
0
139
Member Avatar for Vawana

Write a program that gives and takes advice on program writing. The program starts by writing a piece of advice to the screen and asking the user to type in a different piece of advice. The program then ends. The next person to run the program receives the advice given …

Member Avatar for Wadoster
0
109
Member Avatar for QMLab

I'm glad to join this community. My interest is deep learning for audio research.

Member Avatar for Dani
0
19
Member Avatar for shmoop

I have this https://imgur.com/a/SMqlcgF multiplexer and I have to make a program to get the truth table. How would I do this? I honeslty am so lost.

Member Avatar for rproffitt
0
195
Member Avatar for Filiphos Eyoel
Member Avatar for Rita_13

PR A PROGRAM IS REQUIRED TO READ FROM THE SCREEN THE LENGTH AND WIDTH FROM THE SCREEN THE LENGTH AND WIDTH OF A RECTANGULAR HOUSE BLOCK AND THE LENGTH AND WIDTH IF THE RECTANGULAR HOUSE THAT HAS BEEN BUILT ON THE BLOCK.THE ALGORITHM SHOULD THEN COMPUTE QND DISPLAY THE MOWING …

Member Avatar for Dani
-1
56
Member Avatar for tiffani

Hey, guys~~ I have some questions about CSP Is simple hill-climbing a complete algorithm for solving CSPs? and if a CSP is only with unary constraints, is it sure to be solved? Thank you^~^!

Member Avatar for Dani
0
117
Member Avatar for vegaseat

Things don't have to be black and white all the time. Use a Windows API call to add some color to your text output.

Member Avatar for Dani
2
75K
Member Avatar for johnmichae1

Finding seasoned programmers who are willing to work remotely might be challenging. It is possible to find them on websites such as Toptal, which is an amazing alternative. Only the top three percent of applicants who complete successfully pass the rigorous screening procedure required by Toptal software engineers. The people …

Member Avatar for Dani
-1
112
Member Avatar for Austin_7

Below is the code I have, and the output is below that. It all seems right, but I don't want it to print out the 0's if they appear in the output. How do I do that? #include <iostream> #include <iomanip> using namespace std; int main() { double moneyOwed = …

Member Avatar for TradeLabelSoft
0
4K
Member Avatar for zahoual
Member Avatar for gil.nickson

hi, please help me how can i convert this C++ code to C source code ... please help ..... this is the URL http://cppforschool.com/project/super-market-billing.html i dont understand this though please help ... :(((((((

Member Avatar for f200196
1
39K
Member Avatar for John Ramil

i have an airline ticketing project and i cant figure it out, i need to take the name and age of passengers and depending on their ages they will get a discount (2% for 13 below and vat exemption + 20% discount for 60 above) and also the prices changes …

Member Avatar for Skillz_1
0
111
Member Avatar for Ingmar_1

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' …

Member Avatar for rproffitt
0
225
Member Avatar for imhim45

Hello..... Where I am wrong in this program. I am getting declaration syntax error. #include<iostream.h> #include<conio.h> int factorial(int) int main() {clrscr(); int n,r,nr,fn,fr,fnr; int ncr; cout<<"/n Enter n and r = "; cin>>n>>r; fn=factorial(n); fr=factorial(r); nr=n-r; fnr=factorial(nr); ncr=fn/(fr*fnr); cout<<"/n nCr ="<<n<<" C "<<r<<" = "<<ncr<<endl; getch(); return 0; } Thanx

Member Avatar for Deathstr0k3
0
3K
Member Avatar for isyae

can someone help me to do the friend function, i already do a coding a bit but i dont know how to continue. so i attached the instruction for referring ![Screenshot_(250).png](https://static.daniweb.com/attachments/4/8efada89fc4adfcd6daad821f8c48933.png) #include<iostream> using namespace std; class studInfo{ private: string name; int matric; public : studInfo(){ matric=0; } ~studInfo(){ } void …

0
43
Member Avatar for Husnain_6

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: …

Member Avatar for Reverend Jim
0
162
Member Avatar for nouran_2

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 …

Member Avatar for rproffitt
0
112
Member Avatar for carolwangu2002

HOW TO CREATE MARIO GAME USING C++.IT SHOULD HAVE A USECASE AND CLASS DIAGRAM ,THE PROGRAM SHOULD HAVE CLASSES ,POLYMOPHISM ,OBSTRACTION & ENCOPSULATION

Member Avatar for Dani
-1
97
Member Avatar for Uzo J

How would you write this into pseudo code #include<cstdio> #include<cstdlib> #include<iostream> using namespace std; int main(int nNumberofArgs, char* pszArgs[]) //variables string var, var1; float cm, mile, kilometer, inch, meter, AU, fahrenheit, celsius, foot, quit, i; //program i = 1; while (i <= 1000000000) cout << "Enter the starting unit. For …

Member Avatar for Reverend Jim
1
79
Member Avatar for A_m_i_n
Member Avatar for atn016

Write the class definition for a class named Employee. The class should include data members for an employee object's name and salary (the salary will be an integer). The class should contain two member functions: the constructor and a function that allows a program to assign values to the data …

Member Avatar for Muhammad Usama_2
0
529
Member Avatar for frctl

I have pasted my cpp code below, my goal is removing the whitespace from my .txt file. Is someone able to provide suggestions and help me figure this out? #include <iostream> #include <sstream> using namespace std; string solve(string s) { string answer = "", temp; stringstream ss; ss << s; …

Member Avatar for hes8
0
164
Member Avatar for Zelflyn

Declare a single dimension array of size n input n elements to a single dimension array Sort the elements of an array from highest to lowest and vice versa Also, the program will identify and output the highest and lowest integer.

Member Avatar for Dani
0
36
Member Avatar for Martin_53

How can I write in C++ a code in which a user select multiple similar names from a list of names.

Member Avatar for rproffitt
0
101
Member Avatar for humblepi3

Repo: https://github.com/Charles-CarM/Battleship I am currently building my battleship console application in C#. I have prior experience building projects with Vanilla JS and in React. I went through a tutorial on C# and could grasp most of the concepts pretty well. I have jumped into project building because I know this …

Member Avatar for humblepi3
0
270
Member Avatar for Mallika_1

// 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 * …

Member Avatar for Maria_36
0
59
Member Avatar for Kate_12

Can someone please give me tips on how to accomplish generating a random number within a random range. See 'roll_dice' #include <iostream> #include <limits> #include <ctime> #include <iomanip> #include <cstdlib> using namespace std; using std::cout; using std::cin; struct Sanity { unsigned int turns = std::numeric_limits<int>::max(); unsigned int sanity = std::numeric_limits<int>::max(); …

Member Avatar for Schol-R-LEA
0
274
Member Avatar for darshanghorpade

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] …

Member Avatar for Fifth Horseman
0
203
Member Avatar for Christian_50
Member Avatar for Afonso_1

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.

Member Avatar for Dani
0
2K
Member Avatar for Quoc_4

I have a question. do we have any function in C++ to get back the previous value while running the program? For Example: First Name: Anthony Last Name: john Gender: the pointer is at the Gender value right now soo is there any way to get back up at the …

Member Avatar for toneewa
0
83
Member Avatar for kazmi9527

There are 6 bit operations: 7 P "@ 3 D5 Q '] &And operation 5 J5 W: I! o% L/ ] |Or operation ^Exclusive or operation! {$ V2 U b; h. Y- ?8 p" e ~Non operation (complement) >>Shift right operation < < left shift operation - r, S _! …

0
76
Member Avatar for Ben_913

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 …

Member Avatar for Dani
0
119

The End.