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. KotiChennayya

    Drag and drop options in widgets

    Hi, I need help in making use of dragsite and dropsite facilities in Bwidgets. Basically I have an application containing Iwidgets, how do I drag and drop them ? Thankx .
  2. KotiChennayya

    Pass 2-D Array to Subroutine

    double Fn(double[][2]);//Function prototype int main() { double d[9][2]; var = Fn(d); return 0; } double Fn(double d[][2]) { //Do your stuff here } Hope this helps Rgds Koti
  3. KotiChennayya

    need help readin from a file

    wooops..!! one correction while(!myfile.eof()) { myfile.getline(caStr,32); i++; //....^.... should be caStr of i } sorry for the mistake. regards Koti
  4. KotiChennayya

    need help readin from a file

    wooops..!! one correction while(!myfile.eof()) { myfile.getline(caStr,32); i++; //....^.... should be caStr[i] } sorry for the mistake. regards Koti
  5. KotiChennayya

    need help readin from a file

    #include <iostream> #include <fstream.h> int main() { char caStr[10][32]; ifstream myfile(&quot;c:\\dictionary.txt&quot;); if(!myfile) { cout << &quot;File open error&quot; << endl; return 1; } int i = 0; while(!myfile.eof()) { myfile.getline(caStr[i],32); i++; } for(int j =...
  6. KotiChennayya

    FlushChannel: damaged channel list error...

    Hi All, I am implementing multithreaded application in VC++ & TCL(Ver 8.3.4.3). From main thread I am spawning 3 threads.Inside each thread I am creating a interpreter & a command in that interpreter.After creating the command I am evaluating a file.The code is compiling succesfuly.When I run it...
  7. KotiChennayya

    Nested If Statements

    puts &quot;Enter one character&quot; gets stdin input set length [string length $input] if {$length == &quot;1&quot; } { if {$input >= &quot;0&quot; && $input < &quot;10&quot;} { puts &quot;Integer received&quot; } else { puts &quot;Non integer received&quot; } } elseif {$length < 3} {...
  8. KotiChennayya

    Is Tcl 8.4.4.0 stable on Win2k professional?

    Hi all, I was using tcl 8.3.4.3 till now on Win2k.Reecntly I have downloaded 8.4.4.0 version & installed it.After that when I tried to execute my program(I mean C programs which uses TCL APIs) which was written for version 8.3.4.3 its getting crshed.Its the same problem with all C programs which...
  9. KotiChennayya

    How can I print to console in C when command syntax is wrong?

    Thank you.This is greate... Rgds Koti
  10. KotiChennayya

    How can I print to console in C when command syntax is wrong?

    This is perfectly fine.But my doubt is not that.I will parse through the arguments & if any argument is missing I have to inform to the user.I will be parsing arguments in C not in TCL script. So if I say just %load mydll.dll %set a 2 %set b 3 %iseq $a &quot;wrong # args: should be &quot;iseq...
  11. KotiChennayya

    How can I print to console in C when command syntax is wrong?

    Hi All, I have a command iseq for comparing 2 numbers. I am using it in a script & i will be calling the script in Tcl_EvalFile().I will be checking whether all the parameters are present.If not I want to print error message to std output.Here I dont want to use printf().I want to simulate the...
  12. KotiChennayya

    Howcan I create TCL Library in TCL?

    Thanks a lot to all of you.Your suggesitions really helped me a lot. Thanks once again Rgds Koti
  13. KotiChennayya

    Howcan I create TCL Library in TCL?

    Hi All, Can I create a TCL library in TCL itself?Yep in C its possible.But isthere any way to do it in TCL itself? Thanks & rgds Koti
  14. KotiChennayya

    Let me explain the secnario first.

    Thank you Mr Jones. Initially I also thought its better to make my own thread extension.But I have got lot of dependencies which has to be initiated in C ONLY before I do anything.Over that there is a freqent transition of control between C & TCL script.Your suggesstion is an excellent idea.My...
  15. KotiChennayya

    Let me explain the secnario first.

    Let me explain the secnario first. I am running a multithreaded application(10 threads) in C.Inside each thread I am creating a TCL interpreter. After creating the interpreter I am executing a TCL script.Within the script I am logging in to the Oracle database(I am using ORATCL 3.1 &TCL 8.3)...

Part and Inventory Search

Back
Top