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

  1. jdechirico

    ASSIGNMENT OF AN ARGV VALUE TO A VARIABLE

    thx, any chance you could give me a code snippet?
  2. jdechirico

    ASSIGNMENT OF AN ARGV VALUE TO A VARIABLE

    Hello, i am trying to take data entered via the command line and assign it to a variable, The affected values/fields: Before main #define KEY_BYTES 24 After main unsigned char keyData[KEY_BYTES]; keyData = argv[2]; The compiler is complaing that keyData must be a modifiable...
  3. jdechirico

    How would you create a random string of data

    cpjust, any chance you could provide me with "code snippit" that would set a character field, randombytes, to a 80 byte random string?
  4. jdechirico

    How would you create a random string of data

    I have a program that takes data entered from a keyboard and uses it as a random seed value, is there anyway to generate a string of up to 80 characters that could be used in place of data entered from a keyboard?
  5. jdechirico

    Can one of you C guru's help me please???

    TrojanWarBlade.... The only assumption I have made is that the program is becomming more and more difficult. Any suggestions or comments are greatly appreciated. Thanks
  6. jdechirico

    Can one of you C guru's help me please???

    cpjust.... Ok, i will bore you to tears now... I wish i had a white board to show a more complete flow.... but... First, this entire process is run in batch on a z/os 1.7. Next, at the highest level in an assembler language program (A0) that reads a file and creates buffers consisting of...
  7. jdechirico

    Can one of you C guru's help me please???

    a little more info on the "key" question from above there is a little more existing code as follows: ITEM xxxKeyItem = {NULL, 0}; xxxKeyItem.data = xxxKeyData; xxxKeyItem.len = xxxKeyDataLen; so to relate back to the previous post how can i set the xxxkeyitem.data and xxxkeyitem.len to the...
  8. jdechirico

    Can one of you C guru's help me please???

    ok, let me take a different approach... My c program is being called by another program and is being passed a string of characters which represnet a "key", how do i capture that string of characters in my c program? currently the "key" value is hard coded as: static unsigned char...
  9. jdechirico

    Can one of you C guru's help me please???

    to cpjust, yep program 123 needs to be a separate program, infact program 123 is written in assembler language because its functioning at the operating system level, it has a twin called 456 which does the inverse of the functions that 123 does. the reason for two programs it KISS, to me a...
  10. jdechirico

    Can one of you C guru's help me please???

    xwb, 30 years huh, i wrote my first application in 1968 in a language called fargo.... long time anyway, the c functions are running on an ibm mainframe under z/os 1.7 the c compiler is ibm's c. so, whats ipc and how does one use shared memory? I will tell you that I have not really gotten...
  11. jdechirico

    Can one of you C guru's help me please???

    xwb... I missed your item #2, and now i will show my ignorance, whats a prototype of a function??? Like i said at the beginning, i am not up on these new fangled programming languages...
  12. jdechirico

    Can one of you C guru's help me please???

    xwb, thanks for the response.... Now the question is how do we establish a common frame of reference... Lets say that I have program called abc it reads data from a disk file into what I call a workarea or buffer and I guess you would call an array, program abc also saves the length of the...
  13. jdechirico

    Can one of you C guru's help me please???

    am a new to this board and came here out of desparation.... I need to modifiy a C program to allow the workareas (there could be up to 30) it uses to be defined externally and passed to the C program, also I need to pass the lengths of the work areas. I have exhausted my limited knowledge of C...

Part and Inventory Search

Back
Top