53 Posted Topics

Member Avatar for adarrell

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]

Member Avatar for Nick Evan
0
209
Member Avatar for venomxxl

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 …

Member Avatar for venomxxl
0
141
Member Avatar for venomxxl

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 …

Member Avatar for venomxxl
0
385

The End.