codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  how read floating data from notepad and analysis it  pojie_yana at 07:56 on Thursday, September 15, 2005
 

hi....
now I am doing my final project, where need to read ecg data from notepad and interpret it...

in my project,the step required are :
1. read data.
2. filtering.
3. derivative.
4. dtection of QRS complex.

for infomation, i got all the program for filtering, derivative and detection. but the problem is i dont know how input to call the data from notepad...

please help me...
thank you...


  Re: how read floating data from notepad and analysis it  Yusairi at 03:04 on Thursday, September 22, 2005
 

hi pojie_yana,

the data in text format (can be open via notepad)
should be standardize and it will be easy for you
to extract it and insert into database before you
are starting for analysis.

this is some sample you can adapt on your code.
GOOD LUCK.

// reading a text file
#include <iostream.h>
#include <fstream.h>
#include <stdlib.h>

int main () {
char buffer[256];
ifstream examplefile ("example.txt");
if (! examplefile.is_open())
{ cout << "Error opening file"; exit (1); }

while (! examplefile.eof() )
{
examplefile.getline (buffer,100);
cout << buffer << endl;
}
return 0;
}

Yusairi: site expert
http://www.codetoad.com









CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
• C++
• Re: refresh parent after closing pop up window
• Dynamic Insertion
• Date and Time function around the world???
• Significant Factors
• Perl array access
• Re: huffman encoding and decoding in C++...
• Perl One Liner: Replace {(
• Re: html including php, accessing the functions


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2009