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
save value as Pointer address
save value as Pointer address
Apr 1, 2015 at 6:16pm UTC
Cobey
(3)
Good Night/Morning CplusCplus
1
2
int
i = 123456; how can save Value i as address. Like: printf(
"Address:= %08X\n"
, i);
Apr 1, 2015 at 9:21pm UTC
Albatross
(4553)
http://www.cplusplus.com/doc/tutorial/pointers/
-Albatross
Apr 2, 2015 at 12:12pm UTC
Cobey
(3)
I'm late, I apologize
and my question is a completely Wrong :(
{
take value i as address without any format:
e.g.
0x00406262
reserve it 0x6262400
put it in array
arr[0] = 0x62
arr[1] = 0x62
arr[2] = 0x40
arr[3] = 0x00
}
thanks TheRabbitologist
Apr 8, 2015 at 4:46pm UTC
Cobey
(3)
stringstream
http://www.cplusplus.com/reference/sstream/stringstream/
thanks
Topic archived. No new replies allowed.