49,757 Topics
| |
Hi guys! I am currently using c++ and I wanted to start doing basics of a game with oop. And I thought MGT would be good. So, the problem is idk where to start with. I'm planning to use only Land, Creature, Enchantment and, Sorcery cards. so is there any … | |
[You may use arrays] Credit Card Number Validation Payment card usage in Egypt is on a steady rise. According to the CBE report there are over 22 million active debit and credit cards in Egypt. This means that vendors accepting payments through these cards need to have a way of … | |
Hello, looking for help in implementing a game. I don't know if anyone is familiar with it. No Third Libraries allowed. I've been on it for 3 weeks and I've been getting a lot of errors. Researching everything and looking for all the help I can get. Keep in mind … | |
In this function you have to display the current time and date of your system. You can use built-in functions and/or pre-processor directives for this purpose. Your output should be in the following order 1) Day 2) Date 3) Month 4) Year 5) Hour 6) Minute 7) Seconds Note: … | |
| |
Q.No2 Write a C++ program which ❼ take two 4 × 4 matrices and add them ❼ aske user whether to add or subtract or exit ❼ do as directed Note: The program must keep on running unless the user chose exit option. | |
i want java mcq. i need help in java | |
Consider the following implementation of the node and doubly linked-list: Extend the class doubly_linked_list by adding the following methods: *Largest method .This method should return the largest element in a doubly linked-list. *Delete method. This method should delete the first occurrence of an element (value) from a doubly linked-list. template … | |
Construct a program in C++ to calculate a net selling price of a car from variety of models. The requirement of the program are: a. The program should be developed according to object oriented programming language which contain: i. A class with a proper naming convention. ii. A constructor with … | |
Write a program that sorts an array of integers using pointers. in c+++ | |
Write C++ Function named “ReverseIt” in which use enter a number, program reverse it and display reversed number on the console | |
Plz make it for me I tried but I can't solution it ?? | |
Hi! When I am running this code, the output looks how I expected it to be, but the problem is that I cannot go back to home page whenever I want to. I dont know why but when I tried to go back to home page after visiting the tips … | |
I am currently creating a Hangman program using Object oriented programming in C++. I tested my words class and it runs perfectly with a sample main that I was using. The classes that I need help with are Hangman and HangmanConsole. I am not sure what to do to get … | |
: Mining Temperature Data The highs and lows of the 3 first weeks of 2020 temperature data are available on a piece paper and we have decided to store them in a three-dimensional array in which the first index represents the 3 first weeks of the year, and take the … | |
using recursion, write a c++ function findlargestNode() which returns the largest node in a bst | |
Implement a class for vehicleType with data members "int YearModel, int speed and make (of type string or charll)". With following member functions; - Constructor with parameter, receiving "YearModel and make" and initialize other data members with ZERO. - int GetYearModel() const; - int GetSpeed( const; - string GetMake() const; … | |
What are the byte values of basic data types : char , int , long , long long, float, double.?(using sizeof() )? | |
I have a variable called **arrayForStudents**. it has 5 columns you can see how should it be applied from line 51 to line 63 code block but I am getting trouble how should I add the value as simple as interting values in the database. I need help using System; … | |
I am making a tic tac toe game, and have completed it. Now I am trying to implement a library to my code and I chose ncurses, because it seems easier to add and will allow me to change the color of the input for the game. However, I can't … | |
Hi! I need help with my assignment. I need to convert this one to C language. I've already changed the cout to prinf, but somehow it doesn't run. Help please. #include <stdio.h> int main(){ int order,no_deals; cout<<"Grocery"<<endl; cout<<endl; cout<<"(1) Eggs 6 pesos only."<<endl; cout<<"(2) 1 kl Rice 60 pesos only."<<endl; … | |
QI: Write a C ++ program, using function, to counts uppercase letter in a 20 letters entered by the user in the main program. | |
A sari-sari store needs a program that can help it add the corresponding profit and VAT values to its inventory. The program should add 5% to the base price for the profit amount. The 12% VAT should be added to the price after the solving for the price with profit. … | |
Create a c++ program that reads a CSV file and prints the rows at even positions. For example, if the CSV file has 10 rows, print rows 2, 4,6, 8 and 10 | |
| |
help!!!... i have homework to create a simple address book in Visual C++ it should Add, Delete, Modify, Display A Record using classes/class, file handling & structure... It would be a big favor doing it.. | |
class Complex { private: int a,b; public: set_data(int,int); show_data() { std:: cout<<"\na="<<a<<"\n"<<"b="<<b; } }; Complex::set_data(int x,int y) { a=x;b=y; } main() { Complex c1; c1.set_data(3,4); c1.show_data(); } Error: error: 'cout' is not a member of 'std' I tired to slove this error but this is not slove | |
Hello, Just wanted to say hello as I found the site today and joined up. And for the record to save time name is Fred not leo. I alway choose random names on all sites which is why here I used Leopold II. I am currently learning C++ for fun … | |
The End.