Posts
 
Reputation
Joined
Last Seen
Ranked #240
Strength to Increase Rep
+9
Strength to Decrease Rep
-2
91% Quality Score
Upvotes Received
122
Posts with Upvotes
115
Upvoting Members
72
Downvotes Received
12
Posts with Downvotes
9
Downvoting Members
9
22 Commented Posts
8 Endorsements
Ranked #247
Ranked #287
~499.22K People Reached
About Me

Enjoy helping beginners in C/C++ programming

Interests
Lots ... but mostly getting ready for soon return of Yeshua
PC Specs
64 bit Win 7 OS
Favorite Tags
c++ x 578
c x 182
input x 26
Member Avatar for <iostream>

guys sorry about my post earlier . this is what i did with my program but i dont think my equation is correct because whenever i want to get the total amount due it always give the wrong amount . i dont thinks this equation is correct "amount=amount+price*quant;" guys i …

Member Avatar for Amiira ahmet
1
9K
Member Avatar for Luka_1

I have never learn python and i need to write one small program in it. I have C++ code so can someone convert that code to python code ? code: #include <stdio.h> int N; struct { int y, x1, x2; } platforme[100]; int spusti(double x, int y) { int rez …

Member Avatar for Adina_2
0
72K
Member Avatar for Mahnoor_1

Question is: Create a class Employee with following constraints in mind: 1. Declare three private data members named id,name,NIC of int,string,long respectively. 2. Overload stream insertion and stream extraction operators. Implement a global function named saveData, that'll allow the user to enter any number of employee's data and store it …

Member Avatar for Muhammad_251
0
4K
Member Avatar for Reverend Jim

I think I finally understand why Trump is doing so well (he recently pulled even with Hillary Clinton). It's only after years of shows like American Idol and America's Got Talent that his rise is possible. These shows got Americans used to the idea that they could vote with no …

Member Avatar for rproffitt
1
22K
Member Avatar for angbatangprog

Programming Exercise ATM Machine In this assignment you will create a program that allows a user to do the following: 1) Create a bank account by supplying a user id and password. 2) Login using their id and password. 3) Quit the program. Now if login was successful the user …

Member Avatar for Apoorva_2
0
6K
Member Avatar for Jack_9

Hello fellow python lovers of daniweb.com. This isn't as much a question as much as the fact that I want to see how different people would go about using python to inject an SQl database. I made a script were you can access the ip and run a command. NOTE:Obviously …

Member Avatar for phoenix079
0
8K
Member Avatar for Bob

[B]Intro[/B] This tutorial provides a brief introduction to the random number functions that come as part of the C++ standard library, namely rand() and srand(). [b]rand() and RAND_MAX [/b] The C++ standard library includes a pseudo random number generator for generating random numbers. In order to use it we need …

Member Avatar for JamesCherrill
3
52K
Member Avatar for luke_8

G'day everyone! I'm fairly new to C++, so bear with me if this is painfully obvious. I'm trying to get a user to guess a string, which is just a vector containing random capital letters. That random letters part works great, however I can't figure out how to get my …

Member Avatar for David W
0
1K
Member Avatar for Name_1

So I've been trying to make a circle class that can calculate the Area, Diameter, and Circumference of a circle. I wish to be able to do this so I can easily just input the raidus in my main and print the values out. I tried making a friend function, …

Member Avatar for David W
0
1K
Member Avatar for ReneeJA

Please, i need a teacher to help me out...i am at the intro stage and i was wondering if someone would walk me through this please..i would appreciate it. Mr. Clark employs students who are exempt from taxes and others who are not. Write a program that will calculate and …

Member Avatar for owlowl076
0
1K
Member Avatar for Tre Sivileo

I am coding a roman to arabic console program for class been having issue with it I am not sure how to get the next char after the the first char I have tried everything I am not allowed to use cin.peek(). Also my output loop generates p = 0 …

Member Avatar for tinstaafl
0
297
Member Avatar for 고시퍼

#include <stdio.h> int main(void) int movieChoice; int seatNum; int seatPlan[5][10] = { 0 }; int rows, cols; char space; void seatDisplay(int a[][10]); void seatNew(int n[][10]); void seatDisplay(int a[][10]) { //this function shows the seat plan for (int i = 0; i<5; i++) { for (int j = 0; j<10; j++) …

Member Avatar for David W
0
546
Member Avatar for can-mohan

Hi All, I have to implement string class and write a program to perform string manipulation in Mystring class. input: "he is going to school" output Case 1: (n=1) He school to going is Case 2: (n=2) He is school to going Case 3:(n=5) No changes Case 4 n<=0 school …

Member Avatar for JamesCherrill
0
475
Member Avatar for naruto_2

Hi I am unable to call a function in one class from another class:In this line of the code it is showing error std::nth_element(edge_points.begin(), edge_points.end() - edge_points.size() * c.edge_points_percent, edge_points.end(),Camera::compare_edge_points); Camera:: compare_edge_points - showing error. Can anyone help me here please? Header file: #ifndef main_h #define main_h #include <iostream> #include …

