starscream Posted July 12, 2013 at 11:40 PM Report #518619 Posted July 12, 2013 at 11:40 PM Boas Programadores, tenho uma duvida acerca do que é uma flag. Tenho um trabalho da qual tenho de criar uma classe com um atributo flag boleana a indicar se é par ou ímpar. Só que não estou a entender o que é uma flag. Se alguém me poder ajudar, agradecia Cumprimentos,
pikax Posted July 13, 2013 at 12:45 AM Report #518621 Posted July 13, 2013 at 12:45 AM https://duckduckgo.com/lite/?q=programming%20flag Por muito mais que que estude só aprendo uma coisa, que ainda tenho muita coisa para aprender. A beleza de um código está em decompor problemas complexos em pequenos blocos simples. "learn how to do it manually first, then use the wizzy tool to save time." "Kill the baby, don't be afraid of starting all over again. Fail soon, learn fast."
Xpirito Posted July 13, 2013 at 10:49 AM Report #518625 Posted July 13, 2013 at 10:49 AM Podes renomear o título para algo mais perceptível? Pois "duvida" é um bocado geral. Boa programação! Para perguntas idiotas, respostas estúpidas!
brunobola Posted September 11, 2013 at 11:04 PM Report #524202 Posted September 11, 2013 at 11:04 PM http://www.codeproject.com/Articles/396851/Ending-the-Great-Debate-on-Enum-Flags
Rui Carlos Posted September 14, 2013 at 08:41 PM Report #524582 Posted September 14, 2013 at 08:41 PM Tipicamente uma flag é uma variável (ou uma sequência de variáveis) que pode(m) assumir dois valor (e.g., on/off, true/false). Rui Carlos Gonçalves
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now