| | |
pointer to some code
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jul 2004
Posts: 1
Reputation:
Solved Threads: 0
Hi
Is it possible to write a c++ program that sets up a pointer at the start of an array on the heap, and the pointer holds the address of the start of the code.
ie something like---
int *pointstart[5];
pointstart = new (codestart, 0,0,0.0);
1nt main()
{
codestart:; // label at start of code
...................
return()
}
thanks!
Is it possible to write a c++ program that sets up a pointer at the start of an array on the heap, and the pointer holds the address of the start of the code.
ie something like---
int *pointstart[5];
pointstart = new (codestart, 0,0,0.0);
1nt main()
{
codestart:; // label at start of code
...................
return()
}
thanks!
![]() |
Similar Threads
- Help with struct and double pointer (code inside) (C)
- C++: compile error "subscripted value is neither array nor pointer" (C++)
- Null Pointer? will this code work (C)
- total newb - "passing arg 2 of `strcpy' makes pointer from integer without a cast" (C++)
Other Threads in the C++ Forum
- Previous Thread: Catching exceptions in C++
- Next Thread: pow: DOMAIN error
Views: 1749 | Replies: 0
| Thread Tools | Search this Thread |
Tag cloud for C++
6 add api array arrays beginner binary c++ c/c++ calculator char class classes code compile compiler console conversion convert count data delete desktop directshow dll download dynamic encryption error file forms fstream function functions game givemetehcodez google graph gui iamthwee ifstream input int integer java lib library linkedlist linker linux loop looping loops map math matrix memory microsoft newbie news number output parameter pointer problem program programming project python random read recursion recursive reference return sort stream string strings struct studio system template templates test text text-file tree unix url variable vector video visual visualstudio win32 windows winsock wordfrequency wxwidgets





