Ammar
Anonymous
got confused for a second
Vlad
Why doesn't it work ?
You'll basically initialize pointer with an int in C. And it won't even compile in C++.
Ammar
Anonymous
Anonymous
Brown
Vlad
Seems like you've got a bit of a struggle with English, eh?
Brown
I have a question in C.
1. char p[ ] = "something"
2. char *p= "something"
3. int p[ ] = {1,6,7}
4. int *p = {1,6,7}
1, 2, 3 works but not 3, why is that ?
Brown
Did any one get my question right ?
Vlad
Andrew
all of them works, you mean maybe 4 not works?
Brown
Vlad
Yes
4th one doesn't make sense
Brown
Its needs malloc or an appropriate address.
Vlad
Vlad
And compiler even computes size for you and all of that
Vlad
Vlad
It's const char*
V01D
Why ban?
Dima
Why ban?
because asking for assignments when just joined is a ban
Dima
guaranteed 100%
V01D
Ohh, I didn't see it as an assignemnt
V01D
Okay then, makes sense
Anonymous
Hello guys im new for C++ any recommendations or whatever except the rules obviously
J
recommendations for what?
Anonymous
recommendations for what?
Some advices about C# and this group.
Im not new for programming but im pretty new for C# and so excited to learn...
J
Well, first off, this is a C/C++ channel. The most notable thing about that is that they're not C#. That's a different language, running in a different environment.
J
Also, you'll need to be more specific with your questions. You can't expect people to give you arbitrary advise without context.
Anonymous
Anonymous
Anonymous
J
what's your background in computer sciences, programming or systems use?
Anonymous
Anonymous
Anonymous
Anonymous
Anonymous
I'd recommend to read a book
Anonymous
Hi there, Can somebody tell me which online platform should I refer to learn C++ from beginning?
Anonymous
What about my coding environment
Anonymous
Anonymous
Anonymous
Which book?
J
@unterumarmung , what os do you use as your daily driver, btw?
Anonymous
J
uggh
J
you'll probably want to delete that and install freebsd
Anonymous
No, I don't :)
Anonymous
Hey Danya, Can you suggest some books?
Anonymous
J
then why do you suggest people do the same with their development environment?
Anonymous
Anonymous
CodeBlocks anyways is bad, Visual Studio is much better
J
but you never answered his question, nor answered his follow-up question for 'why' (besides the "it's not good")
J
well how about you start explaining the WHY, not the what?
Anonymous
J
but still, he should've been made aware of code::blocks being bad, instead of "what to do for a development environment"?
Anonymous
Why it is bad
Anonymous
Danya, Are you an Engineer?
Anonymous
Anonymous
J
but why visual studio, and not something else?
Dima
J
i dont think visual studio is good, for example. but i myself use a vi setup that's about 15 years old and custom tailored, but that's not something i'd go and tell someone to do
J
Anonymous
Who all are students here?
J
they didn't. that's the point.
Anonymous
Anonymous
What if i just practice the basics in codeblocks and change it later
J
Tell me what i need to get started.
I wanna learn C++ and i got code::blocks what's next