+ 2
There's any way to search a word in the code?
In C# or C++, there's any way to search a word in a code, example, i have a code and i ask to the console to print all the lines that starts with "int"
4 Antworten
0
I think this calls for a regular expression. It's easy enough in python....but in c++......ohh dear....that's what I'm looking into now,...I need to watch some videos on it first.
0
In some IDEs you can use ctrl-f to search for text. I’m not sure if that’s the kind of thing you need
0
Thanks for the answers but they are not what I need, I'm doing a project that one of the things that does is do a list of the variables in a code, I will prefer in c++ or c# but it can do in LUA, Pyton or JS, thanks you so much