(cpp) syntax should be split into C and C++ syntaxes
See original GitHub issueCurrently, C and C++ are both highlighted the same way, but that’s not ideal. For example, the words string
and vector
are highlighted as built-ins, which makes no sense in a C context.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:18 (13 by maintainers)
Top Results From Across the Web
How to split a string in C/C++, Python and Java?
Splitting a string by some delimiter is a very common task. For example, we have a comma-separated list of items from a file...
Read more >Mixing Code in C, C++, and FORTRAN on Unix
C and C++ subroutines use a slightly different syntax to allow for modification of arguments, ... The advantages of splitting your code up...
Read more >C++ Syntax - Great Learning
This section lays out basic C++ syntax. The first step to learn any language is to study its rules and regulations which together...
Read more >C++ Basics - C++ Programming Tutorial
This chapter explains the features, technical details and syntaxes of the C++ programming language. I assume that you could write some simple programs....
Read more >Splitting a string using strtok() in C - Educative.io
In C, the strtok() function is used to split a string into a series of tokens based on a particular delimiter. A token...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
hhmm… yeah, might be worth splitting into two.
@klmr C is ripe for simplification now if you’re still interested. 😃