49,761 Topics

Member Avatar for
Member Avatar for Vandiun

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.

Member Avatar for pritaeas
0
17
Member Avatar for 3cats

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 …

Member Avatar for Mahim_1
0
2K
Member Avatar for Tomi1988

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 …

Member Avatar for S_915
0
5K
Member Avatar for Mercy254

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 …

Member Avatar for Reverend Jim
0
63
Member Avatar for heylol

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 …

Member Avatar for rproffitt
0
55
Member Avatar for Navarro_1

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 …

Member Avatar for rproffitt
0
91
Member Avatar for katara11

hello everyone , i have a code for selection sort and i wanna modify it to give me a running time , any help?

Member Avatar for Dani
0
68
Member Avatar for सुभाष
Member Avatar for rproffitt
0
41
Member Avatar for Khairunnisa_2

I need to do c++ programming without using array and function.please help me.i attach file below.

Member Avatar for Hanyin
1
302
Member Avatar for Yazeed_2

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

Member Avatar for rproffitt
1
148
Member Avatar for palash889
Member Avatar for Hanz Jude

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 …

Member Avatar for nullptr
0
97
Member Avatar for TIP & TRCKS

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 …

Member Avatar for gce517
0
40
Member Avatar for squirrelly

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 …

Member Avatar for Naia
-1
14K
Member Avatar for Jash_1

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 …

Member Avatar for rproffitt
2
143
Member Avatar for tdba.316

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 …

Member Avatar for Toniolo
1
1K
Member Avatar for Jash_1

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

Member Avatar for Schol-R-LEA
1
289
Member Avatar for danNy045
Member Avatar for Andromaque

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 …

Member Avatar for pritaeas
0
26
Member Avatar for Andromaque

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 …

Member Avatar for pritaeas
0
18
Member Avatar for Chloe_6

#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") { …

Member Avatar for Dani
0
62
Member Avatar for Peter_124

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 …

Member Avatar for TimTheCoder
0
74
Member Avatar for jagathg

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

0
29
Member Avatar for Kbrings123

#include<iostream> using namespace std; int main() { char LtrGrade; cout <<"Enter a letter grade: "; cin>> LtrGrade; switch (LtrGrade) { case "a": case "A": cout<<"\nExcellent"; break; case "b": case "B": cout<<"\nSuperior"; break; case "c": case "C": cout<<"\nAverage"; break; case "d": case "D": cout<<"\nPoor"; break; case "e": case "E": cout<<"\nTry Again"; …

Member Avatar for gce517
0
42
Member Avatar for Валенти

Hello! I’m first year at the university and I’m studying programming. I studying C++. I need to do the Minesweeper game but I don't know how to write the code and what it means. I need someone who can write the program and explain it to me.

Member Avatar for rproffitt
0
75
Member Avatar for dewengordon6

Write a C++ program that asks the user to enter the number of rooms in a house. For each room, the user must be prompted to enter the following details of each room to be stored as attributes of the class Room. • width length colour Declare 'name' as a …

Member Avatar for rproffitt
0
33
Member Avatar for Saba_12

i have to write to the output Write to the output the sequence of division remainders of these numbers over a small integer but sorted in the non-decreasing order.i wrote a code for remainder but i cant write for them to sort. Here is the code: #include <iostream> using namespace …

Member Avatar for gce517
1
113
Member Avatar for Joaquim_5

I need learn more about processing pixels like alphablend, stretch and more. I did several search without results. Can anyone recommend me any page or book or some math?

Member Avatar for rproffitt
0
23
Member Avatar for いわしろ

#include<stdio.h> #includ<conio.h> Int main() { int ch; float F,C,R,K; char chs; printf(“Choose Input Value\n1.F\n2.C\n3.R\n4.K\n”); scanf(“%d”,&ch); switch(ch) { Case1: F=input(“Fahrenheit value”); C=(5/9)*(F-32); K=C+273.15; R(9/5)*K; Case2: C=input(“Celsius value”); F=(9/5)*(F-32); K=C+273.15; R=(9/5)*K; Case3: R=input(“Rankine value”); F=R-459.67; C=(5/9)*(F-32); K=C+273.15; Case4: K=input(“Kelvin value”); R=(9/5)*K; F=R-459.67; C=(5/9)*(F-32); default: printf(“Invalid Input”) } fflush(stdin); printf(“Print final value F=%0.3f …

Member Avatar for rproffitt
0
143
Member Avatar for kimadouc

The End.