#How can I include something

25 messages · Page 1 of 1 (latest)

brisk schooner
#

How can I include something but

  • You CANNOT use these characters: #$%&'.?@[\]^_`{}

I've this but this is blacklisted

%:include "/etc/passwd"

int main(void)
{
return 0;
}
tribal pebbleBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

violet lantern
#

What's the point

strong falcon
#

^^

#

This is an XY problem, it's absurd and we can't really help without context

sour notch
#

How are you going to create a functional C program without the use of { } characters?

flint fiber
#

To import, you could go and copy paste the file yourself

#

You might have a few preprocessor conditions to resolve by hand

#

Could you maybe use a combination of labels + inline assembly + extern functions to create a function?

earnest harbor
#

;compile -includestdio.h

int main() <: printf("hello"); :>
cosmic craterBOT
#
Compiler Output
<source>:1:30: error: expected ']' before ';' token
    1 | int main() <: printf("hello"); :>
      |                              ^
      |                              ]
Build failed
brisk schooner
karmic kayak
#

why cant you use those characters?
is it a keyboard thing or some bogus challenge?

craggy salmon
#

Refuse to do the challenge because I cannot see how this will be beneficial to you or help you learn anything

sleek adder
craggy salmon
#

Even ? seems to be forbidden

sleek adder
#

is it? they put their sentence in quotes and those seem to end before the dot (or at least that how i read it)

brisk schooner
#

yeah is it

brisk schooner
#

yeah is a challenge

tribal pebbleBOT
#

@brisk schooner Has your question been resolved? If so, type !solved :)

flint fiber
#

If you can use forbidden symbols inside your compile command you could maybe do stuff like -D BEG={ -D END=} I think that’s how you define stuff