Posts
 
Reputation
Joined
Last Seen
Ranked #81
Strength to Increase Rep
+15
Strength to Decrease Rep
-3
97% Quality Score
Upvotes Received
211
Posts with Upvotes
196
Upvoting Members
121
Downvotes Received
6
Posts with Downvotes
6
Downvoting Members
6
94 Commented Posts
18 Endorsements
Ranked #85
Ranked #48
~797.95K People Reached
Favorite Tags
Member Avatar for kittycat07us

Hi, I'm having trouble with creating a program to split a number into there own separate digits and then multiplying the digits to create another number. The program will repeat itself until there is just one digit.. The main thing I'm having problem with is figuring out how I could …

Member Avatar for Hassan_39
0
11K
Member Avatar for samaru

Is everyone familiar with this game? Just reply with the first word that comes to your mind when you think of the last word posted. You can't respond to the post with a comment, just the word that comes to your mind. It can only be a word or a …

Member Avatar for Dani
1
52K
Member Avatar for Yuichi

I am supposed to sort an array in ascending order..I have tried but then i cant get the results i want.I also tried to look it up in this forum but i still can't get it...Here is part of the code:[ICODE]void sort() { int size=10; int j,temp,i; for(i=0;i<(size-1);i++) { for(j=i+1;j<size;j++) …

Member Avatar for bangalore.webguru
-1
4K
Member Avatar for coldkiller

I am working on a equation balancer for my 12th class computer science project.But somehow i am not able to balance the chemical equation.Please if anyone can provide me the source code it will be a great help.Urgently needed!

Member Avatar for Hariharan_1
1
7K
Member Avatar for sya20

It has been a long time since i do C++ programming and I am stuck on this question. I don't remember how to solve this kind of question. haha Part 1: Develop a C++ program which asks the user for the choice of either 3x3 or 4x4 2-dimensional array (use …

Member Avatar for pass4sureguide
0
410
Member Avatar for chrisschristou

hello i just get started with java so i have a question where the difference from c/c++ and the famous lovely java begin, the function or better method, so in c/c++ we can make a function prototype on top the main and then define it later like this int myfunctionprototype(int …

Member Avatar for JamesCherrill
0
1K
Member Avatar for Megaz221

Hi, I guess I'll post here with my problem as well my introduction. I've coded in Java in high school for 2 years but my teacher was horrible so I decided to wait till college to take another programming class. Well I'm Programming Fundamentals and have been assigned a program …

Member Avatar for Muhammad_100
3
13K
Member Avatar for robotnixon

First off, happy thanksgiving everybody. Second, my program has problems. I've discovered a horrible way (for me anyway) to design and my attempts to fix it aren't getting any where. I have to design a roman numeral calculator (input romans, output romans) with at least two functions (decimal->roman, roman->decimal). I …

Member Avatar for Edwin_6
0
1K
Member Avatar for iansane

Hi, I am writing a program to read from a file. I want to ask the user for the file name to open. I have tried to use the basic open file code from cplusplus.com and it won't work unless I specify the file name in the code. If I …

Member Avatar for Jaja19
0
17K
Member Avatar for kellnerq

Hi together i need your help... again for my lab work. The question is the following: Use a single-subscripted array to solve the following problem. A company pays its salespeople on a commission basis. The salespeople receive £200 per week plus 9 percent of their gross sales for that week. …

Member Avatar for Victim_1
0
3K
Member Avatar for zandiago

Good day: My infile contains the following: [CODE] U Apple Pie 1.29 A Bacon Burger 3.45 V Burrito 2.09 S Cheeseburger, Double 3.59 W Cheeseburger, Regular 2.95 Y Chicken Nuggets 1.87 H Chicken Sandwich 3.33 C Chili, Bowl 2.12 X Chili Dog 2.29 N Chocolate Milk 0.98 D Coffee 1.09 …

Member Avatar for NathanOliver
0
9K
Member Avatar for Transcendent

This what I'm trying to do: Type two or more lines of text into a file. Write a program to open the file, reading each word into a vector<string> object. Iterate over the vector, displaying it to cout. That done, sort the words using the sort() generic algorithm But I'm …

Member Avatar for Lerner
0
284
Member Avatar for Elliott_1

Effective January 1st of each year, Gabriela receives a 5% raise on her previous year’s salary. She wants a program that calculates and displays the amount of her annual raises for the next three years. The program also should calculate and display her total salary for the three years. Annual …

Member Avatar for Lerner
0
134
Member Avatar for shahera.arafat

hii :) I've seen alot in (void)func. that at the end of it they put (return;) why they put it ??what is the logical meaning of it ?? is it the same as (return0;) ?? actually it confused me alot :/ thanks ^_^

Member Avatar for mike_2000_17
0
189
Member Avatar for rayhaneh

hi ! I want to sum of digts on C++ but when get the nagative number give me the result if pastive number like when u write -98 answer u 17 not -17 #include<iostream> #include<math.h> using namespace std; int main(){ int N=0 ; cin>>N; int sum=0; while(N!=0){ sum += (N%10); …

