question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

(cpp) syntax should be split into C and C++ syntaxes

See original GitHub issue

Currently, 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:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:18 (13 by maintainers)

github_iconTop GitHub Comments

2reactions
marcoscacerescommented, Oct 4, 2019

hhmm… yeah, might be worth splitting into two.

1reaction
joshgoebelcommented, Feb 14, 2021

@klmr C is ripe for simplification now if you’re still interested. 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found