Search:

Type: Posts; User: ziga

Search: Search took 0.01 seconds.

  1. finche_88 i gues you wuld like to cheat at some...

    finche_88 i gues you wuld like to cheat at some cind of game like second life or something:)? if you send 2 many same info thay can find that out and kick you out of the game.
  2. Replies
    1
    Views
    783

    limits for reading inputlines

    hello

    I am having problems with reading input lines.
    i wanna tell my progrem that whan i input a line it have to read diferent strings.

    if i input a line:
    n10000 x-123 465 y

    i have to get...
  3. Thread: USB interface

    by ziga
    Replies
    9
    Views
    2,367

    yes that is what i need, but i wanna control it...

    yes that is what i need, but i wanna control it wia usb, and a program wich i can write in c++ on debian, i wuld like to get some experience interfacing usb port
  4. Thread: USB interface

    by ziga
    Replies
    9
    Views
    2,367

    yes you can do it this way on paralle port too,...

    yes you can do it this way on paralle port too, but than you need a special curcit with some ram to store how motors must move, couse all the mottors must move at exactly the same time, for input...
  5. Thread: USB interface

    by ziga
    Replies
    9
    Views
    2,367

    yes making 4 addres and 4 data bits on paralel...

    yes making 4 addres and 4 data bits on paralel port is ok, but if you want to controol more than 4 stepper motors it is not practical, couse each motor needs a step and direction ping, and on step...
  6. Thread: USB interface

    by ziga
    Replies
    9
    Views
    2,367

    USB interface

    Hello, i am not shure if this is the wright topic for tech board.

    But i am looking for some info on how to program usb.
    is there any cind of chip or something that wuld make programming simple...
  7. Replies
    21
    Views
    3,022

    thx for the info but now i have to read more...

    thx for the info but now i have to read more about the stringstreams, before i can continue with my programming.
  8. Replies
    21
    Views
    3,022

    ok i didnt see youre post bench82 i just posted...

    ok i didnt see youre post bench82 i just posted what ive been doing this morning ill try your program.
    I have a question what is the diference between std::cout and only cout"...?
    were can i find...
  9. Replies
    21
    Views
    3,022

    ok i found a way to first transform a std::...

    ok i found a way to first transform a std:: string to a c string (char)
    and from char using atoi function to get integer.
    here is te

    // strings and c-strings
    #include <iostream>
    #include...
  10. Replies
    21
    Views
    3,022

    prog-bman thx for the link i was searching thrue...

    prog-bman thx for the link i was searching thrue librarys and found a function
    string ( const string& str, size_t pos, size_t n = npos )
    it works just like i wanted it even displays + or - if i put...
  11. Replies
    21
    Views
    3,022

    yes a single int holds 2345. but if i have...

    yes a single int holds 2345.
    but if i have 234587 in string, and i only wanna have the first 4 digits as a number ( a = 2345) it wont work couse it wil input all the digits => a = 234587.
    or if i...
  12. Replies
    21
    Views
    3,022

    I wanna hold entire number. lets say my string...

    I wanna hold entire number.
    lets say my string is:
    i 2345 l6543 n1234 k
    i wanna have
    a = 2345
    b = 6543
    c = 1234
    so i can use + - *... with tham.
    so if i read corectly i have to declare that...
  13. Replies
    21
    Views
    3,022

    ok i try function atoi, it works finehere is the...

    ok i try function atoi, it works finehere is the code


    // program that transforms charicters in to integer
    #include <iostream>
    #include <stdio>
    #include <stdlib>

    using namespace std;
  14. Replies
    21
    Views
    3,022

    I wanna make my program read numbers, from input...

    I wanna make my program read numbers, from input line.

    but the problem is i also have letters in my input line so i have to use char function.

    but i cannot operate + - * / functions with char...
  15. Replies
    21
    Views
    3,022

    simple program for char-int

    Hello i am having problems transforming program from char - int



    // program that transforms charicters in to integer
    #include <iostream.h>
    #include <cstring.h>

    using namespace std;
  16. Replies
    1
    Views
    1,653

    reading numbers from input file

    Hello.
    I would like to say that i am a newby in c++ programming i have verey little experience.

    I would like to know were in wich tutorials i'd have to search to find how to get integers from...
Results 1 to 16 of 16