Programmers only

Pink

(Mooncrasher)
Staff member
Team Valiant
Discord Staff
Voyager Quest
Man on the Moon
Forum Legend
#3
I would say that it's only been a few hours and that there aren't many programmers here interested in your thread, but I'm not a programmer, sorry.
 

Altaïr

Space Stig, Master of gravity
Staff member
Head Moderator
Team Kolibri
Modder
TEAM HAWK
Atlas
Deja Vu
Under Pressure
Forum Legend
#6
if (Altaïr == programmer)
{
printf("Yes, I am a programmer!\n");
}
else
{
printf("No sorry, I am not a programmer.\n");
}
exit(0);
 

Tony

Registered
#7
if ((Altaïr == programmer) && (Tony == programmer))
{
printf("Yes, I am a programmer!\n");
}
else
{
printf("No sorry, I am not a programmer.\n");
}
exit(0);
 

Blazer Ayanami

Space Shuttle enthusiast // Retired Admin
Registered
Forum Legend
#11
if ((Altaïr == programmer) && (Tony == programmer))
{
printf("Yes, I am a programmer!\n");
}
else
{
printf("No sorry, I am not a programmer.\n");
}
exit(0);
What If only one of you guys is a programmer? There should be an answer for "one of them is, the other is not".

No, I'm not really a programmer, but I can read some code :)
 

Altaïr

Space Stig, Master of gravity
Staff member
Head Moderator
Team Kolibri
Modder
TEAM HAWK
Atlas
Deja Vu
Under Pressure
Forum Legend
#12
What If only one of you guys is a programmer? There should be an answer for "one of them is, the other is not".

No, I'm not really a programmer, but I can read some code :)
We thank you for your detailed bug report. The whole team is now investigating and discussing about the best way to solve this situation.
 

Tony

Registered
#13
What If only one of you guys is a programmer? There should be an answer for "one of them is, the other is not".

No, I'm not really a programmer, but I can read some code :)
if ((Altaïr == programmer) || (Tony == programmer))
{
printf("Yes, I am a programmer!\n");
}
else
{
printf("No sorry, I am not a programmer.\n");
}
exit(0);
 

Altaïr

Space Stig, Master of gravity
Staff member
Head Moderator
Team Kolibri
Modder
TEAM HAWK
Atlas
Deja Vu
Under Pressure
Forum Legend
#15
For smartphone syntax. I am not sure about !! ¦¦ And Or. It's been 30 years that I no longer use C or C ++ language
That is correct :)
|| means "or"
&& means "and"
 

Tony

Registered
#22
Code:
if (a>b)
maximum=a;
else
maximum=b;
Another more intimate syntax :p
Code:
maximum = (a > b) ? a : b;
 
Last edited:

Mars Pathfinder

«★★» CMDR «★★» // PT // FartFinder
Christmas Event Category Winner
TEAM HAWK
Swingin' on a Star
Atlas
Deja Vu
Fly me to the Moon
Under Pressure
Registered
#25
netsh wlan show profiles :p :p :p :p