49,761 Topics

Member Avatar for
Member Avatar for rprather511

Love is the 4 first 2 lo then sometimes third letter v that's when we flock together then the forth e eternity that's real love somtime lo togethethen the v flocking together then e eternity 💖

Member Avatar for Dani
-1
18
Member Avatar for Stephcain12

Hey, I am doing some programming exercises, it is to read in a txt file and then read in a list of banned words in an array. I've managed to do this but the last step requires me to filter the original text file with the banned words and change …

Member Avatar for rproffitt
0
54
Member Avatar for jimJohnson

I am writing an atm program for a class and will enclose the instructions. I really want to just write a section of code and make sure I am doing it right before I move on. I am starting with the main menu and was wanting to know if someone …

Member Avatar for michealadejimi
2
12K
Member Avatar for Zach1188

I have a fairly simple question, which may or may not have a simple solution. How can I run the system(); command, in a win32 (not console) application, without the black command prompt window flashing on the screen? If relevant, I am using Dev-C++.

Member Avatar for Giver
0
3K
Member Avatar for Ashley_30

You have been contracted to develop a prototype system for the Norman Manley Airport that will assist the airline staff in processing persons who have checked in for their flights during the covid pandemic. The information being stored for each person are as follows: • ID# • Name • Gender …

Member Avatar for jwenting
0
78
Member Avatar for شمسه
Member Avatar for Arush_1
Member Avatar for rexworth123

I’m trying to create a change machine bored and have no programming experience. If anybody has any suggestions I am open to paying someone to help me with this project. I have some logic controlled hoppers and pulse validator‘s 50 MS on 50 MS off. I just need it to …

0
35
Member Avatar for Nicole_18

