sAntHoshH
McwGCC
Anonymous
You can write and compile C/C++ programs directly in a linux terminal using gcc/make & nano.
Anonymous
hi guys
Anonymous
i gonna be a programmeker
Mikhail
No, you won't
Anonymous
can u recomend me smth
Anonymous
Anonymous
?
Anonymous
is there some thing wrong?
Mikhail
I am just Vanga
Anonymous
what does it means Vanga?
Mikhail
Vanga was a woman and she saw a future
Anonymous
Lol
Anonymous
can u recomend me smth?
Cristóbal
Does anyone know if setrlimit has more priority than the file limit specified in the systemd service?
Anonymous
what`s  up ever one im going to learn programming can you help me
Mikhail
Hi, what kind of help are you looking for?
Oluwaseyi
please help me out with this code..., I am having program with finding largest and smallest
Oluwaseyi
#include <iostream> using namespace std; int main() { int ArrayNo[5]; int largest; int smallest; int i; for (i=0; i<5; i++) // Loop for User to Enter the Element of Array { cout« "Please enter the Element of An Array" «endl; cin»ArrayNo[i] ; largest = ArrayNo[i]; smallest =ArrayNo[i]; } for (i=1; i<=5; i++) // loop test for largest and smallest { //test for Largest if (ArrayNo[i] > largest) largest = ArrayNo[i]; //test for smallest if (ArrayNo[i] < smallest) smallest = ArrayNo[i]; } cout« "The Largest Value in the Array is: " « largest« endl; cout«"\n"; cout« "The lowest Value in the Array is: " « smallest« endl; return 0; }
Anonymous
using namespace std; is correct
Anonymous
If you don't insert it you must do for example: std::cout << "Hello world!" << endl;
Oluwaseyi
No the program runs... just finding the largest is the problem
Anonymous
I have an xml file and want to output all the URLs in XmlUrl=" " to a separate file. Help.
Anonymous
Sorry, left by mistake.
Anonymous
Anonymous
I'll be back in some time. Bye
Anonymous
Ohkay! I'm back.
Anonymous
So basically there's an xml file with some URL's in between inside xmlurl=" " tag. I want only the URLs
Anonymous
Is there something I can do to automate this task of removing rest of the content?
Anonymous
You can
Anonymous
Also, the second for loop should be from 0 to <5 .. shouldn't it?
Anonymous
That's how teachers teach to do it lol
°_°
Wait
°_°
You need max and min of an array?
Anonymous
You need max and min of an array?
Yeah he basically inputs 5 numbers and want the max and min out of them
Kelvin
You need max and min of an array?
Array size has to be set before elements can be added. Also can't be resized. Vectors automatically grow and setting initial size is optional.
°_°
#include <iostream> Using namespace std; int main(){ int max=0, min; int vet[5]; for (i=0; i<5; i++) { cout<<"Enter the number: "; cin>>vet[i]; if(i==0) Min=vet[i] If(vet[i]<Min) Min=vet[i] If(vet[i]>Max) Max=vet[i]; } cout<<"Max:"<<Max; cout<<"Min:"<<Min; Return 0; }
°_°
Wait
°_°
int max=0, min;*
Kelvin
Holy shit bro. Wait let me get to PC.
Anonymous
Holy shit bro. Wait let me get to PC.
I need to finish my configs too lol
Anonymous
Can't use PC rn :/
°_°
Mh
°_°
The problem is the largest
°_°
?
°_°
Hey
°_°
It works
°_°
Just write i=0 in the second for
BobPaul
R we restricted to only c and c++ or we can go overboard...?! Just enquiring
Ammanuel
can you make iOS and Mac app by c++
Anonymous
Anonymous
For iOS atleast .. not sure about Mac
Ammanuel
you mean to hybrid the app with c++ and the swift
Anonymous
Swift is required mainly But I have never done it so idk if you can use c++ or not
Ammanuel
okay what about C
Anonymous
Should be the same case mostly
Anonymous
I have downloaded the Turbo cpp but it doesn't accept installation to my system. Kindly help
Anonymous
Anonymous
Why plz?
Anonymous
What's the error? Also I won't suggest you to use turbo cpp
Which one should I go for?2ndly, what WinRAR
Anonymous
What about WinRAR
Anonymous
It's work
Anonymous
And why don't you recommend turbo c++
Anonymous
The ide is not user friendly
Daniele°