n
hi i need a help in reading a snippets ,
n
hi i need a help in reading a snippets ,
what is first line , why declaring a variable have 2 parentheses ?
n
and second question how come a reference and pointer in first "if" condition check ,can a refence and pointer to reference have different value ?
n
would you please send me link to read about it
n
i am android developer but some one ask me to help him out
Anonymous
What is the cause of this error?
i hope you have used get instruction on integer type or u've recover any value with the bad type: just like int target ; cin.get(target); char codeLetter; cin.get(codeLetter);
.
https://www.google.com.au/amp/s/www.geeksforgeeks.org/function-pointer-in-c/amp/
n
thank you for your time , i appreciate it
Gulshan
why this error ? I have used D1 as an object
Anonymous
Learn more about local and global scopes
Talula
why this error ? I have used D1 as an object
Are you trying print D1 Object?
Talula
And btw screen shots are not allowed.
Gulshan
And btw screen shots are not allowed.
screen pic is not allowed ig
Anonymous
yes
Send the code and error via a bin services
Vlad
why this error ? I have used D1 as an object
Why operator<< doesn't take a const parameter?
Gulshan
why this error ? I have used D1 as an object
https://del.dog/lellohixaw.txt
Gulshan
But it still showing the same error
Gulshan
And says that class distsnce is ambigous
Vlad
And says that class distsnce is ambigous
it's cuz you're doing using namespace std;
Vlad
And std already has one
Vlad
That's why it's very discouraged
Gulshan
it's cuz you're doing using namespace std;
I am using it becoz it don't how to use std:: with that output steps
Vlad
I am using it becoz it don't how to use std:: with that output steps
So you'd rather have your code uncompiled? :P
Gulshan
So you'd rather have your code uncompiled? :P
Got another a different typpe of error after commenting that "using..."and using std:: .. Will you plz try the code
Gulshan
I ain't a telepath ya know. Cant read minds
I am just trying to learn input/output operator overloading
Gulshan
I have the actual correct code... I tried to write the code on my own, but for somelines its showing errors
Gulshan
https://del.dog/gilyputape.txt
Vlad
https://del.dog/gilyputape.txt
1) You haven't got rid of the using namespace std; 2) There are no errors text
Gulshan
1) You haven't got rid of the using namespace std; 2) There are no errors text
It is the answer writen on a webpage... Its not my code
Gulshan
It is the answer writen on a webpage... Its not my code
After removing that "using..." Line, I am facing some error " no know conversion arg"
Gulshan
And that scope error too
Gulshan
https://del.dog/lellohixaw.txt
Moral of the story is , classname should start from a capital letter
Gulshan
But here class name doesn't starts with a capital letter
Vlad
Moral of the story is , classname should start from a capital letter
Moral of the story is don't using namespace std; in global scope
Gulshan
Moral of the story is don't using namespace std; in global scope
😂 Its giving errors, please tell where should I use "std::"
Gulshan
I only that we use them with cout cin endl
Vlad
std::ostream etc
Vlad
got an error? put std:: there. simple stuff
Gulshan
Pasted successfully! Dogbin URL : https://del.dog/ephulycasa.txt
Gulshan
https://del.dog/ewuhastyhi.txt
Erikiudzia
Helloo guys, Im newbie in C so I would like to ask some questions. I need to make a program with 1. 10array elements(done that) 2. If i write down negative or a number over 50 it needs to ask correct number(below 50 or not negative) 3. and a program needs to find lowest and highest number of 10 inputed numbers. Sorry for my English but hope you understand, thanks in advance!
Vlad
stop doing screen shots like this
Anonymous
😂
Anonymous
Put the scanf in a variable so that you can use if variable<0 && variable>50 Also , use a pasting bin service , don't post screenshots or photo of code here
Erikiudzia
one sec
Erikiudzia
Anonymous
This is called cropped screenshot , I said use a pasting service , like for example pastebin
Vlad
Ow, he got on the next level. He discovered snipping tool
Vlad
What shall be next?
Hadaward 'Solly'
hopefully not picture from smartphone
Anonymous
What shall be next?
He's going to put a picture of the code written in a notebook
Erikiudzia
What shall be next?
you must be the funniest guy in this group
Erikiudzia
take a break my friend 😙
Hadaward 'Solly'
that's off-topic
Hadaward 'Solly'
but just fyi, he's 2nd or 3rd place at most
Vlad
you must be the funniest guy in this group
sarcasm fluctuations are too strong with this one
Hadaward 'Solly'
#ot
Igor🇺🇦
What help do you need here?
Anonymous
Also I think assign that scanf to a variable..
Anonymous
Maybe not , idk
Tony
Cppbookguide
Dada
Guys does anybody have a good c++ STL cheatsheet?
Roxifλsz 🇱🇹
Guys does anybody have a good c++ STL cheatsheet?
>C++ STL >cheatsheet Yeah maybe if you're okay with a cheatsheet that covers all the walls of your room
Igor🇺🇦
Guys does anybody have a good c++ STL cheatsheet?
Do you mean something like https://www.fluentcpp.com/getthemap/? From this video: https://youtu.be/2olsGf6JIkU
Anonymous
pls gimme a way to calculate the log3(n) in a log3(n) time its impossible
Anonymous
can't even think of an algorithm and I god knos I googled
hdjdjdjjdj
guys, is it possible in anyway to create a telegram bot using C