ifdef LOCAL

Revision en1, by frank1369blogger, 2020-06-10 22:51:51

Ive seen a lot of people use this structure in their code:

ifdef LOCAL

(Part of code that works locally)

else

(The previous part doesn't work in online mode)

endif

instead of LOCAL some other strings can be written too. What I want to know is how to make this structure work. how to make ifdef LOCAL work?

btw Im using devc++.

thanks in advance for helping.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English frank1369blogger 2020-06-10 22:51:51 390 Initial revision (published)