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 ("/forum/example.txt");
if (! examplefile.is_open())
{ cout << "Error opening file"; exit (1); }

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










CodeToad Experts

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








Recent Forum Threads
•  Why Use Method?
•  Re: Help with filesystem object & displaying in a table
•  Re: Genetic Algorithm Help
•  Re: How to make an investment calculator
•  Re: line breaks in GUI
•  Re: Graph in Gui...
•  Graph in Gui...
•  Re: Counting zero values in a string
•  Re: Help!


Recent Articles
Multiple submit buttons with form validation
Understanding Hibernate ORM for Java/J2EE
HTTP screen-scraping and caching
a javascript calculator
A simple way to JTable
Java Native Interface (JNI)
Parsing Dynamic Layouts
MagicGrid
Caching With ASP.Net
Creating CSS Buttons


Site Survey
Help us serve you better. Take a five minute survey. Click here!

© Copyright codetoad.com 2001-2005