sorry for the bad rep.
But, recently i've obtained a code in c++ which highlights c# syntax in a Richtextbox. LINK
I think the basic idea behind it is to specify an array of strings, and now the program should search and highlight the defined strings in a file.
Then you can use that to colour your code however you wish! I'm not sure if the source code is released or how much effort is required to port that to c++. It seems like it's only available for use with php and html.
I reckon if you want to this this yourself, and build an accurate syntax highlighter, you'll have to use regular expressions, especially for multiple nesting within comments and quotes.
I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...
Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...