. . . . int i=10; int j=0; while(j<i){ while(i>0) { cout<<"&"; i--; } j++; }[PHP]
Sorry my code in c++ not in c and my compiler is g++
void SinglyLinkedList::reverse() { /******************** Node* currentFirst; Node* currentLast; currentFirst=first_ptr;...
declare the array as int long arr[mes]; int long ar2r[size];
Why don't try this code? void QuickSort(int start, int end, int arr[]) { if (start >= end) return; int p = (start...
Take this wep sites http://www.cplusplus.com/forum/beginner/ http://www.cplusplus.com/doc/tutorial/ I learned that I read and think it is good...
I can write the cod by C++ take ... .. .. while(!cin.eof()) { .. ... ... .. int n; cout<<"Please Enter a value or EOF to...
Why don't you use a Stack or queue?
write in the DOS screen help all the commands will appear
don't forget to writel #include<ifstream> using namespace std;
I think yoy should read the value from the file int main () { string line; ifstream myfile ("example.txt"); if (myfile.is_open())...
Hi guys when I tried to search in kinked listby binary search it's written in the output "Segmenationfault" I want to solv this problem...
Hi guys when I tried to search in kinked listby binary search it's written in the output "Segmenationfault" The code#include<iostream>
Separate names with a comma.