49,767 Topics
![]() | |
What does the `explicit keyword` in C++ mean? I've read many articles about the same from [Scaler](https://www.scaler.com/topics/cpp/keywords-in-cpp/), GFG, Stackoverflow, and Wikipedia but I'm still confused. Can someone help me out? | |
hi guys, i dont know why when i run the code, its shows my txt is not found, here i attached the txt.file and the coding :) i just follow the coding in the example that lecturer given, but yeah as i mentioned before, the txt cannot be found :( … | |
i already done the scores for each round, i dont know how to calculate the scores for all round, can u help me to solve this? #include <iostream> #include <cstring> #include <fstream> #include <iomanip> #include <ctime> #include <cstdlib> using namespace std; //Global variable const string cardfile=("cards.txt"); //Function Prototypes void readCards(); … | |
I'd like to start learning how to program. I have limited skills in SQL and DOS. I need to learn how to code in a proprietary language that is similar to VB. How do I get started? What's a good code bootcamp recommendation? VB, SQL, C++ | |
how to solve no 2 problem? i dont know how to do that, someone please help me :(  | |
How to open a web page in the background after hiding the browser window in C language | |
Hi … wen I launch turbo c window for the first time it opens only status window… can someone help me on tis | |
Hello, my name is V, and I'm a Prolific Java programmer with 4+ years of experience and a solid background in RESTful and JSP development. OddPointer is looking for efficient programming. In recent years, I have built an average of 10+ native Java apps per year. | |
I have read some threads on this warning and I understand what the warning is and there have been suggestion on how to get around the warning, but how do you code it correctly not to get the error? In my class we are studing namespace,typedef, string functions the assignment … | |
Hi! I am not too expert in C++ programming. I created a class (Pig), then I created an object (Jack the Pig). In the function Kill, I call the destructor, but it doesnt't "kill" (destroy) my Jack the Pig, because in the next line, I can feed him. So my … | |
Create a program that displays the result of a sales transaction. The calculation requires three numbers. The first number represents the product price. The second number is the salesperson commission. These two numbers should be added together. The third value represents a customer discount; subtract this third from the result … | |
Hey can someone please tell me how to assign keys to buttons, I tried with a code but it only works once or it only works when I have to press the button on the screen and then use the key but it only works once Can someone please help … | |
I'm making a book system, although I'm stuck. My goal is to let a user input again after the user inputs. ex. User inputs Book 1 then User wants to input another and make it Book 2. Also, I want to let the user return to the main menu if … | |
hello everyone , i have a code for selection sort and i wanna modify it to give me a running time , any help? | |
| |
![]() | I need to do c++ programming without using array and function.please help me.i attach file below. |
> This is the code for reading from a txt file, but creating a code for writing into a txt file that goes along with this reading code is pretty difficult and am looking for any ideas that can help me in implementing this using linked list along with txt … | |
I am writing this program for our activity, but I have Problem at the end line, because whenever I input 'Y' when asked do you want to solve another set, the do repeats but the statement "Do you want to try again is flashed along with the question "Which shape's … | |
i've come across a problem. How do i check if an array has two,or more elements in a sequence. For example,let's say i have an array 1,2,3,6,7,8,4,5 and i want to check if it has numbers 6,7,8 but in that sequence. For example,if it would be 1,2,3,7,6,8,4,5 it would return … | |
A classic example of an object is a playing card.There are numerous games that utilize a deck of 52 playing cards; consider the game called Set instead. The object of the game is to identify “sets” of 3 cards from an array of 12 cards. Each card has fourfeatures: 1.Symbols … | |
Hello, I just wanted to help with my code here's my questions 1. How can I input "computer" in any in any order and case insensitively and still get the correct output? Here are the replacement COMPUTERS.X 1234567890.X 2. If I input other letters that is not included in the … | |
Hi~ I've been stuck with this exercise for quite a few days. It's in a book I'm currently self-studying, C++ primer plus. It is as follow: [CODE]/* Write a program that uses an array of char and a loop to read one word at a time until the word done … | |
Hello, I tried to make game where you can determine the winner by inputting their scores i'm just confuse how to count the wins of one team here's my code: #include <iostream> #include <string.h> using namespace std; main(){ int p1, p2, a=4; int wincount=0; string team1, team2; for (int j=0; … | |
Write a C++ Program (in OOP) to calculate and display an employee's raise and new salary. The program details are the following: A class called SalaryRaise with private data members for the current salary, rate of raise, the raise amount and the calculated new salary. A public function get_inputItems(), task … | |
Write a C++ program (in OOP) with the following details: A class called BankAccount, that will act as a bank account. It contains the following: Two private data members: account_number (int) and account_balance (double), which maintains the current account balance. A Public functions account_credit(), task is to add the given … | |
#include<iostream> #include<string> #include<vector> #include<algorithm> using namespace std; struct staffTWB { string staffName; int staffProf; }; void printEntry(staffTWB); int main() { string staffName; int staffProf; while (staffName != "done") { cout << "Please enter a staff name(done to leave the program):" << endl; getline(cin, staffName, '\n'); if (staffName == "done") { … | |
Please can some one help me with this program using functions, arrays, if statement and loops to develop a c++ source files that will be called CLASS LIST . this program should allow user to enter their names, student identification number and exam marks, a function should be created to … | |
> import numpy as np > import scipy.io.wavfile > from scikits.talkbox.features import mfcc > sr1,x1=scipy.io.wavfile.read("filename.wav") > ceps1,mspec1,spec1=mfcc(x1) I can obtain MFCC values as above. Now, I have 100 songs with 2 different music genres(electronic,jazz). And, I want to create a dataset with using these songs. I suppose I will use … |
The End.