VexCode C++ Reference Card

I’m trying to you “try”,“throw”,“catch”, and can’t find it…
Anyone have a “C++ reference Card” for VEXCode IQ 3.0.1? It seems to not be a full implementation of the language…

Also, is Robot Mesh still an option, or now deprecated??

exception handling is disabled, not impossible to turn back on, but you would have to change how the project is built.

Not supported anymore, end of life.

Edit: I see you posted under VR, but referenced C++ and IQ, so assume topic was under the wrong category. IQ gen 1 has very limited memory so exception handling, and most C++ standard library, is not an option. IQ gen 2 has more resources, but even then, much C++ is beyond the hardware capabilities.

Thanks JPearman. I wanted confirmation, as I came to same conclusions. I wish people wouldn’t mislead, by saying they’re C++ compiler, when it is apparent they only have a scaffold interpreter of the language.
Seems VEX built C++ to be bi-directional to Block coding…
It’s unfortunate, as youth who want to be coders will quickly move away from VEX, to standard Linux servers, and complete C++, etc and build routines.

The compiler is fully compliant with C++11 (and later but that’s not how build system is setup). The compiler we use is clang. It’s not a build issue, any resource limited system will have a maximum executable size it can support.

According to recent surveys, Javascript, Python, Java, C# are more popular than C++ (others are SQL, Typescript and CSS are also ahead of C++ but not really programming).

I’m not really sure why you are so unhappy about not having try/catch. The roboteers are programming for a small memory footprint. Most of the imbedded systems are 8 bit CPU (who knew that you could get one for under a dollar - PIC processors) or some small ARM cpu. Roboteers are getting experience with working with these small systems. It’s another constraint that makes programmers think about what they are doing.

If you are really after full programming, then one of the Raspberry Pi boards (I love the 4’s). On the other hand Windows and MAC OS are still the most popular operating systems, so there is still money to be made in that environment over Linux.

But to close this out, just a reminder to the HS roboteers, your dream job does not exist yet. Look back 4 years and see how much computing has changed. Students now in college are facing a huge change in the computing environment. When you get out into the job market, it will be different. My advice is to hone your math skills, because those will be in demand in 2028.

I’m thrilled at the opinions expressed! Searching robotics and language, most common quote is "The most popular programming languages used in the field of robotics today are C, C++, Python, Java, C#, .NET, and others.". There are two points here. 1) C/C++ are the top of the list. 2) “and others”; languages evolve, and often as “interpretive”. So if responsiveness and battery life are important, you want to avoid interpretive languages.
Foster’s point was “learn for the future”. I’d say “learn-learn-learn”. I got my computer engineer degree in 1970. I WATCH Java hatch 20 years later! And look up “Moore’s law”. Those computers now fit into a cellphone. I’d rather learn the rich language (used in EVERY financial institution today), and then realize many language features are crippled in tiny robots. And with so many languages, ALWAYS look for “language reference card”. Seems most languages have them.
And DO learn math. Remember, the Greek’s wrote formulas used today. And as you move into AI, you starting finding things like array management and functions all start getting hidden from your program, so it is truly evolving to a “human interface”… but that isn’t the technology we use in VEX… :innocent:

LEARN Math and math…… learn the art of algorithms, learn the fundamentals about binary representations of floats for example etc and the mathematical errors inherent in it.

Programming languages are just like pencils implements to create machine processed algorithms (read Math!) dime a dozen and there is one optimized for every processor, but my favorite even today is FORTRAN….

VEXteacher, well played!.. Worth noting Fortan one of the first languages. You may recognize this syntax in other languages; FOR I=1 TO 5… At almost the same time, COBOL (and SNOBOL) showed up for the business people who thought a “$” was part of the number!
Another fun fact; 32-bit float wasn’t large enough for the financial companies. Subtle reason; when you add very large and very small (floating point) numbers, all the little numbers disappear… unless you add the SORTED numbers from small to large (this was a REAL financial problem). Ultimately, the solution was a 64 bit float…
And it is fine to be a “math mechanic”. Remember that a 3-4-5 triangle is VERY easy to make, and always square on one corner… just remember when counting holes, to start at zero… :innocent: Paul

My first programming language was COBOL, I learned as an explorer at General Foods in Dover in the early 70’s. Fortran was the engineering language. I hung out with the RSTS kids and learned Basic (and TECO!)

SNOBOL and its follow on program language ICON were String processing languages developed by Ralph Griswold, both were not business process friendly, but they were awesome for text processing. (My first job was as a Cobol programmer, and I made a ton of money as a Cobol updater during the run up to Y2K. I built a parser with ICON to do quick scans of the Cobol source to pull of the ones that needed work)

I was a big fan of Ratfor and developed one that ran on the Burroughs mainframe written in Algol. Ratfor led me to Pascal (Wirth was an author of Algol and the follow on Oberon.

I worked at a financial company that decided that Smalltalk was the future, and soon found out that it wasn’t. We had a ton of Cobol programmers for the IBM mainframe, I pitched doing Object Oriented Cobol and retraining their mainframe people. We did a pilot with 6 programmers that was wildly successful with them deploying some really spiffy desktop applications faster than the C people could. We were poised to go full out, but the CIO went to meeting, told people what we were doing and got laughed at. So he pulled the plug. They rapidly fell behind on desktop things. 4 of the developers bailed out when it was canceled and started their own company. They sold desktop applications to the old company competitors and made a small fortune.

I was also around for Java and Javascript (that have nothing in common except the first 4 letters of the name). My three current favorites are Lua (able to imbed it as a scripting language into bigger applications, Python, and the multitude of block languages (Scratch, Blockly, etc) that are simple to teach. Because I support some Wordpress sites, I need to do PHP, but not a huge fan.

TL;DR, there are a ton of languages out there, some come, some go.

Actually the real fix was the use of Binary Coded Decimal that used 6 byte nibbles to hold individual digits. All the big mainframes did that and it worked really well.