can notepad ++ read this language?
-
Hello.
i have an issue with properly displaying a file with what i assume should be a c++ language.
My knowledge is limited so a apologize if i am wrong.when i open file it looks like this
is it an encrypted file? what language is this if not a c++? can i make notepad ++ display it properly? Viewing in hex does not really help.
The goal is to edit some values and save it if possible.
Help Me, Obi Wan Kenobi. You’re My Only Hope.
-
That’s a binary file of some sort. C++ source code is plaintext. So either it’s been encrypted or compressed (though that doesn’t match any of the compression signatures I’ve ever seen), or you are looking at a .o or a .exe or a .dll or similar compiled file, not source code – in which case, it’s not something that Notepad++ can edit.
Notepad++ edits text files. That’s all.
We have a FAQ on why Notepad++ cannot read binary formats here (though understand that the title refers to
docx
and the text is mostly focused ondocx
andpdf
, because those were the most frequent requests – “why can’t Notepad++ read my Word document or PDF document?” – but the concepts of not being able to read arbitrary binary code stays the same.) -
@PeterJones ok thanks. was trying open it as dll but it still didn’t open. was thinking it was a code of sort.
-
@WillyTheCatz What are you trying to accomplish? A .dll contains compiled binary code, it cannot be read with a text editor. If you’re trying to understand the behavior of the .dll, your best option is probably to try to attach the Visual Studio debugger to it while it is running. This will allow you to view the disassembled code and debug it.
-
@Derek-Brown there was several values i wanted to edit in the file. i have issues viewing it in a way it would make seance in notepad ++. i assumed the file was made in c++ but as it seems i was wrong. i tried to open it with few dll viewing tools online to no result as it seems the file was not build as dll. Mainly i was wondering if anyone knew what i was looking at and if notepad ++ was able to edit it.
-
@WillyTheCatz said in can notepad ++ read this language?:
there was several values i wanted to edit in the file.
What makes you believe there are several values in the file you need to edit? A dll file is a “dynamic link library” file normally. The file’s extension (dll) is what helps to give us an understanding of the file’s existence.
So a DLL file is normally full of different type of program snippets that other programs call on to do some tasks. This makes it easier for programmers to program. So they don’t need to create all their own code, they call on DLL files to supply some of that functionality.
So I’d suggest there should be NO reason to edit this file, there will be NO values within it that you need to edit. I suppose the real question is, what are you hoping to achieve? It will be a dangerous game you are playing in trying to edit compiled program code.
After 2 responders have given you the same answer (I as a
3rd say the same), you still persist in trying to do this hopeless task. You say you have limited knowledge of such things, fair enough. Read the links provided above and stop posting the same question, you have the answer, which is it’s abinary file
and Notepad++ does NOT work with them.If you persist in again asking the same question that will only highlight you as a spammer.
Terry
-
@WillyTheCatz You can modify the file with a hex editor if you can find the location of the values you wish to modify. But you’ll need a debugger to do that, and even then it probably won’t be easy. If you have no experience using a debugger, I would say this task is probably beyond your abilities at the moment.
In any case, Notepad++ is not the right tool for this job.