49,761 Topics
| |
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 … | |
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 … | |
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. … | |
| 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 |
a) Write MARIE code to: 1. Input a number and store it in X . 2. Y will be equal to “ | |
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 … | |
[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 … | |
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!! | |
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 … | |
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 … | |
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 = … | |
#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 … | |
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 … | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 | |
![unknown.png](/attachments/large/4/2b1e92f91b55c8fd50f89ee45bbf4ca3.png) | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.