Search:

Type: Posts; User: gozu

Search: Search took 0.01 seconds.

  1. Yeah, I was made aware of that. It is 50 bytes...

    Yeah, I was made aware of that. It is 50 bytes including newline. When i add ios::binary , then tellp says 49 bytes but I had already figured as much from trial and error. So I tried with...
  2. What am I doing wrong in this function? (writing to a file)

    This function creates 20 lines in this format:



    -2 000000000 * * -1
    -2 000000000 * * -1

    then I attempt to overwrite one of the...
  3. The second one. The function would act upon a...

    The second one. The function would act upon a stream created in main (from the primaryfile.txt)

    I'd also like to clean up my main by doing the actual writing to that same file in another function...
  4. what's wrong with my syntax? (passing text stream to a function)

    Hi everybody,

    I have some 50 bytes lines in a text file containing something like this:

    0 111444550 sam fisher -1

    I want to pass it to a function to parse it. Looked...
  5. Replies
    2
    Views
    1,463

    Help with stream processing (newbie hashfile)

    Both the primary and the overflow text files contain fixed-length records. The record structure is: DEL SSN FirstName LastName Pointer
    SSN is the primary key of the file.
    DEL: an integer, 0:...
  6. Replies
    9
    Views
    2,701

    I was offered a part time at $18/h . If you...

    I was offered a part time at $18/h . If you convert it to full time, it comes out to about $34,500 / year which corresponds to the low-end of your estimate.
  7. I have two words for you: learn Fortran...

    I have two words for you: learn Fortran
  8. Replies
    9
    Views
    2,701

    Question about pay

    I'm a senior CS student without significant programming experience and I was wondering what kind of pay I should expect for a job doing white box quality testing.

    I live in South east florida if...
  9. Thanks. After a long hesitation, I ended up...

    Thanks. After a long hesitation, I ended up saving the objects directly without going through an intermediate struct. the drawback was that I had to modify the datatypes of several private variables...
  10. First time implementing direct file access. What's the best way to do this?

    This is the code I currently have. As you can see, its got a long way to go. What I need to do is be able to save and load the private data in the Book and Patron objects in such a way that I can...
  11. Thank you! That fixed it. My code was good...

    Thank you! That fixed it. My code was good afterall, just not in the right place.

    Really, thank you for taking the time to help.
  12. Resizing a triangle. Why is my code not working?

    Hello,

    I'm trying to create an equilateral triangle that can be resized and rotated at the press of a button. To do so, I define the coordinates of the 3 points in the polar coordinate system,...
  13. Replies
    1
    Views
    1,710

    The problem was solved, To quote Griffin1977's...

    The problem was solved, To quote Griffin1977's message:

    The quick answer is to ensure the proprocessor define UNICODE is not defined in your code. In project properties...
  14. Replies
    1
    Views
    1,710

    Newbie question about creating a window

    Hi there,

    I'm working on my first non-console program and I'm stuck. This is the skeleton code I start with :

    #include <windows.h>

    const char g_szClassName[] = "myWindowClass";

    // Step 4:...
Results 1 to 14 of 14