Member Avatar for tinstaafl
0
389
Member Avatar for shalu_1

HELLO, i have an project(c++) on quiz(menu based) and im in 11(cbse) i would like to have the source code with the following 1.admin menu 1.1add more ques 1.2 remove a ques 1.3 modify the ques 1.4 search for a ques 1.5 return to main menu 2.user menu 2.1 instructions …

Member Avatar for ddanbe
-1
376
Member Avatar for Jemone_1

My application must let a nurse enter information for a number of patients about the patients' number of repetitions for various otherwise ordinary activities. The nurse gets a book in the format to enter the information. Month Date Day Activity Repetitions January 1 Monday brushed_teeth 9 January 1 Monday combed_hair …

Member Avatar for David W
1
374
Member Avatar for Roger_2

**below is the problem i am given, after this i explain where i am at so far and the code i have created, **Write the following functions in Scheme: 1.a "digitinc4" -takes as input a 4-digit integer, and returns another 4-digit integer constructed of the original input integer's digits, each …

Member Avatar for Taywin
0
453
Member Avatar for David W

This thread will be an attempt to develope a SIMPLE (and good enough) class for beginning Java students, to ease their coding for valid and crash proof, user (Console type) input, (and also handle Console output.) We assume here that beginning students need not worry much, about obtaining the fastest …

Member Avatar for JamesCherrill
0
1K
Member Avatar for PulsarScript

Hi have a question,why i do not get value output for FutureValue,do i use in the wrong place in Main method calculateFutureValue() ? package sd4.dobs.ui; import java.util.Scanner; public class Console { private static Scanner sc = new Scanner(System.in); public static void displayLine() { System.out.println(); } public static void displayLine(String s) …

Member Avatar for PulsarScript
0
587
Member Avatar for Linzi c++

I'm trying to make an interactive calculator to solve the volume of a sphere. The thing is that I can't seem to make the program let the user input their own number for example, What if the user wants to the number four as the radius? Here is what I …

Member Avatar for David W
0
337
Member Avatar for zzQwerty

I'm guessing the error lies in the writeBinary function where I open the file everytime I write into it. I am not sure how to create the file and have it not overwrite the existing data. My code results into reading 3, 3, 3 instead of 1,2,3. #include <string> #include …

Member Avatar for David W
0
429
Member Avatar for sarah_15

Hi, I'm staruggling with this program can I get some help please? Write a program called CalculateInvoice that allows a user to enter multiple invoice items for multiple customers and calculates a total invoice amount. For each customer, enter a customer number and customer name. Then, for each customer allow …

Member Avatar for JamesCherrill
0
1K
Member Avatar for poloblue64

I'm having trouble solving this porblem. Write only the “snippet” of C++ code for a function definition, fillArray, which fills int_array. Repeatedly prompt the user to enter an integer at the keyboard. (Input values should be stored in row order). fillArray has one argument, the 2D array. 'Protect' arrray values …

Member Avatar for David W
0
544
Member Avatar for poloblue64

I'm having trouble implementing this function definition, any help will be appreciated. Write only the “snippet” of C++ code for a function definition, printColumn, which prints to the console the values in a column specified by the user in the function call. printColumn has two arguments, the 2D array and …

Member Avatar for David W
0
310
Member Avatar for JosesMelo

Hello, Is there any limitation for the length of array variables in C++? Can I specify the length as wanted or is there any limitation for the array length? What should be the array length, if the length is not known. wchar_t commandString[10000]; Cheers

Member Avatar for rubberman
0
284
Member Avatar for taylor0934

Hi, I needed some assistance on this program I am working on. First its about putting airplanes into gates, if no gates are open the print airport full. Right now mine simulates all the arrivals and departures. I show it put it will change when I implement the Stack. The …

Member Avatar for David W
0
1K
Member Avatar for sungilcool

I'm trying to build my skills here. This code compiles and runs successfully if I go out of class. It crashes when I need to enter numbers for matrices. Can somebody explain to me why this crashes? #pragma once #ifndef matrixType_h #define matrixType_h template <class T> class matrixType { public: …

Member Avatar for tinstaafl
0
1K
Member Avatar for Eskindir_1

so all i want to so is read a txt file and store it into an array but im im having a difficulty and here is my code and my txt file has a delimeter (',') so i put a getline function as well but it is not wrking for …

Member Avatar for tinstaafl
0
7K
Member Avatar for glao

Hello, I have this code: #include<stdio.h> int q = 10; void fun(int *p){ *p = 15; p = &q; printf("%d ",*p); } int main(){ int r = 30; int *p = &r; fun(p); printf("%d", *p); return 0; } which returns `10 15` I can't understand why it doesn't return `10 …

Member Avatar for glao
0
227
Member Avatar for isla.rose.3

Here is the original task: * The Fast Freight Shipping Company charges the following rates: Weight of Package Rate per Pound 2 pounds or less $1.10 Over 2 pounds but not more than 6 pounds $2.20 Over 6 pounds but not more than 10 pounds $3.70 Over 10 pounds $3.80 …

Member Avatar for ashaa
0
3K