What does $> symbolize?
What does $> symbolize?
I don't think that's a valid symbol in C. You might be looking at someone's attempt to tell you that whatever comes next should be run at the command line.
If you don't understand what I just wrote, show an example in which you saw this symbol being used.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
The dollar sign doesn't appear as a token or part of a token in C. Probably because it might not be available in a non-American context. You do see it sometimes as an extension, but I'd agree that $> looks like an input prompt.
I'm the author of MiniBasic: How to write a script interpreter and Basic Algorithms
Visit my website for lots of associated C programming resources.
https://github.com/MalcolmMcLean
Your code above won't even compile;
Please format your code with proper indentation. This is not a C Code Obfuscation contest.
Your if else statement is illegal.
Code:#include <stdio.h> #include <stdlib.h> #include <time.h> #include <math.h> long x(long y,long z) { if(!z) return y; return x(z,y%z); } int main(void) { long t,u,w=0,v=0; srand(time(0)); for(;;) { t=rand(); u=rand(); if(x(t,u)-1); else ++v; system("clear") && system("cls"); printf("\n\n\n %g\n\n\n",1/sqrt(((double)v)/((3<<1)*++w))); } }
I'm the author of MiniBasic: How to write a script interpreter and Basic Algorithms
Visit my website for lots of associated C programming resources.
https://github.com/MalcolmMcLean
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)