Posts
 
Reputation
Joined
Last Seen
Ranked #153
Strength to Increase Rep
+11
Strength to Decrease Rep
-2
98% Quality Score
Upvotes Received
152
Posts with Upvotes
134
Upvoting Members
84
Downvotes Received
4
Posts with Downvotes
4
Downvoting Members
2
38 Commented Posts
~333.34K People Reached
About Me

Mathematical software developer

PC Specs
Windows 7 Visual Studio 2013
Favorite Tags
c++ x 660
c x 32
2d x 25
qt x 11
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 marsh_mallows11

Create a program that would convert a decimal number to either binary, octal or hexadecimal counterpart. Your program should ask the user for decimal with a data type of a long integer (4 bytes or 32bits in length or having a range of +2147483647 to -2147483648, or 4294967296 if unsigned). …

Member Avatar for Lesther_1
0
10K
Member Avatar for mahdi2592

I have three objects in a class (channelManager) that i need to call in my main class in order to output a message but i can't seem to know how since i'm not a c++ expert. I think my porblem is that i don't really understand the arguments of these …

Member Avatar for ravenous
0
309
Member Avatar for dyingatmidnight

Hello, I've been in the process of teaching myself C++, going through different tutorials and like. Anyway I was working on a fibonacci sequence program - I looked through the practice problems here and decided to do them all from beginner on upward. I thought I had it working only …

Member Avatar for Jimmy_7
0
210
Member Avatar for usingnamespace

