Dharmaraj
Which ones?
Dharmaraj
Sorry I am new
Anonymous
Anonymous
?
Dharmaraj
?
Can u help me?
Anonymous
Wait
Aman
What exactly do you want output
He wanted to terminate the loop as when scanf() scans some value. Now the code is working
Dharmaraj
You can use ios::fstream::app
Sorry again but I am a student and new to C++.. Not familiar with :: terms.. isn't there any other way .. I mean look my code . Looks like a fresher right?
Dharmaraj
Okay I have something in mind, can we execute that?
Dharmaraj
While getting an output :- for example -- int i; int limit = 5; for(i=1; i <= limit; i++)
Dharmaraj
Output is something like 1 2 3 4 5
Dharmaraj
Cant we do the same in File names?? So it's automated
Dharmaraj
no its not
Sorry and NVM , I guess u got what I meant???
BinaryByter
if you want lol
Dharmaraj
How 😭😭
Anonymous
Where you get this question ?
Dharmaraj
Where you get this question ?
Sort of Personal project
Dharmaraj
Nvm if anyone is free: Can you make a small template for it? Like :- #include <iostream> #include <anyHeaderRequired> using namespace std; int main() { //code }
Dharmaraj
Just the //code part 😕
Dharmaraj
Just the part I want to learn ... And without :: if possible 🙄
BinaryByter
Just the part I want to learn ... And without :: if possible 🙄
how about you stop making us do your homework and learn?
Dharmaraj
It not homework
Dharmaraj
I surfed over internet since 4 hours . And searched for Tele group.... For c++
Dharmaraj
Thank you in advance 😄
BinaryByter
I surfed over internet since 4 hours . And searched for Tele group.... For c++
tell me: did you skip all the solutions that contain a ::?
BinaryByter
wait can you use cout without using ::? 🤔
Dharmaraj
Yes I can
Dharmaraj
cout << "Your Text" << endl;
Dharmaraj
No -_-
Dharmaraj
It works
BinaryByter
It works
remove using namespace std;
BinaryByter
its a bad practice
BinaryByter
I should stop helping beginners, it makes me get angry 🤔
Dharmaraj
remove using namespace std;
Then I gotta make #include <iostream> To #include <iostream.h> ?
Dharmaraj
its a bad practice
Is that wrong C++ ?
BinaryByter
Is that wrong C++ ?
no, just a bad practice because it could shadow other includes
Dharmaraj
no?
Not sure: wherever there was using namespace it was just iostream.. rest ... It was iostream.h
Dima
2099
BinaryByter
2099
lol
Dharmaraj
I tried this:- i+"file.txt" And failed -_-
Dima
spoiler: pure C with classes
BinaryByter
spoiler: pure C with classes
C++1999 wasn't pure C with classes
Dima
I am talking about 2099
Dima
back2roots
BinaryByter
,oh
Dharmaraj
Dharmaraj
Hello
Dharmaraj
Suppose I created a program
BinaryByter
we don't help crackpots
BinaryByter
lol
Dharmaraj
Which has 5 cout lines.. means 5 lines of output
Dima
add one more and it will be six!
Dharmaraj
Not I wish to delete the last line .. how do I?
BinaryByter
Not I wish to delete the last line .. how do I?
are you sure you are ready to take on a personal project?
Dharmaraj
??
Dima
two plus two is four minus one thats three quick maths
Dharmaraj
Yeah I am building stuff on my own ideas
Dharmaraj
It's not homework
Dharmaraj
I guess links are not allowed so I won't post my YouTube link 😐
Dharmaraj
we realized
Oh ty 😋
BinaryByter
Oh ty 😋
thats your youtube channel?
BinaryByter
so 1) the song is awesome, one of my favourite osu! maps
BinaryByter
2) stop being a skid
Dharmaraj
Yeah, I make programs for practice purpose then I thought I'll just record then upload
Dima
skraah
BinaryByter
Which song?
in the video
Dharmaraj
in the video
Wait it was deleted then how u saw it?
BinaryByter
Wait it was deleted then how u saw it?
the bot is slow at deleting messages
Dharmaraj
Oh ok