53 Posted Topics
Re: You can do this by passing a pointer to char or a string. [code]#include <string> void yourFunction(const char * filename); //we don't want to modify so it's const void yourFunction(string filename);[/code] | |
Hello, I had no idea which title I should have chosen. Anyway, I'll try to explain my problem. What I'm trying to do is to prevent some code using functions in a header. This problem causes invulnerabilities in my application. I made a test program to show what exactly I'm … | |
Hello, I'm quite new here, but there's a problem that needs solution. I think the title says exactly what I want to do. I need to use C for a reason I don't think is this important to mention. I tried searching Google, and found the same solution on most … |
The End.