+ 7
where can I ask questions about solutions for challenges e.g. c++? It should be explananions for question not only an ansvers
11 Antworten
+ 3
when I complete a chalenge in sololearn I want to understand the whole question not only the
answer. do you know good forums for apsolute beginers in c++ language?
+ 3
A void function returns nothing.
+ 2
you can ask about solutions on specific site for eg if you are solving some question on codechef you can ask question on their site. you can also ask questions on sololearn but sololearn community is not so great in answering questions of this type.
also plz understand that nobody will give u exact answer(maybe they can if their mood is good but chances are low).
+ 2
You can ask anywhere, basically. What do you want to have explained? I can try, at least.
+ 2
This one is the beginner friendliest I've ever seen.
+ 2
so, you are more experienced in c++ Timon?
+ 2
char *s = "string";int i = 1;while(*(++s)); ++i; would the result be the same without pointer?
+ 2
cout << i; is at the end..... there will be lots of questions
+ 2
//The whole s thing was just to confuse you.
#include <iostream>
using namespace std;
int main()
{
char *s = "string"; //s points to the letter 's' in "string"
int i = 1;
while (*(++s)); //add one to s until it points to the '\0' character at the end
++i; //add 1 to i: becomes 2
cout << i;
}
+ 2
what is exactly void function? whereby is it different from int function? int variable and int function?????
+ 1
Kind of. I have one year of learning experience, enough to answer most of your questions.