49,761 Topics

Member Avatar for
Member Avatar for MZ

Q. A number system is a way to represent numbers. The number system that we use in our day-to-day life is the decimal number system. Decimal number system has base 10 as it uses 10 digits from 0 to 9. In decimal number system, the successive positions to the left …

Member Avatar for rproffitt
0
129
Member Avatar for Jin En

I need help with random generation of circuit, i have no idea on how to write c++ program to generate random circuit. The following specifications must met: 1) Total number of resistors in the circuit is between 3 and 8. 2) The circuit network layout is restricted only to the …

Member Avatar for rproffitt
0
124
Member Avatar for Dipesh_6

Hi, This is my first time using vectors. I'm trying to print some data that is stored in a structure vector but whenever the code gets to printing the data which is in double loop it crashes. I have located the error but i am ensure how to resolve it. …

Member Avatar for tinstaafl
0
130
Member Avatar for huwwaris

Hello Everyone , I have a Project at university to create term and polynomial class then calculate 2 derivatives I really need help for neccessery I have already started but I couldnt countinue , Hope to help ! Thanks .. Note:The following attatchment contains project Details

Member Avatar for mapsonyllaer
0
372
Member Avatar for mr.matrix251
Member Avatar for rproffitt
0
122
Member Avatar for Derkarol

Hi, guys i am trying to create a String in the Windows Registry to imput some nice Proxy Adress. But i failed to input the correct datatype. I do not have any problems with Type (DWORD)... But (REG_SZ) has not work. Can someone tell me how can i input in …

Member Avatar for Derkarol
0
2K
Member Avatar for Demetrius

[COLOR=Indigo]Hey I'm pretty new to C++. I'm taking a class on it now but I don't know how to make sounds in C++... I've done QBasic so I have a little programming background. I'm right now thinking of what to do for a program, and it largely depends on if …

Member Avatar for k191376
0
15K
Member Avatar for Ana_13

Hello! I need urgently to convert this code in C. Please help meee https://www.geeksforgeeks.org/prims-algorithm-using-priority_queue-stl/amp/ Thanks!!

Member Avatar for rproffitt
0
99
Member Avatar for Lev_3

Hello people! :) I'm quite new in the programming world. I'm really interested in programming from the time I found that there's coming a game called Hytale, and **I would love to be able to make mods for it**. So basically I have a book that should introduce me to …

Member Avatar for hussainmujtaba
0
921
Member Avatar for Dipesh_6

Hi, I made this game in c++ but i have some issues when i ask player if they want to play again. i want the game to reset when they press y but keep their bankbalance from previous game. here is the pastebin link: https://pastebin.com/pmhVKwxF sorry if the code is …

0
121
Member Avatar for esyah

the error is at the curly brace under void main() line 28 can some one help me...pleasee #include <iomanip> #include <curses.h> #include <stdlib.h> #include <fstream> #include <iomanip> #include <cmath> using namespace std; //nonvoid function int main() { } float Final_pt(float GP_work,float GP_exam,int Eval) { float Grade_n, Grade; if(Eval==1) Grade_n = …

Member Avatar for Reverend Jim
0
119
Member Avatar for TIffany_2

#include<iostream> #include<conio.h> //using namespace std; int main() { char name[30], pizza1[]="Chicken Fazita" ,pizza2[]="Chicken Bar BQ" ,pizza3[]="Peri Peri" ,pizza4[]="Creamy Max", roll1[]="Chicken Chatni Roll", roll2[]="Chicken Mayo Roll", roll3[]="Veg Roll With Fries",bur1[]="Zinger Burger",bur2[]="Chicken Burger",bur3[]="Beef Burger"; char sand1[]="Club Sandwich", sand2[]="Chicken Crispy Sandwich", sand3[]="Extream Veg Sandwich"; char bir1[]="Chicken Biryani", bir2[]="Prawn Biryani", bir3[]="Beef Biryani",gotostart ; int …

Member Avatar for tinstaafl
0
473
Member Avatar for Tim_22

I have an issue within my program where it sas the struct I have created is not initialized. Any suggestions? The lab I am working on is Write a program to help a local restaurant automate its breakfast billing system. The program should do the following: Show the customer the …

Member Avatar for tinstaafl
0
608
Member Avatar for Jiwe

Hi everyone! I created a Sudoku game and want to share it with all of you so you can tell me what'y think about it :). I've got 1 year of C++ experience. Game is based on coordinates to put the numbers. --------------------------- List of Commands: --------------------------- When asked to …

Member Avatar for Dwi_3
0
3K
Member Avatar for TransKim

