Posts
 
Reputation
Joined
Last Seen
Ranked #360
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
82% Quality Score
Upvotes Received
47
Posts with Upvotes
41
Upvoting Members
31
Downvotes Received
10
Posts with Downvotes
9
Downvoting Members
9
25 Commented Posts
2 Endorsements
Ranked #630
Ranked #377
~223.13K People Reached
About Me

old dog learning new tricks

Favorite Tags
Member Avatar for vegaseat
Member Avatar for Reverend Jim
15
13K
Member Avatar for rajesanthu

[B][COLOR="Red"]Simple C++ program for age calculation[/COLOR][/B] [COLOR="Green"][B]NB:Excuse me experts,,this is only for beginners.........[/B][/COLOR] Instructions//// 1.Copy the code 2.paste it in a text file 3.save the text file as agecalc.cpp and select file type all with in the text file. 4.paste this file inside your bin folder where the Turbo C …

Member Avatar for Youssef Faisal
-4
43K
Member Avatar for Srinivas0

[CODE]#include <iostream> using namespace std; int main() { int a,b,c, ope; cout<<"enter a value" << endl; cin >> a; cout<<"enter b value" <<endl; cin >> b; cout<<"enter operation (+ - * / and %)"; cin>> ope; if (ope == +) { c=a+b; cout<< c; break; } if (ope == -) …

Member Avatar for Hamza_53
2
45K
Member Avatar for AmerJamil

i have to get 2 numbers (each of length 20 digits) from user and have add them and display the result (using arrays) . i have no idea how to add such a long digit number...please tell me how can i add both numbers. your quick response will be highly …

Member Avatar for JamesCherrill
0
1K
Member Avatar for heroares

(create a c program which reads a sequence of daily temperatures for one month, stores them into an array temp and finds the average temperature with a function average.) ı dont know Dev c++ . how i made this? please help me.

Member Avatar for Destaw_1
0
285
Member Avatar for ibthevivin

This program challenge was given to me by my Professor for extra credit. He said it includes some programming that we haven't learned yet in our C++ class. Messed up... Ideally I would love if someone would do this for me, but we all know that's not happening. lol Anyways...could …

Member Avatar for ddanbe
0
3K
Member Avatar for debasisdas
Member Avatar for James_28
8
16K
Member Avatar for SolidSora

I'm trying to write a program that prints out all prime numbers from 1 to 300. It isn't working the way I want it to. Right now it appears to have caused an infinite loop. Here is my code. [CODE]#include<iostream> #include<iomanip> using namespace std; int main(){ for(int i=0; i<=300; i++){ …

Member Avatar for Mahfuz_1
0
306
Member Avatar for blee93

I am doing Project Euler Problem 3, but I seem to get stuck. I have written some code that makes sense (at least to me) but keeps printing the answer to 137. This is the problem: The prime factors of 13195 are 5, 7, 13 and 29. What is the …

Member Avatar for vCillusion
0
356
Member Avatar for predator78

I'm hoping this will stir the pot a bit lol. But in all seriousness if you could get rid of the "need for greed" and "status", and yet not cross to many boundries. Don't you think that this could provide a more reasonable standard of living for everybody? My main …

Member Avatar for mike_2000_17
2
727
Member Avatar for GrimJack
Member Avatar for Paddy

Can anyone recommend a game/games that are similar in style to games such as Grand Theft Auto? I love games that allow you to roam around entire cities/maps without being restricted to any kind of "linear" storyline etc. The only other games I've come across that resemble this style are …

Member Avatar for vinnitro
0
461
Member Avatar for sillyboy

I usually listen to music while I'm browsing here, what are you listening to right now? EL-P - Fantastic Damage

Member Avatar for Helianthus
0
5K
Member Avatar for ~s.o.s~

In case you are not not aware, Stanford has started offering free online courses (as in real courses and not just video lectures) for topics like Database design, analysis of algorithms, CS 101 etc. Classes like database class, AI class and machine learning class are already live and a host …

Member Avatar for Tofayel
3
537
Member Avatar for diafol

Ok, I know I'm in a minority here, but anyway... [I left out the 7th option, "Who Cares?"] :) Six Nations Championship kicked off this afternoon, with the following results: France 30 - 12 Italy Scotland 6 - 13 England Ireland TOMORROW Wales Judging by the performances so far, I …

