Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
25% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
4
Posts with Downvotes
2
Downvoting Members
4
2 Commented Posts
0 Endorsements
Ranked #4K
~11.1K People Reached
About Me

Here's to the crazy ones. The rebels. The troublemakers. The ones who see things differently. While some may see them as the crazy ones, we see genius. Because the people who are crazy enough to think they can change the world, are the ones who do.

Interests
Programming , Playing on bass guitar.
Favorite Forums
Favorite Tags
Member Avatar for karthik16

1.Write a C++ function that intakes 2 arguments: a character and an integer and prints the character given number of times.If ,however, the integer is missing the function prints the character twice.

Member Avatar for Nick Evan
0
227
Member Avatar for Dakot

hello,i must solve this problem : "Sum all even digits of a given number. That's what i've got so far. [CODE] #include <iostream> using namespace std; int main() { int sum = 0 , num; cin>>num; while(num > 0) { sum+=num%10; num/=10; } cout<<sum; return 0; } [/CODE] the problem …

Member Avatar for burcinerek
0
161
Member Avatar for Tahmod

Hello, This is the program that I need to do: Write a program that will sort an array of 20 integer numbers into descending order. The results must be displayed on the screen in one column. I tried this, me totally confuse. :| I tried to do this program for …

Member Avatar for Schol-R-LEA
-1
269
Member Avatar for gameguy91

#include<iostream> using namespace std; int main() { int n1,n2,n3,n4,n5; cout<<"input number1\n"; cin>>n1; cout<<"input number2\n"; cin>>n2; cout<<"input number3\n"; cin>>n3; cout<<"input number4\n"; cin>>n4; cout<<"input number5\n"; cin>>n5; if(n1 < n2) n1 = n2; if(n1 < n3) n1 = n3; if(n1 < n4) n1=n4; if (n1<n5) n1=n5; cout << "The largest number is\n" << …

Member Avatar for gameguy91
0
257
Member Avatar for Dakot

hello, I have a problem.I want to search by color , gender (these are the options) in a text file (called text.txt). My text file looks like that. How can i do that?) ex. cin>>s , then find for "s" , if found cout all data about him (gender , …

Member Avatar for Schol-R-LEA
0
128
Member Avatar for Dakot

hello , whet i compile , i get these errors , but i dont know where i mistaked g++ -Wall -o "untitled" "untitled.cpp" (in directory: /home/btwnix/Documents/Projects) untitled.cpp: In function ‘std::string bunnynames(std::string)’: untitled.cpp:14:14: error: no matching function for call to ‘tolower(std::string&)’ untitled.cpp:14:14: note: candidates are: /usr/include/ctype.h:116:12: note: int tolower(int) /usr/include/ctype.h:116:12: note: …

0
291
Member Avatar for Dakot

Hello. I trying to solve this problem. The user inputs 4 numbers to each array (they are 2). I must output the common elements. So this is the problem i'm stucking with . Let's say p = 1,2,2,3 p1 = 3,5,1,2 the output is 2 1 3 1 2 but …

Member Avatar for Dakot
0
8K
Member Avatar for SureshAbraham

I have developed some simulations in C++ in the old Borland 3.0 version. They involve only simple mathematics. I need to develop some graphics for them. I need to display different moving images simultaneously. Say, three graphics windows at the same time. I am familiar with the BGI library. However, …

Member Avatar for Dakot
0
282
Member Avatar for Dakot

hello , let me know , what is the best way to learn c++ efficiently , reading c++ books and doing exercises based on the each capter , or read a book , then to solve exercises?. I'm waiting a reply from those experienced people . Thanks.

Member Avatar for Panathinaikos22
0
181
Member Avatar for Dakot

I'm trying to solve this exercise. Write a program that print out the following, user will input the top number: ***** **** *** ** * i made a program similary to this , but user inputs the bottom number ,the output is like this: * ** *** **** ***** here …

Member Avatar for Dakot
0
79
Member Avatar for Dakot

hello , i want to cin n numbers then to sort the positive numbers in one array, the negative numbers in another array , then to print positive array. So let me explain , i run the program , i enter the 9 , then enter 1 2 3 4 …

Member Avatar for Dakot
0
153
Member Avatar for skylinedrifter

Hey fox... got a problem in codding im a newbie at this so take it easy on me ... The question Write a C++ program by completing the following steps: Write a value-returning string function called MonthAbbrev that takes an int value as a parameter. The parameter, month, represents the …

Member Avatar for richieking
0
145
Member Avatar for Dakot

hello , i'm trying to solve this problem [QUOTE]Create a program which generates fibonacci series till a number 'n' where 'n' is entered by the user. For eg. if the user enters 10 then the output would be: 1 1 2 3 5 8 (beginner)[/QUOTE] the problem is that the …

Member Avatar for WaltP
0
181
Member Avatar for seraphina

[CODE]#include<iostream> using namespace std; int main() { int num,factorial(int n) ; cout<<"Enter a number "<<endl; cin>>num; } for(n=0;n<100;n++) { cout<<""<<n<<endl; system("pause"); }[/CODE] where i do wrongly? why i cannot compile?

Member Avatar for rubberman
0
277
Member Avatar for Dakot

hello , i made a election program , here it is [CODE]#include <iostream> #include <cstdlib> #include <string> #include <conio.h> #include <iomanip> #include <fstream> using std::ofstream; using namespace std; string users[4]; char choice2; int votes[100] = {0}; int choice; int totalVotes=0; void votes1() { cout<<"Voting! : "<<endl; cout<<setw(21)<<left<<"(1) To vote " …

Member Avatar for StuXYZ
0
179
Member Avatar for Dakot

Hello all , i have a small problem , i'm writing now a voting program , and i'm a little bit confused , how can i attribute the votes to a certain person? i mean , i enter the value 1 , and this vote must go to the first …

Member Avatar for Narue
0
97