dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Barnabus

Search: Search took 0.02 seconds.

  1. Replies
    6
    Views
    17,034

    Re: C++ Windows forms with .cpp

    Hi
    This is similiar to my problem ("all the code in the form1.h")

    When I'd rather have functions under the buttons Rather than code Eg.



    private: System::Void...
  2. Replies
    10
    Views
    1,469

    Re: float to parts by fraction

    Thats Great Help... Thanks Alot DC...

    I started to Learn C++ the past year and I've been using Visual Studio Express C++.

    I've only ever wrote little programs in the Win32Console, untill last...
  3. Replies
    10
    Views
    1,469

    Re: float to parts by fraction

    Simple after you notice it :P



    float original_value;
    int wholePart = (int)original_value;
    float decimalPart = original_value - wholePart ;
    double decpart = 0.6f * (original_value -...
  4. Replies
    10
    Views
    1,469

    Re: float to parts by fraction

    Ahhhh I see now Hoxsiew Thanks For that.



    int intval;
    float floatval=4.75;
    intval=(int)(floatval*100.0);
    intpart=intval/100;
    decpart=intval%100;
    int...
  5. Replies
    2
    Views
    586

    Re: Where Should I Post ??

    Hi Srelu

    Thanks for the Reply ...

    Im using the Visual C++ Studio 2008 Express you get free from microsoft.

    And using the CLR Windows Form Application...

    C is Close Ill go Chase your...
  6. Replies
    10
    Views
    1,469

    Re: float to parts by fraction

    Thank You hoxsiew.

    I did Try this Method Previous but It was not as clever as yours. Infact my version didnt work.
    1st I discovered Modulus did'nt like floats and as you said rounded the values...
  7. Replies
    10
    Views
    1,469

    float to parts by fraction

    Hi All I hope I make Sense here, Ive confused myself to death

    I have 4 coponents with 4 different lengths - (2.4m) (1.8m) (1.2m) (0.6m)
    ...
  8. Replies
    2
    Views
    586

    Where Should I Post ??

    Hi All.

    I'm New Here, I need a little guidance with a windows form, these forums are so big Im at a loss where to actually post it.

    Ive looked around and it seems many people are being told...
Results 1 to 8 of 8


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)