When I compiler my program I get this warning and when running it a runtime error.
The warning is:
128 ... [Warning] passing arg 1 of `MostraPantalla' makes pointer from integer without a cast

Recommended Answers

All 2 Replies

think you may need to use the & operator before the variable you are passing.

Chris

hey there,

you should really try to fix up any compilations first before running the program. You also need to take particular care when using pointers. If they are not used right, they can cause problems, like crashing your system, since they point to memory locations.

You also need to post your code so that we can see more clearly where the problem is.

cheers
nm

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.