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.
Type: Posts; User: ziga
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.
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...
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
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...
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...
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...
thx for the info but now i have to read more about the stringstreams, before i can continue with my programming.
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...
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...
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...
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...
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...
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;
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...
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;
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...