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 bkrike 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: 0x4B47
  • Content: Threads
  • Order by date
  1. 0x4B47

    Parsing .xls and .csv files

    Hi All, I was wondering if someone could help me with this problem I have. Here is the scenario: I have developed a Java application which allows users to upload two file types .xls and .csv. The files contain raw data. In a .csv a comma delimeter is used to determine the end of one field and...
  2. 0x4B47

    PHP MySQL error

    Why might I get the following error, and how can it be resolved? ERROR_BEGIN Warning: mysql_pconnect() [function.mysql-pconnect]: Can't connect to MySQL server on 'localhost' (10061) in c:\Inetpub\wwwroot\custlite\html\merged\Connections\connEclipse.php on line 9 Can't connect to MySQL server...
  3. 0x4B47

    Connecting a stand-alone app to a database

    Hi fellow Java coders, I've got a stand-alone Java app with a input box, and a submit button. I want the submit button to connect to a database (sqlserver) and call a stored procedure passing the value in the input box as a param to it. I have the host ip, db name and store proc name. Can...
  4. 0x4B47

    C++ interface to Oracle 9i

    Hi fellow programmers, I'm using Sergei Kuchins otlv4.h open source library to interface my C++ code with Oracle 9i database. If anyone is familiar with the library or even if anyone knows how to do it another way without the library, can you please help me with giving a SYS_REFCURSOR to an...
  5. 0x4B47

    pointer to a function type

    Can someone please tell me in what type of a situation a variable of the following type might be used? typedef void (* pFoo)( void * lpsomeData ); Are there any other ways of achieving the same results? If so, what are the pros and cons of the alternatives? Thanks in advance. 01001011 01000111
  6. 0x4B47

    Loadrunner

    Does anyone know a good website that have tutorials on LoadRunner?? 01001011 01000111
  7. 0x4B47

    String concat using overloaded operators.

    Hi fellow coders, Consider the class, class String { public: String( const char* = "" ); String( const String & ); ~String(); const String& operator=( const String & ); const String& operator+( const String & ); private: int length; char* pStr; void setString( const char* ); //...
  8. 0x4B47

    Dynamic object creation and dangling pointers.

    Hi fellow coders, I have a problem that I need assistance with. Consider this class in intset.h: class CIntSet { public: CIntSet(); ~CIntSet(); CIntSet* intersect( CIntSet* is1, CIntSet* is2 ); CIntSet* unionofSets( CIntSet* is1, CIntSet* is2 ); private: int* intSet; }...
  9. 0x4B47

    Complex Numbers

    Fellow coders, We know that a complex number is a number that is represented as so: ComplexNumber = realPart + imaginaryPart * squareroot of -1 How can we represent this number in a computer program? Because the squareroot of -1 is an error. Kunal.
  10. 0x4B47

    Simple card dealer

    Hi fellow coders, I am having a bit of trouble simulating a deal between two card game players. What my program is supposed to do is deal 5 cards to each player one card at a time. I'm storing this dealt card string in a temp var called 'cardDealt' before copying it into a 5 element 'char*...
  11. 0x4B47

    cstring function use problems

    Dear fellow coders, I can't seem to understand why im getting tun-time problems with the following code snippet: int main() { char* s = 0; char fubar[] = { "fubar" }; strcat( s, " fubar " ); // troublesome line strcpy( s, " fubar " ); // troublesome line strcat( s, fubar[]...
  12. 0x4B47

    Recursive isPalindrome method

    I written a recursive method which returns true if the string passed to it is a palindrome, I cannot seem to see why the logic isnt working. I've thrown in a bunch of 'cout' statement to see where its going wrong but I cannot see why! char buffer[] = "radar"; bool isPalindrome( char b[], int...
  13. 0x4B47

    passing const values to functions for array subscripts.

    OK fellow coders, I can't work this one out. I'm passing a const value to a function and using that const value to declare the array size inside a function. void foo( int a[], const int columns ); int main() { const int SIZE = 10; int array[SIZE] = {0}; foo( array, SIZE ); return 0; }...
  14. 0x4B47

    foo

    Hi group, I have seen this word 'foo' crop up in programming examples many a times. Can someone/anyone please tell me what 'foo' means. I know its a dummy name for example purposes but it must have some sort of a significant meaning as the whole programming world seems to be using it!!! Thanks K.
  15. 0x4B47

    Split Screen OpenGL

    Hi fellow coders, I am trying to get a split screen effect in OpenGL but only the 2nd viewport displays, from the code, can anyone tell me what I'm doing wrong? #include <GL/glut.h> #include <stdlib.h> void init(void) { glClearColor(0.0, 0.0, 0.0, 0.0); } void display(void) {...
  16. 0x4B47

    WinDVD

    Hi group, A bit of a sidetrack question but hopefully someone can help anyway. When I try to play a dvd with WinDVD I get the error: &quot;create overlay failed&quot;, does anyone please know why this happens?? Thanks.
  17. 0x4B47

    Initialising local variables

    Hi Assemblers, I was wondering, in high-level languages we initialize local variable sometimes like this (java): public static func(int param1, int param2) { String errMsg = &quot;An error occurred&quot;; // other code } now I know in Assembly we have the local directive, but how do...
  18. 0x4B47

    Non-Recursive Factorial Procedure

    Hi Assemblers, After implementing a non recursive method a find the factorial of a given positive integer n, I thought it worked fine until I reached number 13. Up to 12! (12 factorial) I get all the correct answers, but 13! gives me 1932053504 when its supposed to be 6227020800. What I've...
  19. 0x4B47

    General Pointer as a stack parameter...

    If my data was somthing like this: .data ArraySize = 8 Array1 byte ArraySize 1, 2, 4, 8, 16, 32, 64, 128, 255 Array2 word ArraySize 512, 1024, 2048, 4096, 8192, 16384, 32768, 65535 Array3 dword ArraySize 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216 and I had a...
  20. 0x4B47

    Open GL

    Hi group, I am pretty amazed at the fact that there isn't a forum exclusive for the OpenGL API programmers. As this is a C++ forum and OGL is mainly used with C++, are there people here that are OGL programmers?? K.

Part and Inventory Search

Back
Top