cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
code translation
code translation
Aug 23, 2011 at 2:08pm UTC
starface245
(25)
In putty ssh.c source code
line 5645
s->K = dh_find_K(ssh->kex_ctx, s->f);
Can someone explain me what this code line means?
What does the arrow point right really means?
Thanks.
Last edited on
Aug 23, 2011 at 2:08pm UTC
Aug 23, 2011 at 2:18pm UTC
gaorozcoo
(38)
http://www.cplusplus.com/doc/tutorial/structures/
Aug 23, 2011 at 3:04pm UTC
closed account (
D80DSL3A
)
The "arrow point right" is the indirect member reference operator. s and ssh are pointers.
For example, s->K gets the value of the member K of the object pointed to by s.
Topic archived. No new replies allowed.