Posts
 
Reputation
Joined
Last Seen
Ranked #622
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
50% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #1K
~26.0K People Reached
Interests
Muay Thai
Member Avatar for anny**

hello !! i want to ask that in below program if i want to change cin and cout into printf and scanf then how colud i?Becuse when iam changing my program in cin and cout it is not running :( [CODE]#include <iostream> #include <iomanip> int main () { long number; …

Member Avatar for helo_1
0
4K
Member Avatar for Alex Edwards

Hmm... I've made it my top priority to get a Master's and Ph.D in Computer Science and Software Systems... however I'd like to know what a suitable Master's Thesis would be? I'm thinking about making a book, maybe 6000 pages long, pertaining to nothing but Software ideals and technology. This …

Member Avatar for KelvinG
0
1K
Member Avatar for starletcharmed

Hi, can anyone help me with my code? Im trying to reverse my string using stack... but when it compiles and put in a string and press enter... nothing happens... Any suggestions? [CODE]#include <iostream> #include<stack> #include<string> using namespace std; int main() { stack <string> s; string a; cout << "Enter: …

Member Avatar for d_a_y_o
2
4K
Member Avatar for shopnobhumi

Hi i have just started my c++ class and really having hard time with that.i was assigned to draw a graph which should look like dis : ***** ***** ***** ***** ***** This is what i am trying but getting only this result : ***** * * * * Please …

Member Avatar for kavita_gunaji
0
801
Member Avatar for niranjan.quasar

What is Broken Inheritence in OOP ? What are the reasons for it ? How can we correct such a problem ?

Member Avatar for sidatra79
0
71
Member Avatar for sidatra79

Hi everybody, I am rather new to VBA programming in EXCEL and I could use some of your help. [U]I want to do the following:[/U] In my excel file there are two sheets: SourceSheet and DestSheet. In SourceSheet there are data filling columns A to I and starting from the …

0
65
Member Avatar for tarekkkkk

plz help and yes submit a direct link if u can and thx for advance plz hurry up i have assignment next week i have to finish it lol

Member Avatar for jbennet
0
787
Member Avatar for Lardmeister

We are down to the finish stretch, most likely only two folks to choose from. I have added 'Other' if you don't like any of the two, and you want to write in your own favorite like Captain Kirk, Tammy Baker or such.

Member Avatar for jbennet
0
3K
Member Avatar for Jason123

I have a qns. How can i take out the number in a basic string input and assign them into different integer variable? Not a file input example - string input = "23/4/56" or "23.4.56" int a = 23, b=4, c = 56 [code==cpp] #include <iostream> #include <string> using namespace …

Member Avatar for ArkM
0
173
Member Avatar for ting_ting

this is question and the answer...but i cannot compile it in dev c++ correctly..help me //(a) Get five integer numbers from the user. //( Store the numbers in an array called Number. //© Display all the numbers on screen. //(d) Modify the program so that it prints the reverse of …

Member Avatar for Narue
0
132
Member Avatar for M00nDancer

I found a quite interesting problem on the Internet, and of course, out of curiosity, I tried to solve it. Too bad nothing came to an end :(. The task was to count the alphabet's upper letters appearing in a given text and to print on the screen all the …

Member Avatar for ArkM
0
98
Member Avatar for PhoenixInsilico

[ICODE]#include<iostream> using namespace std; class Point{ float x,y,z; public: Point(float f_x=1.0, float f_y=1.0, float f_z=1.0); void setXYZ(float X, float Y, float Z); void setX(float X); void setY(float Y); void setZ(float Z); void getXYZ(float &X, float &Y, float &Z); float getX(); float getY(); float getZ(); }; Point::Point(float f_x, float f_y, float …

Member Avatar for sidatra79
0
89
Member Avatar for Lokolo

Btw below is the key parts of my code - not all as there are loads of lines: [CODE] //main.cpp #include <iostream> #include "Customer.h" using namespace std; void displayMainMenu(); int enterMainChoice(); void displayAccountMenu(); int enterAccountChoice(); int enterCustomerID(); Customer createCustomer(); void main(void) { unsigned short numberOfCustomers = 0; Customer *Customers[10]; *Customers[numberOfCustomers] …

Member Avatar for minas1
0
165
Member Avatar for afromong

Hi if i want to say if (int <= 0 || int is not a number) how could i do this i want to make sure that a positive number is input not a negative number or word or symbol hope this makes sense

Member Avatar for afromong
0
80
Member Avatar for jbrock31

Hi everyone. I decided to try and learn C++ on my own and i have ran into a problem and i just need slight kick in the butt. :) I am just learning structures and i am practicing using some of the examples at the end of the chapter in …

Member Avatar for jbrock31
0
139
Member Avatar for sidatra79

Hi to all game programmers :icon_cool: I want to implement the following: Short description: [B]A* Star for partitioned space combined with an adaptive partitioning in 3D.[/B] Detailed description: A. Assume that in the 3D space I have an Object (myMovingObject) that I want to it to move from one initial …

Member Avatar for MattEvans
0
208
Member Avatar for cproud21

The assignment calls for me to find the area with the fewest accidents (north, south, east, west, central) in a city. I am to write two functions: -getNumAccidents() is passed the name of the region. It asks user for the number of auto accidents in the region, validates info, and …

Member Avatar for sidatra79
0
75
Member Avatar for clutchkiller

Is there a way to center align [COLOR="Red"]"text"[/COLOR]using cout<< in regards to the console screen position? thanks

Member Avatar for sidatra79
0
72
Member Avatar for wonder87

Hi all! As a person who has not a Computer Science degree(I am a poor web developer!),but having much desire to learn as much as I can about CS topics,I have a (maybe easy ) question about the recursive algorithm that solves the "Towers of Hanoi" puzzle. I can understand …

Member Avatar for aashish.raina
0
371
Member Avatar for DemonGal711

I have to fill in a 2^n by 2^n board that has a hole in it with tiles that look like the example below. The tile we have to use is the combination of the 1's in the image below and the 0 is the hole (cause I really don't …

Member Avatar for DemonGal711
0
175
Member Avatar for Jason123

I am required to create a program that will allow user to enter employee name,age and update salary later on. After which able to generate out the details. I am trying to declare a class object in the form of an array so that i can input data and then …

Member Avatar for Jason123
0
183
Member Avatar for dtaylor01

Can someone take a look at my code and see if they notice something wrong. [ICODE]int score; char grade =0; // read in total score cout << endl; cout << "Enter total score (float, must be <= 100): "; cin >> score; if (score >= 85); grade = 'A'; else …

Member Avatar for chococrack
0
233
Member Avatar for tefismp

Someone out there please help me i must do a function for a bucket sort but i dont know how and the only things i must use are normal arrays and pointers no strange functions and libraries i need the code in c++ please i know what the program does …

Member Avatar for Freaky_Chris
0
160
Member Avatar for LADY187

Hi i did the simple part of my project and got it to run but now i have to add in prototypes. can someone please help bool validRadius(double); bool validLengthAndWidth(double, double); bool validBaseAnd Height(double, double); I will also create functions which will calculate the area of the various geometric objects. …

Member Avatar for LADY187
0
99
Member Avatar for Trekker182

I'm trying to make my first base class header file and an inherited class from it. I've compared the syntax with at least two other examples that we did in class and they match, yet I'm getting a lot of errors when I try to compile. This is the code …

Member Avatar for sidatra79
0
106
Member Avatar for NinjaLink

I am currently doing classes, but I am unable to print out my cout statements in the "elmo.modifyALL" function. I can get the other stuff to print correctly so far. This is my first time doing this kind of program, so I do not understand why I can't get cout …

Member Avatar for NinjaLink
0
114
Member Avatar for Avaviel

I'm having trouble with a program with class. When it runs, on the screen and on the file it shows one output, the last one in the input file. It USED to work, untill I tried to get fancy and add some other code... that will be below the main …

Member Avatar for Avaviel
0
336
Member Avatar for Se7Olutionyg

[CODE]#include <math.h> #include <iostream> using namespace std; void instruction(); int calculator (char); void divide_by_zero (); float do_next_op (char, float, float); int main() { //input char input; float accum,num; // instructions (); void intruction(); accum = 0 ; do { //get input cout<< " : " ; cin >> input; cin …

Member Avatar for sidatra79
0
101
Member Avatar for Kanvas

I've been trying to work it out for more than 10 hours already and still can get pass this The basic skeleton is like this [code] class BST { public: .... void insert (const device & aDevice); ..... private: ..... }; class device : public BST { ..... }; [/code] …

Member Avatar for sidatra79
0
177
Member Avatar for efr100

Hi all I am new here and I am currently enrolled in a programming course at my local community college. (Programming Logic and Technique) Now for some reason, every time I take a computer related course, I always get a foreign teacher who has a strong accent making it very …

Member Avatar for sidatra79
0
78