- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 4
- Posts with Upvotes
- 4
- Upvoting Members
- 3
- Downvotes Received
- 4
- Posts with Downvotes
- 3
- Downvoting Members
- 4
Re:
Hi, First of all, I'm a newbeginner in C++. Ok, basically I'm tring to make a calculator with functions. Every function calculates either addition, subtraction, division or multiplication, pretty simple. Though I can't get it to call these functions! Here, take a look at my code: #include <iostream> using namespace … |
|
Re:
write c++ code that has a function int GreaterThan (int array [], int size, int searchItem). The fucntion should count and return number of elements in the array greater than SearchItem. you are free to generate the element randomly or let the user enter them, the size must be less … |
|
Re:
A program to accept marks of six subjects for ten students and display thier total marks |
|
Re:
Hi, i'm trying to delete last node of linked list and print the remaining list at each step. for this i created 'Print' function. please take a look at this code: struct Node{ int data; Node *next; }; void Print(Node *head){ if(head==0) return; else{ Node *temp=head; Node *prev=head; while(temp!= NULL){ … |
|
Re:
Dear Friends: I am working on a prject and I am receiving these three errors: Warning 1 warning C4244: 'argument' : conversion from 'time_t' to 'unsigned int', possible loss of data F:\College Material\CS270\SourceCode\Exec11_14\Exec11_14\BST.cpp 18 1 Exec11_14 Error 2 error C2664: 'bSearchTreeType<elemType>::postorderInsert' : cannot convert parameter 2 from 'bSearchTreeType<elemType> **' to … |
|
Re:
Hey guys i am having trouble with creating a Parent class(gameobject) for two other child classes(player,location) both of the child classes can access data from the parent class, and work well independently but once i include the h file for the child classes together in main.cpp i get the compiler … |
|
Re:
includ<iostream> includ<conio> using namespace std; int x,z; char op; switch(op);{ cout<<"input two a rate"; cin>>x z; cout<<"category operator ( + , - , * , / , %)"; cin>>op; swich(op) case'+':cout<<"opertor +"<<x+z<< endl; break; case'-':cout<<"opertor -"<<x-z<<endl; break; case'*':cout<<"opertor *"<<x*z<< endl; break; case'/':cout<<"opertor /"<<x/z<<endl; break; case'%':cout<<"opertor %"<<x%z<<endl; break; default:cout<<"your are false"; … |
|
Re:
I am supposed to write a program that asks for the name of a pole vaulter and the dates and vault heights ( in meters) of the athlete’s three best vaults. It should then report in height order ( best first), the date on which each vault was made, and … |
|
Re:
//arr is the array int length;//for recive the array size length=sizeof(arr);//recive the array size cout <<length; length=length/sizeof(typeid(arr));//calculate the number of elements cout << sizeof(typeid(arr)); i'm using these code for calculate the number of elements in array. sizeof(typeid(arr)) these line is for give the type size, but isn't correct can anyone … |