Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Leibnitz
  • Content: Threads
  • Order by date
  1. Leibnitz

    Adding Chatterbot on website

    I have written a chatterbot in C++,basicaly what i want to know is that if there is anyway that i could manage to put it on my website to make it available for a direct conversation with the visitors. Do i really have to rewrite the entire code in a scripting language like JavaScript or is there...
  2. Leibnitz

    Drawing Application Problem

    I have created a very basic MFC Application but when i run it, it use 100% of my CPU resources. Here is the code: #include <afxwin.h> class CDrawingApp : public CWinApp { public: virtual BOOL InitInstance(); CDrawingApp() {}; }; class CMainFrame : public CFrameWnd { public: CMainFrame() {...
  3. Leibnitz

    Modifying class variables

    Is it possible to modify the value of a variable declared in a class by calling an object created outside that class? here is an example: class CMyClass { public: CMyClass() { m_nNum = 0; } void OnPaint(); void Draw(); BOOL m_nNum; ... .. }; ..... #include "myclass.h" ..... void...
  4. Leibnitz

    graphic application

    I have created an MFC application for drawing poligons,i have a window which is the main window for the program,i use this window to display the image of the poligons. ( i have created a class to handle the routines for the main window) But before to start drawing a polygon, i use 2 Dialog Boxes...
  5. Leibnitz

    explanation needed

    any body can tell me what is a thesaurus active x component? I mean,i understand a littlebit what the term active x component means but i dont think i understand the word thesaurus.
  6. Leibnitz

    Function pointers

    What is the proper syntaxe for declaring a function that takes another function as parameter? i think that i know how to do it in C but i can't figure it out in C++. The reason why i'm asking this is because my functions are declared in a class.(ex: class MyClas)
  7. Leibnitz

    question on parallel port

    Hi, i would like to ask about reading data from control port? control port one of the registers of parallel port. if i made a program to read data from this register what is the maximum value i got from this port? this code shows how to read control port( 890 = address of it) code : start...
  8. Leibnitz

    Dealing with parallel port reading and writing.

    what i need to know exactly is how i could read the bytes that reach the parallel port each 1ms (for example), and then use those data bytes to represent a sin wave on the coordinate system? which means each byte will be read according to timer then the data will be converted to its decimal...
  9. Leibnitz

    Dealing with parallel port reading and writing.

    what i need to know exactly is how i could read the bytes that reach the parallel port each 1ms (for example), and then use those data bytes to represent a sin wave on the coordinate system? which means each byte will be read according to timer then the data will be converted to its decimal...
  10. Leibnitz

    save structure to file

    ****************************************************************************** I have used the following code sample to save a tree structure to a file: fp = fopen( &quot;tree.dat&quot;, &quot;wb&quot; ); if( !fp ) { cerr << &quot;Error while saving tree&quot; << endl; break; }...
  11. Leibnitz

    n-ary trees**

    I need some help for implementing a n-ary tree.I have found information on the internet on how to implement a binary tree and binary search tree,but i still can't figure out how to use the same procedure to write some code for a n-ary tree.I need to be able to do the following operation on the...
  12. Leibnitz

    n-ary trees

    I need some help for implementing a n-ary tree.I have found information on the internet on how to implement a binary tree and binary search tree,but i still can't figure out how to use the same procedure to write some code for a n-ary tree.I need to be able to do the following operation on the...
  13. Leibnitz

    Drawing rectangles

    ********************************************************************************* i'm trying to make some drawing with the mouse,for that purpose i have wrote the following code but there is no results displayed on the window.I can't find what's wrong with the code: [code] void...
  14. Leibnitz

    Detect keyboard butons

    I'm writing a program that detects which buton on the keyboard that the user have hit.How would i detect butons that are the combinaison of two characters( ex: delete, pageUp, pageDown, etc ).
  15. Leibnitz

    Counting lines of code without the comments and blank lines

    ******************************************************************************************** If you've ever wanted to count the lines of your code without the comments and blank lines ,here is a piece of code that i have wrote that will help you do it. #include <stdio.h> #include <string.h>...
  16. Leibnitz

    Counting lines of code without the comments and blank lines

    ******************************************************************************************** If you've ever wanted to count the lines of your code without the comments and blank lines ,here is a piece of code that i have wrote that will help you do it. #include <stdio.h> #include <string.h>...
  17. Leibnitz

    MFC tutorial

    Where can i find a good tutorial on the web for learning MFC ? It has to be something for a beginner in MFC. any good advice is welcome !
  18. Leibnitz

    Neural Networks

    Does anyone knows how to implement a simple Neural Network using Backpropagation algorithm ? any ideas or codes are welcome. Thanks in advance !
  19. Leibnitz

    Neural Networks

    Does anyone knows how to implement a simple Neural Network using Backpropagation algorithm ? any ideas or codes are welcome. Thanks in advance !
  20. Leibnitz

    Neural Networks

    Does anyone knows how to implement a simple Neural Network using Backpropagation algorithm ? any ideas or codes are welcome. Thanks in advance !

Part and Inventory Search

Back
Top