49,757 Topics

Member Avatar for
Member Avatar for lilindiekid

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 …

Member Avatar for JamesCherrill
0
141
Member Avatar for eman_12

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

Member Avatar for rproffitt
0
143
Member Avatar for KareemRj

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 …

Member Avatar for rproffitt
0
99
Member Avatar for Tevita
Member Avatar for Uzair_9

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

Member Avatar for rproffitt
0
34
Member Avatar for ABHIJEET_7
Member Avatar for Sardar_6

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.

Member Avatar for Dani
0
19
Member Avatar for sabir khan
Member Avatar for zak99

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 …

Member Avatar for Dani
1
90
Member Avatar for Siti_4

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 …

Member Avatar for JamesCherrill
0
88
Member Avatar for Johny_5
Member Avatar for Alina99900000

Write C++ Function named “ReverseIt” in which use enter a number, program reverse it and display reversed number on the console

Member Avatar for rproffitt
0
24
Member Avatar for TB_651
Member Avatar for Ayna_1

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 …

Member Avatar for rproffitt
0
67
Member Avatar for Battlecode10

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 …

Member Avatar for Dani
0
78
Member Avatar for Mnashmanne

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

Member Avatar for rproffitt
0
96
Member Avatar for motseilekgoa

using recursion, write a c++ function findlargestNode() which returns the largest node in a bst

Member Avatar for rproffitt
0
24
Member Avatar for mehmoodfahad199

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

Member Avatar for rproffitt
0
23
Member Avatar for Jonah_4

What are the byte values of basic data types : char , int , long , long long, float, double.?(using sizeof() )?

Member Avatar for Husoski
0
138
Member Avatar for Aldrich_2

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

Member Avatar for rproffitt
0
90
Member Avatar for ytgaamer

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 …

Member Avatar for rproffitt
0
146
Member Avatar for Claire_6

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

Member Avatar for rproffitt
0
97
Member Avatar for MD_546

QI: Write a C ++ program, using function, to counts uppercase letter in a 20 letters entered by the user in the main program.

Member Avatar for rproffitt
0
17
Member Avatar for Brylyn Crish

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

Member Avatar for jwenting
0
47
Member Avatar for Abhirami_1

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

Member Avatar for rproffitt
0
395
Member Avatar for Mohamed_144
Member Avatar for daledan

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..

Member Avatar for Mian_13
0
739
Member Avatar for NotAceGG

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

Member Avatar for Husoski
0
71
Member Avatar for Leopold II

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 …

Member Avatar for Leopold II
0
22
Member Avatar for renatobessa

The End.