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 Mike Lewis 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: *

  1. Silentkiller

    Passing Variable back to C?

    Hi! Sorry i didnt meant to be!
  2. Silentkiller

    Passing Variable back to C?

    Thanks for trying to help. Me managed to solve the problem
  3. Silentkiller

    Passing Variable back to C?

    Hi, Does anyone know how can i pass a variable from tcl back to C. Eg. me selected a filename in Tcl, and wanting to open the file in C. M'i suppose to use Tcl_LinkVar or Tcl_SetVar? Pls enlighten. A simple example will be helpful. Help will be greatly appreciated.
  4. Silentkiller

    How do display an image using bitmap function

    Hi, One more thing to add, the image is in ascii code.
  5. Silentkiller

    How do display an image using bitmap function

    Hi, Can anyone guide and enlighten me how to display an image using bitmap function. Help will be greatly appreciated Silentkiller
  6. Silentkiller

    Is storing of Data Carried out?

    Hi, i wrote a program to open and read a file and wanted to store my the content into a buffer. Does my program works? How can i read the data from my buffer? #include <stdio.h> #include <string.h> #define buffer 1000 main() { FILE *pf; int i; int width; int height; int maxVal; int...
  7. Silentkiller

    How to store the pgm file open into buffer using &quot;strcat&quot;

    Hi, I need some help with storing the Data of Pgm file into Buffer using Strcat; Here is my source code: /* fread example: read a complete file */ #include <stdio.h> #include <stdlib.h> #include <string.h> int main () { FILE * pFile; long lSize; char * buffer; char filename[80]...
  8. Silentkiller

    what went wrong with my program?

    Hi, I need some help, i have written a program in C to read the header, width , height and maxVal of a pgm files. I managed to read and display the header information, but failed to read the width, height and maxVal of the file. Can anyone enlighten me on what went wrong. Here is my...
  9. Silentkiller

    Reading the data array from Tcl/Tk to C

    Hi I managed to open an image file in Tcl/Tk. How can i read the data arrays of the images into C program? Please enlighten me. Thanx! With Regards S C Ho
  10. Silentkiller

    Drawing a line over the image i called

    Hi ulis, Thankx! It was helpful! With regards Melvin
  11. Silentkiller

    Drawing a line over the image i called

    Hi, Can anyone enlighten me on how can i draw a straight line across the image i have called. Acutally i have tried to combine two code that is #Calling out the Image { set w .image1 catch {destroy $w} toplevel $w wm title $w &quot;Image Display&quot; wm iconname $w &quot;Image1&quot; catch...
  12. Silentkiller

    displaying image using canvas

    Hi! How can i display a *.pgm image i called, using canvas function. I'm new to Tcl/Tk. Thankx
  13. Silentkiller

    Displaying Image in TK

    Hi! Can anyone enlighten me on how to write me program in tk to display an image(*.bmp)/(*.pgm) format after i called the file in TCL
  14. Silentkiller

    Help with interfacing C program with Tcl

    Hi, i'm new to Tcl/Tk and currently working on a project related with it. Can anyone provide with some guidance on how can i interface My C program with Tcl. Or can anyone provide me with a simple program that i can take referance with.

Part and Inventory Search

Back
Top