Search:

Type: Posts; User: pittuck

Search: Search took 0.00 seconds.

  1. Thread: Trim A String

    by pittuck
    Replies
    5
    Views
    2,149

    Thanks, I will post my *final* code in a few...

    Thanks,

    I will post my *final* code in a few mins, when its final ;)
  2. Thread: Trim A String

    by pittuck
    Replies
    5
    Views
    2,149

    Oh and here is the code for the begining: ...

    Oh and here is the code for the begining:




    #include <iostream>
    #include <string>
    #include <ctype.h>
    using namespace std;
  3. Thread: Trim A String

    by pittuck
    Replies
    5
    Views
    2,149

    Thanks, Thats is very helpful. How would i...

    Thanks,

    Thats is very helpful.

    How would i got about doing the end bit? Counting backwards for example?

    The end bit is the most important becasue us202 could be sent but only us2 recieved,...
  4. Thread: Trim A String

    by pittuck
    Replies
    5
    Views
    2,149

    Trim A String

    Hi, as you may no i am working on some serial communications code, to communicate with my elecronics project.

    Here is the deal, i have a string:

    s654us23us456us234us2us34

    Now, the string...
  5. Replies
    6
    Views
    1,271

    Thanks for your help all! Google is good, but...

    Thanks for your help all!

    Google is good, but too good.

    Problem is i can inadvertadantly start reading somming in C or PERL etc. which is a waste of time!

    ;)
  6. Replies
    6
    Views
    1,271

    Hi, I must ask, is there a website with a list...

    Hi,

    I must ask, is there a website with a list of C++ commands commonly used where i can find examples and the command structure of the commands you suggested?

    Would be a lot faster and easier...
  7. Replies
    6
    Views
    1,271

    Slitting a string

    Hi, i am having some trouble finding help on how to split a string here is an example of the string:

    2us234us2us123us34us209u

    I want this to be changed to a 2d array with

    us | 234
    us | 2...
  8. Thread: How to GUI...

    by pittuck
    Replies
    4
    Views
    1,502

    How to GUI...

    I am making a program that will need to display the following information:

    Distance
    Motor PWM1
    Motor PWM2
    Motor Speed1
    Motor Speed2

    The data will be updated every 30ms.
  9. Replies
    4
    Views
    1,683

    Haha funny. All i need is to be able to use...

    Haha funny.

    All i need is to be able to use readfile to get the input from my device.

    Easy eh??

    So, any helpfull ideas which will help me...
  10. Replies
    4
    Views
    1,683

    Readfile() - Newbi help

    #include <stdio.h>
    #include <windows.h>
    #include <pt_ioctl.c>

    int __cdecl main(void)
    {
    char quit;
    DWORD dwRead;
    OVERLAPPED osReader = {0};
    unsigned char value;
  11. Replies
    3
    Views
    2,937

    Arrg, ok thanks Starting to hate...

    Arrg, ok thanks

    Starting to hate documentation, it was just a copy past thing. nm

    What include do i need to use create file?
  12. Replies
    3
    Views
    2,937

    inportb() again, sorry

    Ok, yes i know of google, but lifes too short to sort through thousands of articles and manuals that do not answer my question.

    value = inportb(0x378);

    I am using port talk to allow me access...
  13. Replies
    6
    Views
    8,386

    Well i am not stipped for cash, i can get hold of...

    Well i am not stipped for cash, i can get hold of C++ or even the latest studio if i plead with my Dad. He should have a few coppies flying around at work, like ehem the Windows 2000 pro we...
  14. Replies
    6
    Views
    8,386

    Ok, well given half the chance i would go an buy...

    Ok, well given half the chance i would go an buy visual C++ but no money.

    I am very good at picking up new languages. I picked up and used correctly Perl in my work experience. Made a comple...
  15. Replies
    6
    Views
    8,386

    I know, but i can jump in at the deep end and...

    I know, but i can jump in at the deep end and learn from that.

    I just need a book or a tut or somming.

    If i find it too hard i will go and do console too, but for the moment i want to do...
  16. Replies
    6
    Views
    8,386

    Windows Apps in Dev-C++

    Ok here i go:

    I am 16 years old and mainly program in a few BASIC Languages, PHP and a small bit of VB. I would like to learn C++ and have downlaoded and installed Dev-C++. But from what i can see...
Results 1 to 16 of 16