- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
I want from program that it force the user to input valid value.When ever user enter caharcter in integer valriable it force the user to input the right value.But this does not work.If user input invalid value it start looping. #include <iostream> using namespace std; int main() { int x; … | |
Why This Program is not Changing Directory from C:/ to H: Drive or D: Drive. #include<iostream> using namespace std; int main(int a,char *b[]) { int option; cout<<endl<<"Enter 2 for 2nd Semster Programs "<<endl; cout<<endl<<"Enter 3 for 3rd Semster Programs "<<endl; cin>>option; if(option==2) { system("D:"); system("explorer ."); } else if(option==3) { … | |
Re:
Hi all, I need program that has the following: a) Create a structure that represents the product in the inventory. b) Insert 5 different product details into the inventory. c) Display the name of the most expensive product and the main information is: Product ID: 5 characters Product Name: 50 … | |
When I enter 2 values the third one is garbage..Don't Know why.. #include<iostream> #include "Size_Decider.h" using namespace std; int main() { int size=0,Encoded_Matrix_Column=1; cout<<"Enter The Number of Digits "; cin>>size; int *Digits= NULL; Digits = new int[size]; Encoded_Matrix_Column = matrix_size_checker(size,Encoded_Matrix_Column); cout<<"It Has "<<Encoded_Matrix_Column<<" Columns"<<endl; cout<<"It Hass 3 Rows"<<endl; //Intilizing every … | |
Re:
i have an assigment to solve a mathemathical problem of rolling ball its height decrease by 1/4 of its original height. please give me an example. thank you | |
Re:
Hi there. I am new to cpp and self-taught. I tried playing with switch case and functions. But the output of this simple temp conversion program does not work as expected. I get wierd numbers in output. I even tried initializing the variables, still no use. I have indicated in … | |
Re:
Create a program that will input 5 strings/words. Arrange them in alphabetical order. | |
Re:
Write a program to find the integer square root of a given number.That is the largest integer whose square is less than or equal to the given number. | |
Can anyone tell me about these lines that why we use them in our program during filehandling process..Thanks in advance.. :) int pos=(-1)*static_cast<int>(sizeof(account)) | |
I can't Delete a specific record from my program.I need Your Help Guys.Thank's in Advance.. #include<iostream> #include<fstream> using namespace std; class teacher{ long long cnicno; char name[30],fathername[30],address[50],grade[10]; public: void input() { system("cls"); cout<<"Enter CNIC.No without '-' : "; cin>>cnicno; cout<<"Enter Name : "; cin.ignore(); cin.getline(name,30); cout<<"Enter Father Name : "; … |