Salutations! I am having a lot of trouble trying to create a program that will test the validity of a user entered password. Below is the criteria of the test: 1. The password must be 6 digits long entered as a single integer (assume no leading zeros are entered – …

Member Avatar for ravenous
0
251
Member Avatar for khaled02

Hi, I hope you can help me out of this because i really dont understand how to fix this code anymore, i tried and tried and it don't work. When i debug this code in Microsoft Visual Express 2010, it says the following erros are: 1>------ Build started: Project: Adreesbook2, …

Member Avatar for khaled02
0
236
Member Avatar for norEdz

how to do this? write a c++ program that given the name of a text file reads that file and counts the number occurrences of each alphabetic letter in the text. treat upper and lower case instances of a letter as the same letter. hint: look up tolower()---testing the case …

Member Avatar for David W
0
11K
Member Avatar for Ahmed91za

hello i'm trying to figure out how to write a program in c++ that check when i insert a password and force me to add at least 2 capital letters and 2 numbers in the password (you've seen this before right? when signing up for new account and checks for …

Member Avatar for ravenous
0
281
Member Avatar for can-mohan

Hi, As we know constructor doesn't have any return value so it is not good idea to perform exceptional handling inside constructor.SO i would like to know if i am opening a file inside constructor and due to some reason (file not exist) failure happened inside constructor then how to …

Member Avatar for can-mohan
0
383
Member Avatar for Learner010

Yesterday i completed my exercises on loop , that's why today i've decided to create a tutorial on loop in c++. # Loop # loop allows us to repeat a statement or a group of statements. When we want to repeat a single statement then it is not necessary to …

Member Avatar for Markland
7
675
Member Avatar for MrXortex

Hi I coded a program where you can reverse the contents of an array. But I used two arrays to complete this process, I want to make it work by using only one array. Here is my code so far, it works btw, just need to make it work by …

Member Avatar for tinstaafl
0
456
Member Avatar for can-mohan

Hi Guys, In below code you can see that i am able to execute the functionality of class a , inside the class b through composition and object of b can be used to call the methods declared inside the a class. #include <iostream> using namespace std; class a { …

Member Avatar for can-mohan
0
423
Member Avatar for daniel1977

Greetings Team: This code looks pretty decent. The program runs but it is incomplete. I need help making the program below work better. I did a MAIN function and the following funcations to compute the stress and strain in a steel rod of diameter D (inches) and length L (inches) …

Member Avatar for ravenous
0
168
Member Avatar for tentrabyte

Guys I need help. can you help me determine what are the things that i'll used to run my program like this: Enter 5 numbers but refuse to display if the value is an odd number. Display only even numbers and the sum of all even number. I'm not asking …

Member Avatar for tentrabyte
0
298
Member Avatar for johans22

vector<vector<double>> v2d(2, vector<double>(3,0.0)); How later on reset all elements back to 0.0?. How to clear vec entirely, free memory?. Are there any performance degradation in using vector arrays verus conventionl arrays using new or malloc?.. What can be done to minize such degradation if any?.

Member Avatar for ravenous
0
297
Member Avatar for obinaysamanoden

Average #include <iostream> #include <cstdlib> using namespace std; bool check(double element[], int count); int main() Average #include <iostream> #include <cstdlib> using namespace std; bool check(double element[], int count); int main() { char redo; do { system ("cls"); double elements = 0, i = 0, j = 0, average_elements = 0; …

Member Avatar for David W
0
270
Member Avatar for manofprogram

I do not know how to open audio, video, or picture files and modify there contents. Are accessing and updating those types of files the same as accessing and updating notepad text files with extension .txt?

Member Avatar for ravenous
0
94
Member Avatar for Fenrir370

So im doing an assignment for class and im not sure what/how to proceed, im struggling with storing randomly generated numbers in an array and then calling on them later to display how many times the random number has been called them. as you might notice i already have my …

Member Avatar for Fenrir370
0
252
Member Avatar for khess

I'm a fairly prominent member of the Linux Community as a writer, contributor, and longtime evangelist for the cause and there are a few things I'd like the Community-at-Large to consider on my behalf. These are five things that I wish Linux had. Consider this as my wish list for …

Member Avatar for rubberman
0
683
Member Avatar for Vasthor

[Click Here](http://s27.postimg.org/syqganxir/New_Bitmap_Image.png) "Having a container of pointers raises the question of how to destroy it. If you simply "do the right thing" and define a FilmList destructor that visits each of its pointers and deletes it, you must then worry about client code that contains a function with a FilmList …

Member Avatar for mike_2000_17
0
345
Member Avatar for Vivek_12

#include <iostream> #include <string> /*i want to compare string and char as char is a subset of string*/ string S [50]; //algorithm is somewhat like: i=0; while(i<23){ char c = (char) i; S[i] = c; } for(i=23;i<50;i++){ S[i]="hello"; } //i want to check how many hello are there i=0; x=0; …

Member Avatar for Vivek_12
0
462
Member Avatar for nathan.pavlovsky

Hello! I was creating a custom array class as an exercise in my exploring of class and function templates. Here's my header file: #include <iostream> template <typename el> class Array { friend std::ostream &operator<<(std::ostream&,const Array&); friend std::istream &operator>>(std::istream&,Array&); public: Array(const int& arraySize=0); //set all members of array with size arraySize …

Member Avatar for mike_2000_17
0
8K
Member Avatar for softwaretime

Well this is quite a large program so there is a lot of information to sort through, but when I compile it now it comes up with this: /Users/Adam/Adam's Work/Programming/C++/Code/OS2.cpp: In member function ‘virtual int dbase::todo()’: /Users/Adam/Adam's Work/Programming/C++/Code/OS2.cpp:393: error: invalid conversion from ‘const char*’ to ‘int’ /Users/Adam/Adam's Work/Programming/C++/Code/OS2.cpp:394: error: invalid …

Member Avatar for frank.dekievit.50
1
13K
Member Avatar for runningirl

Hi, I would like to know the code for this problem: Write a program that asks the user to enter 5 numbers and display the numbers in descending order in iostream.

Member Avatar for dereje mulie
0
86
Member Avatar for chubbyy.putto

I am creating 30 random from last function and the last function have pass the information to this one. I am using the bubble sort because i want to make a mode. But mode is not idea here. Anyway, it run but it show some crazy output. Here is the …

Member Avatar for chubbyy.putto
0
257
Member Avatar for priya.chitroda

Create a structure for a classroom. Make sure it includes the following: Room Number, Lecture Name, List of Students, Number of chairs, Window (Yes/No), Projector (Yes/No), Available(Yes/No). Instructions: Create functions that allow you to add data to the attributes of the classroom. Create functions that allow you to print out …

Member Avatar for james.opdyckeii
0
121
Member Avatar for Labdabeta

I need to know which of these three copies of code is considered best. I also need to which one is more efficient memory wise and which is more efficient time wise. Thanks: enums [CODE]enum MyEnum{EnumTypeOne=1,EnumTypeTwo=2,EnumTypeThree=4,EnumTypeFour=8};[/CODE] macros [CODE]#define EnumTypeOne 1 #define EnumTypeTwo 2 #define EnumTypeThree 4 #define EnumTypeFour 8 typedef …

Member Avatar for Ancient Dragon
0
1K
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 triumphost

In the two for loops below, I want the checksum variable to hold the same value for both even though one loop starts at row 12 and another at row 0. Any ideas how I can combine these loops so that I don't have to iterate the same buffer twice? …

Member Avatar for triumphost
0
841
Member Avatar for rajesanthu

[B]Simple C++ program for billing[/B] NB:Excuse me experts,,,,,This is only for beginners 1.copy and paste the program in a notepad 2.save the textfile with .cpp extension 3.select file type all 4.cut the textfile and paste it in your bin folder where turbo c is located 5.open turbo c and open …

Member Avatar for Monu_1
-4
10K