Member Avatar for Lerner
0
176
Member Avatar for Sunil_12

Hello All, I am writing c++ program to insert, sort, display and merge two linked lists. Insertion, sorting and display functions are working fine but merge function is not working as expected. Please help me correcting merge function. I have used One header file "intSLLst.h" and two cpp file "intSLLst.cpp" …

Member Avatar for Lerner
0
683
Member Avatar for jarleking

hi there people i got a prob with my code in my problem i got a matrix and i need to find the even number or numbers on that matrix (12x30) (by the way is the even minimun or minimums), so here is my function "tempeven" part., the actual issue …

Member Avatar for jarleking
0
108
Member Avatar for Syafiq_1

I want to make a program that can display the name and marks that user put and then the name will be sorted alphabetically. According to these two example i still cant get it. I have go through many examples on the internet but i still dont know how. Someone …

Member Avatar for Lerner
0
2K
Member Avatar for Tycellent

Hey guys, Was wondering if someone could assist me in elaborating the c_str() function... I understand that it returns a pointer to an array that contains a null-terminated sequence of character but could someone further elaborate upon this, perhaps with a simple example. Cheers,

Member Avatar for Lerner
0
175
Member Avatar for Cowboys1

: This is my program and its not compling empId numbers, can you tell me whats wrong?

Member Avatar for Lerner
0
94
Member Avatar for aluhnev

Hi,i used this example for practicing,supposed to be easy one,but,abit confusing. Can you help to solve and point to mistakes i've done. Postman Pat became bored one night at the postal sorting office and to break the monotony of the nightshift, he carried out the following experiment with a row …

Member Avatar for Lerner
0
705
Member Avatar for Tlotleng

Like the title says; Why would you want to make class objects (instances of a class) instead of built in types parameters of a function and in C . E.g. Why do this: class Person { public: void SetAge(Person &Age); instead of this: class Person { public: void SetAge(int iAge);. …

Member Avatar for Neuman
0
274
Member Avatar for aluhnev

Hi,i used this example for practicing,supposed to be easy one,but,abit confusing. Can you help to solve and point to mistakes i've done. Postman Pat became bored one night at the postal sorting office and to break the monotony of the nightshift, he carried out the following experiment with a row …

Member Avatar for aluhnev
0
373
Member Avatar for preet4fun

[CODE]#include <iostream> #include <iomanip> #include <string> #include <cctype> #include <cstring> using namespace std; const int NUMROWS = 14; const int NUMSEATS = 7; //enum seatsType {A,B,C,D,E,F}; void initPlane(char plane[NUMROWS][NUMSEATS]) { int x,y; //strcpy(plane[2], "Row 1"); plane[0][0] = ' '; plane[0][1] = 'A'; plane[0][2] = 'B'; plane[0][3] = 'C'; plane[0][4] = …

Member Avatar for Gozo Anne
0
9K
Member Avatar for john_hasan

Friends i have little bit problem in making a c language program. I have to make a program which prints prime numbers from 1 to 500. I make this program but with while loop then i was told to make it using for loop, which i tried but failed. So …

Member Avatar for aizam76
-1
3K
Member Avatar for DS9596

* I have to make a maze with 21 rows and 77 columns, allow some for the user's input and for messages. * It also has to have A multidimensional array containing the board. * A function to print the board. * Find the user's starting location (i.e. the location …

Member Avatar for DS9596
0
756
Member Avatar for inspire_all

i am trying to overload +operator to concat 2 strings i tried to write a code but it is giving 2 errors and i am also not sure whether logic is correct..MY CODE is [CODE]#include<iostream.h> #include<conio.h> #include<string.h> class string { char *str; public: string() { cout<<"enter string"; cin>>str; } void …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for zekesteer

Hi all, I’ve been given told to convert a standard C++ program into an object-oriented one, using the principals of polymorphism, encapsulation and inheritance. Our lecturer covered all three principals in one 45 minute slot. I’m completely stuck and would be grateful for any help. The standard C++ program accepts …

Member Avatar for Step-hen
0
2K
Member Avatar for mrnutty

Hey guys, haven't been on here for a while. Just thought, I'd get the ball rolling and interact with the community. Anyways, tell me and everyone else on the internet, the derivation of your username? Why? How? What? When? Who? WTF?

Member Avatar for Reverend Jim
0
680
Member Avatar for Wayne.H94

i have some code about the Hanoi Tower here #include<stdio.h> #include<conio.h> #include<stdlib.h> void cthap(int m,int x1,int y1,int x2,int y2,int x3,int y3) { if(m<1) return; else if(m==1) printf("\nchuyen tang 1 tu (%d,%d) tới (%d,%d) ",m,x1,y1,x2,y2); else { cthap(m-1,x1,y1-1,x2,y2,x3,y3); printf("\nchuyen tang %d (%d %d) toi tang (%d %d)",m,x1,y1,x2,y2); cthap(m-1,x3,y3,x2,y2-1,x1,y1); } } void …

Member Avatar for owenransen
0
166