Xavi
Oh😅 assignment file
Anonymous
Undefine winmain
Xavi
Is it showing u Run time error?
Xavi
I had run it successful
Xavi
But it was logical error
Anonymous
Yes
Anonymous
Program has no define "winmain"
Xavi
Give me ss
Pavel
Undefine winmain
It looks like you accidentally made a windows application project, rather than a console project
Xavi
Of that line number
TrUstEd
Yeah
TrUstEd
entry
Francisco
I'm kind of advance
Francisco
That's okay. But advance doesn't mean that I know everything pretty well
Francisco
In fact, I lack knowledge of many parts from C++
Aspire
Hii I wnt to knw when i use this function * int q2q (int a) { Int b= a / 1000; Return a / 100 - b * 10; } And print a no. Like 12 output is 0 When i put 123 it gives 1 1234 o/p 2 2345 o/p 3 4567 o/p 5 10000 o/p 0 Why it happens ? I mean what it actually does ??
Aspire
Why it is giving 2nd digit of input, when i put anyy statement of more than 2 words
Mat
/warn what's that
klimi
It is
klimi
/warnings
klimi
No
klimi
/warns
klimi
There
klimi
No problem
Mat
Mjölnir is serving me well
MᏫᎻᎯᎷᎷᎬᎠ
void
MᏫᎻᎯᎷᎷᎬᎠ
Yeah
MᏫᎻᎯᎷᎷᎬᎠ
What is this son()?
MᏫᎻᎯᎷᎷᎬᎠ
Ops
MᏫᎻᎯᎷᎷᎬᎠ
I didn't see that
MᏫᎻᎯᎷᎷᎬᎠ
Make sure there is a class named father
MᏫᎻᎯᎷᎷᎬᎠ
Even if there is Make sure that father is defined before son
MᏫᎻᎯᎷᎷᎬᎠ
Yeah
MᏫᎻᎯᎷᎷᎬᎠ
What?!
Francisco
It's not pointless, but there're questions that are just stupid
olli
I strongly disagree, 99% of the questions are (extremely) bad. If you want some help follow #howtoask and https://stackoverflow.com/help/mcve
olli
try asking this on SO class son: public father { public: son(); }; is there something missing here ? In file included from main.cpp:2:0: son.h:6:1: error: expected class-name before ‘{’ token { ^ what do you think the response would look like?
olli
you will get some response pretty soon... tons of downvotes. SO is so great because people are mostly forced to formulate good questions and do research before asking
Mat
That's why searching the answer on the net first is important
olli
compare the questions, he wrote like 2 pages you wrote 10 lines...
olli
his example is complete, I can actually reproduce it on my own system. Yours.. well.. either I need to ask you to provide more details, although you seek help or I have to do some wild guesses
olli
cool :) It seems to be a general problem here...
S
Hello everyone
S
Anyone in this group who expert in arduino?
Luis José
Anyone in this group who expert in arduino?
I have some experience with microchip microcontrollers but not arduino
Heenim
Anyone in this group who expert in arduino?
I study using arduino but not an expert..
Heenim
I am IIOT student
Ariana
/warn ad
Aspire
Anyone in this group who expert in arduino?
what you want t ask actually i have a pdf about arduino
Anonymous
Make array
Aspire
may be it would help
Aspire
Aspire
#include "pch.h" #include <iostream> using namespace std; int q2a(int a) { int b = a / 1000; return a / 100 - b * 10; } int main() { int a; int b; cout << "Enter the value of a="; cin >> a; cout << q2a(a); return 0; }
Aspire
can anyone teach me why the ans is 1 when i put 123 and 3 when i put 2345, and 999 output is 9, 857 output is 8 why it happens is there any prefix, postfix concept ??
Aspire
have u any good refrence link if one has any idea can you please share it with me ?
Anonymous
😂😂
Anonymous
How to solve illigal use of floating point on C
Anonymous
Anonymous
## Rules #pinned * You are not entitled to an answer, getting angry about not answered questions will get you warned. * Not checking your problem in google (or any other search engine) first will get you a warn. * Asking for something that is in the pinned message right after joining WILL GET YOU BANNED. * C/C++ discussion preffered (assembly also allowed), asking about other languages (or groups for other languages) right after joining will get you BANNED. * Reverse enginnering, hacking and related topics are allowed, but asking to hack facebook, instagram, etc. is NOT allowed. Also if you ask "how to become a hacker" and obviously have zero knowledge on anything related to that you may get warned or banned. * Legitimate requests for help on code and programming questions are welcome. A request is considered legitimate if it describes your problem, what you've done so far and what went wrong. Requests such as "write my program" or "do my homework" are never considered legitimate. Asking not legitimate questions will result in a warn or ban. See https://stackoverflow.com/help/mcve on how to write good questions. * Asking for book recommendations is ok, but "pls give pdf book" is not allowed, find books by yourself. Posting illegally copied books (or links to those books) is also not allowed. * Only English language is allowed, if you speak shitty English or don't understand anything in English YOU WILL BE BANNED. * A little bit of programming related memes, jokes, shitposting are allowed. * NSFW content (porn, nudity, etc.) is not allowed. * Spamming/advertising (job posts are also ads, so ask an admin before posting) will grant you a warning or an immediate ban if you do it right after joining. * Religion, politics and ideological topics are forbidden. * Long code snippets must be posted via a snippet website(links below), posting pictures of code and posting long snippets in the group is not allowed. * If you encounter a problem, while using turbo C++, you will not be helped, use another more modern IDE. * Don't post compiled executables, that is obviously a security risk ## Resources About asking good questions: * [English](http://www.catb.org/esr/faqs/smart-questions.html) * [Translations](http://www.catb.org/esr/faqs/smart-questions.html#translations) For posting long code snippets: * [GitHub Gist](https://gist.github.com) * [Ubuntu Paste](https://paste.ubuntu.com/) * [Pastebin](https://pastebin.com) ## Reports If you notice any forbidden content, please use the /report command while responding to the offending post to report it to the admins.
Read the last point @aniketap. Use some IDE other than turbo C++
olli
N1570, 6.5.5.2 tells you [...] The operands of the "%" operator shall have integer type.
MᏫᎻᎯᎷᎷᎬᎠ
That should be 2 warnings
olli
I still can't get why someone would TC++ in 2019.. it seems like it shows you less than 20 Lines of code :O
Ludovic 'Archivist'
klimi
Hello maxi
Dima
Hello maxi
Hello mini
klimi
klimi
I like that tho
klimi
Isn't limi better?
klimi
Ammm
klimi
I will be rima
klimi
And you dima
Trevor
I still can't get why someone would TC++ in 2019.. it seems like it shows you less than 20 Lines of code :O
In india C/C++ is taught in turbo C++ . I am studying in college even there they are teaching us in turbo C :/
klimi
What an amazing country