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

    complete reference of C++ windows programming?

    where's free ebook for complete reference of C++ windows programming?
  2. hughLg

    why can't ios::ate and seep(0, ios::end) in open() cannot serve like..

    outF.open("file.dat", ios::out | ios::binary | ios::ate); //outF.seekp(0, ios::end); outF.write((const char *)&num, sizeof(num)); num = 3; outF.write((const char *)&num, sizeof(num)); outF.close(); Why the open("file.dat", ios::out | ios::binary | ios::ate) and seekp(..) cannot make the...
  3. hughLg

    why still end of file with ifstream::open(..

    Isn't once we use open(..) function to open the ifstream file will automatically place the file pointer to the beginning? ifstream inF("file.dat", ios::in | ios::binary); for (;;) { inF.read((char *)&num, sizeof(int)); if (inF.gcount() == 0) break; cout << num << endl; }...
  4. hughLg

    Storing string into file

    I still cannot get the answer. The problem is, the string size can only be known at runtime, otherwise I can just use the character array (fixed size) to eliminate all the problem. But doing that way will waste up space in the file.
  5. hughLg

    Single computer (CPU etc) for more monitor

    So what is to be displayed on the every monitor? Same thing?
  6. hughLg

    Single computer (CPU etc) for more monitor

    Most of the time i need to view about 4 application windows simultaneously, but a single monitor makes uncomfortable for this usage. I'm not afford to buy another computer (CPU..) but another monitor Is it possible to use more than 1 monitor with a single computer (CPU, motherboard)?
  7. hughLg

    Storing string into file

    I wanna write a program that storing the following struct of data into the binary file: struct staff { string id; // maximum 8 characters. string name; // maximum 35 characters. string ic; // identity card number, maximum 14 character. unsigned short age; string remark; // no...
  8. hughLg

    how to break excel access passpord?

    I have a excel files which locked by my colleague with password, which prevent me to open it, how to break for password, or is there any alternative way?
  9. hughLg

    Absolute delete file and save space

    Normally the file deleted in Windows just away from sight, the storage still occupied for the deleted file. How can we make sure that the file is absolutely deleted (impossible to recover) and save space?
  10. hughLg

    Much of column &amp; merged cell..

    Is there any other way to get it? It produce double jobs, because the picture pasted is only value, after i amend the original data i still have to paste the updated data to desire location..
  11. hughLg

    Much of column &amp; merged cell..

    I saw someone created a report which, in a single page, he can make several tables with the different width and number of cell in a table. Such as table one, 4 columns, each column's width is 4.57, Another table has 7 columns, each columns's width is 6.23, etc. How to combine tables with...
  12. hughLg

    How To Change The Capitalisation Of Text In Cell

    How to change the case of text in cell?
  13. hughLg

    workspace won't saves worksheet's setting

    I tried to use the workspace to minimise the time to open all the source and destination workbook to make it looks good. But another problem found, the size and order etc of the workbooks won't be saved every time i save the workspace. And I've set the split and freeze panes in the worksheets...
  14. hughLg

    msExcel Link #value!

    I've a workbook that link to other workbook in a formula. When i open the destination workbook without opening the source workbook the result of the formula is #value!. It looks correct if both the source and destination files are opened at the same time.
  15. hughLg

    bios error after power failure

    Every time power failure occurs, the Bios halt at the error message screen saying:- BIOS V4.0 0061 CPU Clock Mismatch 0072 CMOS Checksum Error 0006 Equipment Configuration Error Press Ctrl_Alt_Esc key to enter Setup or F1 to continue... What's wrong?
  16. hughLg

    hiding day of the week in taskbar?

    normally when the taskbar is in default size at the bottom, it'll only shows the time and other items. when i resize it the make it heighter, the day of the week shown, how can i hide that day of the week? i just need the time?
  17. hughLg

    Initialisation of struct containing string?

    Can't initialize the variable a, why: #include <iostream> using namespace std; typedef struct { string a, b; int c; } T; int main() { T a = {"a", "b", 5}; } The following error & warning messages appear: Error E2291 test.cpp 11: } expected in function main() Error E2034 test.cpp 11...
  18. hughLg

    Blink in conio?

    Is there any available stuff in Borland free C++ compiler for blinking text in console?
  19. hughLg

    Blink in conio?

    When I use the blink from conio.h, the text doesn't blink, even after I switched it into full screen. If I run from command prompt in Windows XP, I've to open and closed instantly to make the blink text blinking. Why it doesn't blink all the time in full screen, how to get it work?
  20. hughLg

    font size/type in printer output?

    I'm using the following to send output to printer: FILE *prn = fopen("LPT1", "w"); fprintf(prn, "Line 1...");... How to change the font tyre and size for the output? Thanks.

Part and Inventory Search

Back
Top