How to draw this cat with: Rendering fill Suitable primitives Aligned texture ![Screenshot_20220402-020429_Office.jpg](https://static.daniweb.com/attachments/4/e9a4f2eda3f42e689b0de42dcd9465ba.jpg)

1
296
Member Avatar for Kate_12

am doing a project with I/O and structs. My text file is below. I need to make my program store each string in a different part of the array of structs I have created. I am having a problem making it separate them in the array when it senses a …

Member Avatar for rproffitt
0
64
Member Avatar for eazy_man

Hi Guys Im looking for someone who can translate this c++ code to pseudocode . [CODE]#include <algorithm> #include <cctype> #include <functional> #include <string> bool palindrome( unsigned long n ) { unsigned long x = n; unsigned long u = 0; while (x) { u *= 10; u += x % …

Member Avatar for Koushik_3
-4
17K
Member Avatar for humbug

i have made a program in school that chooses a random number and you need to guess it. you put in a number and it says higher or lower. the only problem is that i can't set RAND_MAX and its a 4 or 5 diget number (havent figured it out …

Member Avatar for yw_046
2
30K
Member Avatar for Jeph_1

Hello, I am trying to count the number of characters in a string $a0 that return a 1 when passed to the function, otherwise return 0. Heres what I did: I dont have the correct answer __ output format must be 3, I have 11 .text .globl __start __start: # …

Member Avatar for rproffitt
0
158
Member Avatar for jennysolam25

I need help for this a program that will generate the receipt of the merchandise shop “The Blue Blood Shop”. The items available on their shop are as follows: Item Description Price (in Php) Deathnote Notebook 200.00 Bleach S10 Wristwatch 510.00 Pokemon Cards (Pack of 30) 35.00 Cardcaptor Sakura Mousepad …

Member Avatar for Jeph_1
0
111
Member Avatar for Abeiyh

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 Dani
0
52
Member Avatar for Mariam_20

Hi, can someone give me an easy command that prevents a user from entering a negative value in the following code i made? thanks. #include <iostream> using namespace std; int main() { int X; int Y; cout<<"please enter the value of X and Y"; cin>>X; cin>>Y; float result; result=4*X^3+Y^3-4; cout<<"the …

Member Avatar for Schol-R-LEA
0
87
Member Avatar for mc8888

hi everyone...I need help on solving this question... Create a SavingAccount class. Use a static data member to contain the annualInterestRate for each of the saver. Each member of the class contains a private data member savingsBalance indicating the amount the saver currently has on deposit. Provide a calculateMonthlyInterest member …

Member Avatar for Zain_12
0
6K
Member Avatar for مبشر

//Basic libraries #include <stdio.h> #include <stdlib.h> #include <string.h> #include <conio.h> #include <stdbool.h> #include <time.h> #define Empty 0 #define P1 1 #define P2 2 #define Height 6 #define Width 7 int board[Height][Width]; char gamestr[41]; void show_game_list(){ //Open game file for reading FILE * fp; char * line = NULL; size_t len …

Member Avatar for Fifth Horseman
0
105
Member Avatar for MICKLUFFY

The first line of an input file, called tons.txt, only contains a single number between 1 and 9. Write a C++ program to input the number of tons from the input file and print out the equivalent in pounds, ounces, kilograms, and grams, to an output file, called report.txt. Also, …

Member Avatar for ivy.inc.Hugh
0
44
Member Avatar for Napoleon_1
Member Avatar for tixtqs

Hey, so I'm still very new at programming/coding and for fun, I wanna make some sort of script. For a offline fighting game. So let's say I press one key, it does one combo? does that make any sense? I just wouldn't know how to go about that is there …

Member Avatar for ivy.inc.Hugh
0
89
Member Avatar for Crona

I have a homework assignment that im not really sure how to approach as of right now, I've done some research but. I have not found really anything that would pertain to what I'm doing. Any help would be appreciated <3 . So far this is what I have: /****************************************************************************** …

Member Avatar for DGPickett
0
268
Member Avatar for Ahad_1

Hello! I'm working on this linked list project where I'm supposed to save the employee data in a linked list and apply some operations. and I am new with c++ so I'll show you my code and please help me with it. my questions are: 1- whenever I enter a …

Member Avatar for toneewa
0
130
Member Avatar for plang007

I do not know why when I compile it, on why does the last cylinder file print out multiple times int tags1 and tags2. I bolded them so you would see what I am talking about. Could someone please help me out? [CODE]#include <iostream> #include <fstream> #include <iomanip> #include <string> …

Member Avatar for toneewa
0
256
Member Avatar for alan_30

as an game engine dev i created an console graphics engine to create blazing graphics contains lighting and shadows and draw algorithms and the for loop for my 3D part was running slow and no flicker but slowly generates the walls and everything and when i update the frame again …

Member Avatar for rproffitt
0
80
Member Avatar for vaishnavi_13

line 5: Declaration syntax error line 59: function containing do are not expanded inline line 153: function containing while are not expanded inline line 218: declaration terminated incorrectly

Member Avatar for toneewa
0
75
Member Avatar for Husnain_6

statement: write a code in which user first select what type calculator they want to use. Simple or scientific and on that basis they do the calculations. I have written the following code but it is not running. I am unable to figure out the problem. Please anybody help!! #include …

Member Avatar for Schol-R-LEA
0
93
Member Avatar for Nathan_22

C++ program that displays on the screen item codes with corresponding item descriptions and prices. It asks the user to enter the code of the item purchased by a customer. It looks for a match of the item code stored in items.txt. How to read a specific line from a …

Member Avatar for toneewa
0
761
Member Avatar for kuaina

Display instruction for the respondents to answer the survey using function displayInstruction(). -------------------------------------------------------------------------- |Survey of Student's Perception on Online Learning in Kolej Seri Sarawak | -------------------------------------------------------------------------- Dear Respondents, You are invited to answer this survey. Please respond to the following questions that corresponds to your response. The survey is divided …

Member Avatar for toneewa
0
148
Member Avatar for sprongklong

Write a program that converts pounds into kilograms. The program prompts the user to enter a number in pounds, converts it to kilograms, and displays the result. One pound is 0.454 kilograms. Here is a sample run:

Member Avatar for toneewa
-2
860

The End.