Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Fun with Pointers #2
// pointer example from diagnostics #include <iostream> using namespace std; int main () { int *foo; foo = new int[5]; for (int i=0; i<5; i++) { foo[i] = i; } int x = 3; foo = &x; cout << foo[0]; return 0; }
run
|
edit
|
history
|
help
0
mpi_distributed_sort
void pointer
hello world
virtual members
HTML Timetable generator.cpp
Test size_t
Move Construction
C++ out of ref
pointer to complete array does not convert implicitly to pointer to array of unknown bound
Exploring stringstreams