Search:

Type: Posts; User: coolrox86

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    4,640

    Converting pointer to float.

    I've assigned a number into character pointer:




    char* strNumSet = "12.33";



    I want to convert pointer strNumSet into float. What is the correct way to do this?
  2. Replies
    2
    Views
    934

    Converting pointer to float.

    I've assigned a number into character pointer:



    char* strNumSet = "12.33";


    I want to convert pointer strNumSet into float. What is the correct way to do this?

    Kindly thanks for any...
  3. Replies
    1
    Views
    3,031

    MFC ComboBox and get the number?

    I've created a Combo Box in my MFC Dialog and would like to get the integer number which I select, for example:




    void CCOMPort_ReaderDlg::ReadDevice()
    {
    CHAR DeviceTermSize [6];
    ...
  4. Replies
    4
    Views
    727

    I've just tried to do what you have told me but...

    I've just tried to do what you have told me but the result is "ABC" and there is some unknown symbol behind it. How to eradicate this unwanted symbol?
  5. Replies
    4
    Views
    727

    Pointer Problem

    I'm having this problem in solving the transfer of alphabet into pointer.
    Below is my code:




    #include <iostream>
    using namespace std;

    void main()
  6. Replies
    2
    Views
    2,035

    Can't open Resource Dialog View

    Hi!

    I am doing a project on Visual C++ WinApi. After creating a new file and writing my code, I searched for a variable IDC_Button which is originated from the Resource Dialog. Then I read the...
  7. Replies
    2
    Views
    966

    I'm using Windows Vista and Microsoft Visual...

    I'm using Windows Vista and Microsoft Visual Studio 6.0. I have just found one Serial source file, but just doesn't know how to start my program.
  8. Replies
    2
    Views
    966

    Serial Communication Code for Reading

    Hi, does anyone has any simple C++ code to read data from serial port? I'm doing a project to receive a temperature reading for every 5 seconds from the serial port, so it shouldn't be any...
  9. Replies
    1
    Views
    3,229

    How to receive data from serial port?

    Hi everyone! I'm a new member here.

    First of all I would like to address my problem on C++ programming in serial communication. My program is expected to receive float number from the serial port...
Results 1 to 9 of 9