Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
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
~5K People Reached
Favorite Tags

11 Posted Topics

Member Avatar for steve.dannay
Re: C++

//ThisProgram is about CLS,A Command Prompot //Command used to Clear the screen #include<iostream> using namespace std; int main() { cout<<"Hello World!!"; system("cls"); cout<<"How Are You "; cin.get(); return 0; }

Member Avatar for underjack
0
148
Member Avatar for mabdullah4

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; …

Member Avatar for AssertNull
0
3K
Member Avatar for mabdullah4

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) { …

Member Avatar for AssertNull
0
360
Member Avatar for AKRAM83

`int Product_Name;` The problem is in this code.You can't save a name into a Integer variable. `string Product_Name;` use this one..

Member Avatar for mabdullah4
0
238
Member Avatar for mabdullah4

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 …

Member Avatar for AssertNull
0
209
Member Avatar for akdser6
Member Avatar for mabdullah4
0
120
Member Avatar for selfTaughtCPP

#include <iostream> using namespace std; //FUNCTION DECLARATION float convertCelsiusToFahren(); float convertFahrenToCelsius(); int main() { int request = 0; cout << "Simple Temperature Conversion Program\n"; cout << "=======================================\n\n"; cout << "Choose one of the below to convert \n\t1) Celsius to Fahrenheit \n\t\t OR\n\t2) Fahrenheit to Celsius? " << endl; cin >> …

Member Avatar for tinstaafl
0
183
Member Avatar for pauline.zorilla

//Hope This Helps #include<iostream> using namespace std; int main() { int size=0,x=0; cout<<"Enter The Size of Message "; cin>>size; char message[size]; cout<<"Enter Message "; cin>>message; for(int i=0;i<size;i++) { for(int j=0;j<size-1;j++) { if(i!=j && message[i]<message[j]) { char temp=message[i]; message[i]=message[j]; message[j]=temp; } } } for(int i=0;i<size;i++) { cout<<message[i]<<endl; } system("pause"); }

Member Avatar for AssertNull
-2
132
Member Avatar for Muhammad Arslan_1

//Hope this Helps #include<iostream> using namespace std; int main() { int i=1,y=0,x=1; int number=0; cout<<"Enter Number to Find Square Root "; cin>>number; for(i=1;i*i<=number;i=i+1) { y=i*i; x = (i+1) * (i+1); if(x>number) { break; } } cout<<"The Square of the Number is "<<i<<endl; system("pause"); }

Member Avatar for mabdullah4
0
195
Member Avatar for mabdullah4

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))

Member Avatar for hericles
0
109
Member Avatar for mabdullah4

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 : "; …

Member Avatar for tinstaafl
0
281

The End.