Search results

  1. N

    C/++/# Why the data does not print out with eclipse in unbuntu?

    I agree with you, it maybe have some hidden characters in this file, but I still dont see additional characters on the HEX editor.
  2. N

    C/++/# Why the data does not print out with eclipse in unbuntu?

    This code obviously worked with the file "albe0320_1.17n" (attached) but I do not know why the file "GANP00SVK_R_20160100000_01D_EN.rnx" with the same but just different tail ".rnx" ?
  3. N

    C/++/# Why the data does not print out with eclipse in unbuntu?

    @Svein : following you suggestion, I tried to put more condition for the while loop: int main() { string filename = "GANP00SVK_R_20160100000_01D_EN.rnx"; ifstream fin; fin.open(filename.c_str()); int noeph; int head_lines = 0; std::string header_end =("END OF...
  4. N

    C/++/# Why the data does not print out with eclipse in unbuntu?

    Dear group, I am using Eclipse in the Ubuntu operation system and trying to print out this data from the begin to the string "END OF HEADER" but I do not understand why it did not give me the one as I expected. I also used this file "albe0320_1.17n" to test and it worked, but the file that I...
  5. N

    C/++/# How to get data from text file in C++?

    Thank you very much, it's really worked.
  6. N

    C/++/# How to get data from text file in C++?

    @mfb : I am going to scan every single line, such as: PG01 -13708.647442 10773.249185 19862.568314 36.889073 5 6 6 115, They will separate by "space". Any tool can help me to get this done? Thank you.
  7. N

    C/++/# How to get data from text file in C++?

    Hi Group, I am trying to get data from text file, I hope someone can suggest me how to do? I also have this code which can read data, but i do not know how to scan every single line to get any information I want. Please help, Thank you very much. Here is my code: #include <iostream>...
  8. N

    C/++/# How to read a list of USB from C++ in ubuntu OS?

    I am trying to use C++ (eclipse in Ubuntu OS) to read USB connection. Usually, on the terminal window, I can use command "lsusb" to see the list. Now, I want to do the same way with C++. can anyone help? Thank you very much.
  9. N

    How to control any software using batch?

    Dear Forum, I am trying to run a random software (such as skype), there is easy to run by mouse and click on the icon on the desktop. Now, I am trying to take advance by using CMD (command prompt). I am going to type some basic command to make skype run, but I do not know how to go into any...
  10. N

    Python How can I control FLIR camera (tau 2.4) by using Python?

    Dear Forum, I am trying to use Python to control FLIR camera (tau 2.4) but I do not know there is possible or not? I say that because I see when I connect IR camera to the computer using USB, it shows COM port in the Device Manager and I've seen python possible to work with COM port through...
  11. N

    How to create batch file to shutdown computer?

    Dear Group, I would like to ask a question regarding to the batch file, I am trying to create a batch file which could help to to shutdown to computer quickly, but when i run batch file, the command window showed up and keep running too many line but did not shut down the computer. But when...
  12. N

    How to make raspberry pi connect with window7 (no internet)?

    Dear Borg, Nice to see you again on this forum, I understand that way to make a connection, but I would to do wireless connection, If you have an ideal, please provide me. Thank you so much, Borg. Nate Duong.
  13. N

    How to make raspberry pi connect with window7 (no internet)?

    Dear forum, I have an raspberry pi (which is using linux and bash),and I am trying to make connection with Windows7 and 8. As we know that we just need to download Putty.exe on the windows 7, run and insert IP address on to the box, another window will be showed up and "log in as" and...
  14. N

    How to install the serial module into cygwin (terminal)

    Dear group, I downloaded this software "cygwin," (terminal), and trying to run Python on this software but i failed on the installing the serial, Could you please give me some ideal? Thank you, Best regards, Nate Duong. $ python Blinking_off.py Traceback (most recent call last): File...
  15. N

    Fatal error: MCP4725.h?

    Dear all, I am working on Arduino and try to upload to Teensy, but when I uploaded, I had a problem with this message, "Interface22.ino:32:21: fatal error: MCP4725.h: No such file or directory compilation terminated. Error compiling" Could you please help for the reason and how to solve...
  16. N

    [Arduino] how to save serial monitor in the text file?

    Dear everyone, I trying to save serial monitor in the text file, but I still do not know how, could you please help on this problem? Here is the codes with random numbers are set up, and I would like you save all data into the text file, Thank you very much, Best regards, Nate Duong...
Top