Click here to Skip to main content
16,005,491 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: hook functions in another process Pin
jmkhael8-Dec-03 23:23
jmkhael8-Dec-03 23:23 
GeneralRe: hook functions in another process Pin
RicoH8-Dec-03 23:32
RicoH8-Dec-03 23:32 
GeneralRe: hook functions in another process Pin
jmkhael8-Dec-03 23:44
jmkhael8-Dec-03 23:44 
GeneralRe: hook functions in another process Pin
RicoH8-Dec-03 23:50
RicoH8-Dec-03 23:50 
GeneralRe: hook functions in another process Pin
jmkhael9-Dec-03 0:16
jmkhael9-Dec-03 0:16 
GeneralRe: hook functions in another process Pin
RicoH9-Dec-03 0:19
RicoH9-Dec-03 0:19 
GeneralRe: hook functions in another process Pin
Alexander M.,9-Dec-03 4:58
Alexander M.,9-Dec-03 4:58 
Generalatoi problems Pin
styve8-Dec-03 22:43
styve8-Dec-03 22:43 
Hi!

I'm have some problems with atoi. My simple program reading numbers from a file into a buffer. The numbers represent the time of the day with microseconds precision.

Ex. 124831123456
124831234567

Then will I subtract them but it will not work? Can someone help me?

int line;
int t, t1, t2;
char buffer[ROW][Buffer_Size];

ifstream inFile;
char inputFilename;

for(int k=0; k<20; k++){
inFile.getline(buffer[k], TIME_SIZE);
}

for(int x=1; x<20; x++){
t2 = atoi(buffer[x]);
t1 = atoi(buffer[x-1]);
t = t2 -t1;

cout << "t is equal to " <
GeneralRe: atoi problems Pin
jmkhael8-Dec-03 22:49
jmkhael8-Dec-03 22:49 
GeneralRe: atoi problems Pin
Ian Darling8-Dec-03 23:31
Ian Darling8-Dec-03 23:31 
QuestionA Stupid doubt???? Pin
Ilamparithi8-Dec-03 22:42
Ilamparithi8-Dec-03 22:42 
AnswerRe: A Stupid doubt???? Pin
jmkhael8-Dec-03 22:51
jmkhael8-Dec-03 22:51 
AnswerRe: A Stupid doubt???? Pin
RChin8-Dec-03 23:01
RChin8-Dec-03 23:01 
AnswerRe: A Stupid doubt???? Pin
Michael Pauli9-Dec-03 5:22
Michael Pauli9-Dec-03 5:22 
GeneralPrinting trouble Pin
El'Cachubrey8-Dec-03 22:23
El'Cachubrey8-Dec-03 22:23 
GeneralRe: Printing trouble Pin
Roger Allen9-Dec-03 4:24
Roger Allen9-Dec-03 4:24 
Generalaccessing the base class Pin
satadru8-Dec-03 21:28
satadru8-Dec-03 21:28 
GeneralRe: accessing the base class Pin
Antti Keskinen8-Dec-03 21:49
Antti Keskinen8-Dec-03 21:49 
GeneralRe: accessing the base class Pin
satadru9-Dec-03 0:30
satadru9-Dec-03 0:30 
GeneralRe: accessing the base class Pin
Antti Keskinen9-Dec-03 2:27
Antti Keskinen9-Dec-03 2:27 
GeneralRe: accessing the base class Pin
satadru10-Dec-03 0:30
satadru10-Dec-03 0:30 
GeneralRe: accessing the base class Pin
Antti Keskinen10-Dec-03 8:04
Antti Keskinen10-Dec-03 8:04 
GeneralRe: accessing the base class Pin
El'Cachubrey8-Dec-03 21:54
El'Cachubrey8-Dec-03 21:54 
GeneralTo develop a Fake USB port (or) a Dummy Device Pin
abhiram8-Dec-03 21:01
abhiram8-Dec-03 21:01 
GeneralRe: To develop a Fake USB port (or) a Dummy Device Pin
Prakash Nadar8-Dec-03 21:13
Prakash Nadar8-Dec-03 21:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.