I'm trying to call this search and replace function, and it says invalid memory access.
How should I modify the function, so that it would be possible to pass literal strings as arguments.
...
Type: Posts; User: boqsc
I'm trying to call this search and replace function, and it says invalid memory access.
How should I modify the function, so that it would be possible to pass literal strings as arguments.
...
It's all about trying to make a simple modular project.
I'm intentionally including .c files instead of making a seperate .h file to make it a single portable source file.
I'm about to make a...
Thank you, now it seems to work out.
However, as of right now I started to get
program.c:16: error: redefinition of 'main'
Program.c
#include <stdio.h>
This forum seems to be as disgusting as you are, please go back to your cave, useless prick.
Well the thread and main topic is not about your expectations, but to reach the goal of my expectation, that is an output. It is clearly stated. I'm not even sure why are you even posting here if you...
I stated the expectations by showing the expected output.
I use TCC, but the -E is useful in detemining some logic about the pre-processsor, thank you for that.
At this point, everything is...
Let's say I have
program.c that is the main runnable source file.
#include <stdio.h>
#include "Hookprogram.c"
#ifndef PAL_INCLUDED
#define PAL_INCLUDED
#define another main
#endif