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 SkipVought 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: doherty
  • Order by date
  1. doherty

    Illegal Operation when assigning char* to string

    instead of using build_str=buffer /*buffer without the [] is just a pointer to the first element in array*/ try strcpy(build_str,buffer); ---------------------------------------- Friends are generally of the same sex, for when men and women agree,it is only in the conclusions; their...
  2. doherty

    Question about improving the efficiency of Fast Fourier Transform

    on a side note check the bracketing and operator precedence #define matrix_element(i,j) ((i)*2+(j)-1) ---------------------------------------- Friends are generally of the same sex, for when men and women agree,it is only in the conclusions; their reasons are always different.
  3. doherty

    new and delete

    Maybe you’re not allocating as much memory as you think ---------------------------------------- Friends are generally of the same sex, for when men and women agree,it is only in the conclusions; their reasons are always different.
  4. doherty

    Stuck in infinite loop

    In function addToArray check that your not going past the array boundary because if you are its possible that your are writing in memory that was allocated to another variable, in this case maybe the var i is over written. Jim ---------------------------------------- Friends are generally of...
  5. doherty

    Hi, I get this link error when I

    The obvious choice would be to look in the header file. You have Not prototyped a function. Or you Have prototyped a function that is Not there Linker Error] Unresolved external '__fastcall Webadapt::TCustomLoginFormAdapter::GetUserNameA() ---------------------------------------- Friends are...
  6. doherty

    Comparing numbers

    I am a c/c++ programmer and not a huge fan of VB but I think I know whats wrong. In c/c++ we can’t compare floats or doubles for likeness because of the inaccuracies in the conversion process. Even though you may type in the value 4.5 and store it in a double it will not be stored as 4.5, most...
  7. doherty

    segmentation fault core dumped

    pollion It sounds like you didn’t fix the problem, and your program just started working again. This probably means that there is a bug in it, the type of bug that only shows under certain condition, a much harder bug to track down. So I would try to track it down if I were you, else your...
  8. doherty

    Access a Variable from an other variable ??

    function is in string.h strcmp(); e.g strcmp(VO,VS1) returns 0 if equal and non 0 if not. String Myfunc(String VO, String VS1, String VDD1){ if(strcmp(VO,VS1) ==0){ return(“GOOD BOY”) } else if(strcmp(VO,VDD1) ==0){ return("Good Girl"); } } Jim...
  9. doherty

    DOS with Borland

    what type of project are you selecting? 1) Windows applications! 2) Console! console is the one that you want for dos programming.

Part and Inventory Search

Back
Top