Help me find the solution to this task in C programming Write a function: int solution(int A[], int N); that, given an array A of N integers, returns the smallest positive integer (greater than 0) that does not occur in A. For example, given A = [1, 3, 6, 4, …

Member Avatar for JamesCherrill
-1
138
Member Avatar for Saba_6

Hi, I am getting erros in coverting the following C++ code to C language. Also what is the alternative of #include<bits/stdc++.h> library in C language? // C++ Implementation to find the // XOR of the two Binary Strings #include<bits/stdc++.h> using namespace std; // Function to find the // XOR of …

0
109
Member Avatar for medsibouh

hello guys I'm trying to make a code that return the name of the flight that has the most total number of passengers from a file : Alitalia Rome 180 Alitalia Pisa 82 Germanwings Munich 96 Germanwings Frankfurt 163 NorwegianAir Bergen 202 Wizzair London 184 Wizzair Frankfurt 83 Wizzair Lisbon …

Member Avatar for Reverend Jim
0
870
Member Avatar for adsanimenerd

Sorry if there is bad formatting, but this is my first post. I am trying to use a copy constructor to copy the list in LinkedList and then show that they are the same in the copy using the display() function. My problem is that when I try to populate …

Member Avatar for tinstaafl
0
162
Member Avatar for tinstaafl

There are times when you need to make sure your counter starts at an odd or even number. Even is pretty simple - `counter = counter + modulus(counter)`. If counter is even it stays, if it's odd it gets incremented by 1. Odd is a bit more complicated - `counter …

Member Avatar for holisticgroup19
3
4K
Member Avatar for Samuel_33

Hello guys, I am currently working on an insurance management system and i need help on how to use files and on how to create an admin side since I am new to this. Thank you

Member Avatar for Reverend Jim
0
204
Member Avatar for sanidhyaraj18

i am unable to do c++ turtle programmingin in my netbeans ide how can i configure it to do so.please help or tell any other methods for this

Member Avatar for JamesCherrill
0
125
Member Avatar for Hu99.Kappa
Member Avatar for Henry Williams

My name is Henry, and I started programming about 10 years ago. I always loved playing video games, even from a young age. That passion eventually turned into something much more. Learning programming languages is very popular at the moment. A lot of people leave their current workplaces to learn …

Member Avatar for JamesCherrill
0
301
Member Avatar for Abardean

Hi all I need assistance with the below code snippit. It calculates how many of salaries entered exceeds R100 000 or how many is below. With the below entries the lower count totals to 4 instead of 5. What am I doing wrong? Still new to this so please excude …

Member Avatar for Reverend Jim
0
217
Member Avatar for codiene bryant

Hello, I am writing this code to allow for a menu based banking system application. Part of the assignment was to check for input validation of the file I would like to open. In this case the user inputs their "customer id" which is stored as "custid" and then this …

Member Avatar for tinstaafl
0
269
Member Avatar for Abardean

Hi all I need assistance with the below code snippit. It calculates how many of salaries entered exceeds R100 000 or how many is below. With the below entries the lower count totals to 4 instead of 3. What am I doing wrong? Still new to this so please excude …

Member Avatar for Reverend Jim
0
204
Member Avatar for Shafayet92

Print a full line of C++ string array, if use gives the 1st name. Example: string X[10]={"Muhamad Husin, A123456", "Nor Asma, A155743", "Raja Kumar, A18723", "Muhamad Ali, A123908", "Ali Shah, A145234", "Siti Sarah, A120945", "Siti kahadijah, A154237", "Syed Azman, A276456", "Chong Wei, A156278"}; User will input "Nor"; Print the full …

0
119
Member Avatar for robotnixon

I have a funny feeling this is a stupid question so bear with me. I'm passing a string array to a function to search for elements in it. I have what is written below, and all it does is print "Not Found" five times. I'd also like it to print …

Member Avatar for Shafayet92
0
5K
Member Avatar for Solomon_1

Apostle “Kojo Safo” popularly known as “KANTANKA (KTA)” is one of the renowned entrepreneurs in Ghana. He manufactures cars, agriculture light and heavy duty machinery just to mention a few. His products have attracted many investors both local and foreign. However, sales of his manufactured cars in particular, have seen …

Member Avatar for Solomon_1
-1
287
Member Avatar for codiene bryant

I am doing this program for a cs class. I am trying to create menu based system that will allow the user to input the number that corresponds to the option they want to choose. Then based on that option they will input their customer id (this is a banking …

Member Avatar for dexblack_1
0
405

The End.