Anonymous
Anonymous
I mean can I assign values to pointers directly?
Mat
Yep
Mat
Memory addresses
Mat
But not values to pointers, they're not normal variables
Mat
There are... variables for that
Mat
Mat
You need ans = *a + *b
Mat
&a that's a pointer, the pointer to a. You wrote
&a -> a -> 5
Mat
printf("%d + %d = %d", 5, 10, 5+10);
Mat
Or instea of numbers
int a = 5;
int b = 10;
printf("%d + %d = %d", a, b, a+b);
Mat
Or
int *a = 5;
int *b = 10;
printf("%d + %d = %d", *a, *b, *a+*b);
Anonymous
Mat
You were adding the pointers of the pointers of your numbers
Anonymous
Mat
Wrong * position :/ (my error)
Anonymous
Anonymous
Mat
Mat
You?
Mat
I'm a terrible teacher, giving wrong info
Anonymous
You?
I asked that myself, but I can't figure that out
Anonymous
Mat
You can't do what you'd like to do :/ or at least i think not
Anonymous
Anonymous
Hello everyone!
Anonymous
I am new
Anonymous
And I know little about c++
Anonymous
How can I improve my skills. Thanks in advance
Anonymous
Anonymous
any better way?
Jeremy
yup, simple enough to understand how they work together there
Jeremy
but no real reason to do it in this scenario
Anonymous
Jeremy
a->temp->5
b->temp2->10
Jeremy
pointer to location of variable that contains value
Anonymous
Anonymous
When it comes to solve this issue using function, whe whole syntax is different :D
Anonymous
/report
Group Butler
/report
Reported to 1 admin(s)
Anonymous
Anyone in Los Angeles?
Roxifλsz 🇱🇹
/ban banning because this user hasn't said a thing since joining (except posting the offending ad), seems like an ad poster rather than a useful contributor to the chat
Group Butler
Rokas banned Олег!
Isc
woa
Mat
Anonymous
/help@GroupButler_bot
Group Butler
Start me to get the list of commands
Anonymous
/help@GroupButler_bot
Group Butler
Start me to get the list of commands
Anonymous
I have an insane idea on an uniq cryptocurrency, but i need people with the development knowledge. If anyone have that, please PM me
David
Anonymous
I wanna learn how to build a BlockChain and cryptocurrency any where to start?
Anonymous
Anonymous
github.com/ethereum/go-ethereum
Anonymous
@themester thanks 🙏🏾
Anonymous
@themester thanks 🙏🏾
the best practices is to see how blockchains works. Some algorithms and see a lot of code
Anonymous
Anonymous
I need some programmers to develope a pretty simple busniess idea, i will pay or give shares. PM me
Michael
7k$ is enough per month and I'm in.
Anonymous
Hi, I am an organiser of free online coding competitions from the university of oxford. There is nothing commercial in my intended post, it’s just to an eventbrite link for a Online Interscholastic Coding comp we’re hosting on Jan 27th. Is it ok to post here?
Anonymous
@roxifas ^
Roxifλsz 🇱🇹
Anonymous
Ok great thanks ! The Oxford Univeristy Coding Society, AI Society and Oxford AI Games Club are hosting a Online Interscholastic Coding Competition: To Register please visit: https://www.eventbrite.co.uk/e/the-oxford-online-interscholastic-coding-challenge-tickets-42233316988
Anonymous
We have universities, colleges from U.K., US and India all taking part (too many to list) please join for a night of fun ☺️
Anonymous
Can someone suggest me a good c++ graphics guide? TIA!
Russell
Russell
What are you trying to write?
Amrutam
Russell
Ah. I'd suggest Qt
Russell
Qt.io
Russell
Or GTK+ if you're into that.
Anonymous
Ah. I'd suggest Qt
Is qt universal? Like I can't use that with every other ide or basic CLI?
Anonymous
Didn't get what you mean..
Russell
There's a Windows ui library
Russell
That's much harder to use
Russell
(from what I've heard)
Russell
But it is cool that it runs on pretty much all platforms and looks native