Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
17% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
8
Posts with Downvotes
5
Downvoting Members
4
1 Commented Post
0 Endorsements
~8K People Reached
About Me

Any problem solver in c++

Interests
c++ programming
Favorite Forums
Favorite Tags
Member Avatar for abdullahkafkas

#include<stdio.h> #include<conio.h> #include<stdlib.h> #include<ctype.h> #include<string.h> typedef struct Stack { char info; struct Stack *next; }Stack; Stack *start=NULL; Stack *cstart=NULL;//variable for copy of stack Stack *rstart=NULL;//variable for reverse of stack Stack* push(Stack *, char); char pop(Stack *); int main() { char c; int flag=0; printf("Enter characters :"); c=getchar(); while( c !='\n' …

Member Avatar for jwenting
0
210
Member Avatar for phony

> names.dat Collins, Bill Smith, Bart Michalski, Mel Griffin, Jim Sanchez, Manny Rubin, Sarah Taylor, Tyrone Johnson, Jill Adams, Andrew Moreno, Juan Wolfe, Bill Whitman, Jean Moretti, Bella Wu, Jeff Patel, Renee Harrison, Rose Smith, Cathy Conroy, Patrick Kelly, Sean Holland, Beth #include<iostream> #include<fstream> #include<cctype> using namespace std; void read_names(string …

Member Avatar for rubberman
0
163
Member Avatar for Ivzirnalsradeys

For this question, select and name a high-level language you will be discussing. Diagrams might help in your answers. a) Explain how the computer passes control to a subroutine (or procedure) and returns it to the main routine once the task has been completed. b) Explain, giving a relevant example, …

Member Avatar for Taywin
0
232
Member Avatar for EarhawkPH

I'm trying to increase the limit up to a billion (or up to a hundred thousand). I don't know how. main() { long int a,b,c,d=0,e=1; clrscr(); printf(“Enter a Decimal Value: “); scanf(“%ld”, &a); while (a!=0) { b=a/2; /*Formula for Decimal c=a%2; to Binary*/ a=b; d=d+(c*e); e=e*10; } printf(“The Binary Value …

Member Avatar for sanjulovers
0
243
Member Avatar for kartikeswar.parida

Here the switch() isn't working properly;not executing the function; & morever the while loop run twice when an invalid choice is given.. #include<stdio.h> #include<stdlib.h> #include<ctype.h> #include<string.h> #define MAX 100 int vowel_count(char*); int conso_count(char*); void to_lower(char*); void to_upper(char*); void menu(); int main() { int cnt=0; char data[MAX]=" "; bool flag=false; printf("Enter …

Member Avatar for sanjulovers
0
255
Member Avatar for rehan_5

hey! i m new and don't know how to read a .dat file in C++. Can anyone help me to put me out of this problem?

Member Avatar for sanjulovers
0
3K
Member Avatar for iceparticle.com

Hello, can anyone clarifies this? I need to find consecutive segments that are odd or even. For example 2 6 5 = 2 and 6 = **2** consecutive even integers | 1 odd 4 6 8 1 3 = 4, 6, and 8 = **3** consecutive even integers | 1 …

Member Avatar for sanjulovers
0
214
Member Avatar for arthur5645

i am trying to create acalcultor using a c++ program that uses mode. would you please show me how to create a calcultor that uses the mode function using a switch a statement

Member Avatar for rubberman
0
138
Member Avatar for babyani

● Do questionnaire Upon completion, the responses are scored and the total is displayed. The points awarded for the responses are: 1 point for response A, 2 points for response B and 3 points for response C. You may assume that the names entered are unique.

Member Avatar for JamesCherrill
0
209
Member Avatar for DavidB

Here is my first Code Snippet contribution: a C++ sub-routine that computes the roots of a quadratic equation. Notes: * This sub-routine checks if a = 0. * IF a = 0, then the equation is actually not a quadratic equation; it is a linear equation with one--if any--root. * …

Member Avatar for DavidB
1
711
Member Avatar for dirtydit27

Hello, I'm having a little trouble with a some code that I'm writing for homework. Basically, I'm taking two files that contain numbers and merging the contents into another file. The files do not have the same amount of numbers in them (one might contain 7 while the other contains …

Member Avatar for aakash121
0
407
Member Avatar for soche123

output should look like this * *** ***** ******* ********* ******* ***** *** * and seond one *************** *************** *************** *************** *************** Thank you guys in advance!

Member Avatar for sanjulovers
0
179
Member Avatar for HUSSEINI

phase(1) create a textual menu of the items in their prices phase(2) acivate your menu so that a user can select one item from the menu and display the selected item on the screen. phase(3) improve upon your program to allow user to order more than one item and the …

Member Avatar for sanjulovers
0
721
Member Avatar for soche123

code is #include <iostream> #include <conio.h> using namespace std; int main() { int count=1; while (count++ <=5) cout<<count*(count-2)<<" "; cout<<endl; } WHat I don't get is how count becomes 3,8,15,24...thanks!

Member Avatar for RonalBertogi
0
209
Member Avatar for mr.unknown

please explain this code to me ` main() { int u,i; for (u=1;u<=5;u++) { for (i=1;i<=u;i++) cout<<i<<"\t"; cout<<endl; } } OUTPUT: 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 explain that how two loops are controlling this output someone explain it step by …

Member Avatar for sanjulovers
0
181
Member Avatar for Ram J

I need a C++ program which receives two numbers from input (n, x) and calculates the following equation for entered numbers (n, x). 1 + x/1! + x2/2! + · · · + xn/n!

Member Avatar for sanjulovers
0
201
Member Avatar for pearl doll
Member Avatar for sanyam.mishra

In my program I need to execute two loops at same time. How can I do that? As windows have multi processing can I too complete two or more processes at same time? Actually I need 3 different timers which will be running simultaneously.

Member Avatar for mike_2000_17
0
568