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!

Recent content by homeless

  1. homeless

    ADO read double Records from AccessDB

    Hello together, I try to read float and double(precision 12) Values from my Access Database. For float values it works fine, but i can't get the double values: the table: "Achsen", column with long values: "nIndex", column with double values: "nWert" [code] char *sqlquery = "SELECT nIndex...
  2. homeless

    grammar bison(yacc) question

    thx xwb, but this was not the answer of my question. think about an input statement like this one: if(x>y){...} with the primary_terminal "if" and while(x>y){...} with the primary_terminal "else"
  3. homeless

    grammar bison(yacc) question

    i try to catch the error position, and give out in an error File: stmnts: primary_terminal exp '\n' {/* read something...*/ } | primary_terminal error '\n' {/* give out the eror line for exp */; yyerrok;} | primary_terminal exp error {/* give out the eror line...
  4. homeless

    decimal to hexa

    i try to convert: 259 to 0x103 or 771 to 0x303 by using the stringstream manipulators int n stringstream ss; ss << hex << n; cout << ss.str(); what's whrong
  5. homeless

    function as define

    I found an Functions that looks like this one: //set the N-th Bit in the Bitarray #define BIT_SET(bit_array, N) \ ((bit_array)[BIT_ELNUM(N)] |= (BIT_TYPE)1 << BIT_NUM(N)) can I implement a function as define with a return Value?
  6. homeless

    write an bit into an unsign short array

    Hi, I try to write an bool Value into a member Atribute m_Value. m_Value is an 32 word a 32 bits, I think that means: unsigned short* m_Value; or unsigned short m_Value[32]; The Function can look like that: void CClass::setBoolValue(bool bValue,unsigned short WordNo,unsigned short...
  7. homeless

    membervar as array in astruct

    thx it works
  8. homeless

    membervar as array in astruct

    I try to set the data Array form the following struct typedef enum{ DIES,DAS }MessageType; typedef struct{MessageType type; unsigned long data[32]; }TriggerData; in main: int main(int argc, char* argv[]){ TriggerData sValue...
  9. homeless

    grab chars adress

    THX ArkM needed the position into the string, i don't know what a nonsense i've post: char *ptr = text + 4; // Zeichen 'o' int offset = ptr - text; done
  10. homeless

    grab chars adress

    i try to save the adress of single char from an char* something like this will not work static int* m_pPagePosition; char* &pBuffer; m_pPagePosition = reinterpret_cast<int*>(&pBuffer); // grab address
  11. homeless

    Need help with my Hash_set

    I can't belive it, but you have right. THX cpjust. It seems to work now
  12. homeless

    Need help with my Hash_set

    I try to fill the m_theDefinitions atribute on class CDefinitionContainer. the CDefinitionContainer.h #include <iostream> #include <string> #include <vector> #include "string_hasher.h" // with included <hash_set> class CDefinition; class CDefinitionContainer { public...
  13. homeless

    Write Conflict Error when editing a linked record

    try this link for answer http://support.microsoft.com/support/kb/articles/Q280/7/30.asp
  14. homeless

    Mail Merge to Word using Access query and form

    After I read FAQ181-271, I wonder how to create a query whose criteria is looking at the form and can have other tables, the Word doc then mail merges to that query. What is [uniquefieldname]? Is it a primary key name? Such as Account#.
  15. homeless

    macro for mail merge report

    After I read FAQ181-28 and FAQ181-271, I wonder how to create a query whose criteria is looking at the form and can have other tables.The Word doc then mail merges to that query. What is [uniquefieldname]? Is it a primary key name? Such as Account #.

Part and Inventory Search

Back
Top