Member Avatar for happygeek
0
441
Member Avatar for frogboy77

I recently started using Code::Blocks and have written a small program to read in from a file. I think the problem i am having is the file not being found. Where does the IDE search for the file and how would i change this? Can i just input the whole …

Member Avatar for TheNewKid
0
248
Member Avatar for rigoalhn

Hey i guuys, i researched for this topic and there were some close titles to this but none exactly helped me. I need a write a boolean function named IsPrime that takes and integer as argument and returns true if it is. I have to demonstrate it in a full …

Member Avatar for ravingdragoon
0
220
Member Avatar for frogboy77

I am becoming annoyed at the amount of responses on this site saying (something along the lines of) "This thread is 5 years old, please leave it alone.". Then there is often the response (again, something along the lines of) "Please search the site before asking a question that has …

Member Avatar for diafol
1
228
Member Avatar for Megann1120

I'm working on a program that lists a numbers prime factors. I've finished the bulk of the work and all I have left is the first print where it says the number is prime or composite. I know the way I'm going at it is wrong because it wont work …

Member Avatar for Megann1120
0
288
Member Avatar for frogboy77

I disagree with the idea of upgrading or degrading a poster anonymously without a reason. If you want to "score" someone on their post, surely you should have to give a reason why you did so. Do you think anonymous grading is the way to go?

Member Avatar for zeroliken
0
103
Member Avatar for tanvirraj91

can anyone give any link to download "programming with c++" by "d ravichandran"

Member Avatar for Ezzaral
0
71
Member Avatar for droneerror

I am trying to create a prime factorization c++ program, and halted immediately by this "else" error. I would really appreciate some assistance with my coding. I am new to c++, so I am just getting used to the rules. Here is what I have so far: [CODE]#include <iostream> using …

Member Avatar for frogboy77
0
2K
Member Avatar for kmlila

#include<stdio.h> #include<stdlib.h> void main() { double count = 0; int input = 0; int sum = 0; float average=0; while ( count < 20) { printf("Please enter integer number : "); scanf_s("%d" , &input); sum = sum + input; count = count++; } average = sum / count; printf("The total …

Member Avatar for kmlila
0
125
Member Avatar for Nevicar

Hi everyone, I haven't really found much here on how to input into functions and I'm looking for more information on it. Basically my problem is this: I have to make a function that calculates feet into yards, and I'm trying to find out how to make it so I …

Member Avatar for frogboy77
0
224
Member Avatar for Karlwakim

Hi everybody, How can i find out if a number is prime or not ? For example : [CODE]#include <iostream> using namespace std; int main () { int number; bool isprime; cin >> number; /*algorithm .............. .............. .............. */ if (isprime == false) { cout << "Not prime"; } else …

Member Avatar for jaskij
0
248
Member Avatar for frogboy77

Sorry if i'm in the wrong forum but here goes: Does anyone know how to restore a Toshiba Satellite laptop back to the factory settings? The laptop did not come with any back-up discs.

Member Avatar for rch1231
0
80
Member Avatar for firebird102085

HI everyone, like my last post stated I am new to programming so be patient with me. I am having a hell of a time writing this program and I was hoping some of you might be able to give me some quick pointers on the structure I should use. …

Member Avatar for KasmIR
0
128
Member Avatar for arold10

I am writing a program about giving change. But I am having issues with getting remainders for decimal numbers. For instance I am giving $46.63 change I want to know how many $20.00 bills it has, I would have to divide it by 20. 46.63 / 20 = 2.3315 My …

Member Avatar for Ancient Dragon
0
118
Member Avatar for Azmah

I'm looking at using the Deactivate feature of Facebook to temporarily close my account down, without actually deleting it as I wish to come back to it in the future. I'm not sure what it exactly does, as in permanently delete it, temporarily close it or just leave your account …

Member Avatar for Coloradojaguar
0
473
Member Avatar for hekri

I'm an absolute c++ beginner so please be patient. [CODE]#include <iostream> using namespace std; double array_of_5[5] = {1,2,3,4,5}; double sum(double a , double b ); double a= array_of_5[2]; double b= array_of_5[2]; int main () { cout<<"The sum of two members of the array is: " <<sum<< endl; return 0; } …

Member Avatar for hekri
-1
260