Search:

Type: Posts; User: DirX

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,294

    Alrite thnx a lot problem fixed, worked fine when...

    Alrite thnx a lot problem fixed, worked fine when i changed


    ios::in || ios::binary

    to


    ios::in | ios::binary
  2. Replies
    4
    Views
    1,294

    donnu if it helps but here is the code i used to...

    donnu if it helps but here is the code i used to insert:



    DB_out.open("db.raw", ios::binary || ios::ate);

    DB_out.seekp( ( ( Position * sizeof(Book) )), ios::beg );
    DB_out.write( (char...
  3. Replies
    4
    Views
    1,294

    Problem with Binary File I/O

    Writing goes fine, evrythin in the binary file is just the way it should be, only problem i am havin is with reading. At one point my code will just start to spurt strange BS.



    ...
  4. Replies
    19
    Views
    6,982

    I Speak dutch, english and can understand most...

    I Speak dutch, english and can understand most and speak a little german. I am a novice c++ programmerand am not having to many troubles
  5. Replies
    3
    Views
    2,837

    Here is a working piece of code for your...

    Here is a working piece of code for your assignment. Fully done, i was bored so don't expect it to be done often....



    #include <iostream>
    using namespace std;

    int main()
    {
    // Variables...
  6. Replies
    6
    Views
    1,636

    One problem i found was this: #include...

    One problem i found was this:



    #include <iostream.h>
    using namespace std;


    the old .h version doesn't use namespaces, atleast not in MSVC you might wanna try changing this to the new...
  7. Thread: Linked List

    by DirX
    Replies
    11
    Views
    985

    Ok all thanks for you help, guess i need to read...

    Ok all thanks for you help, guess i need to read up on pointers and reference's again been a while since i used em this intense. Elad thnx for putting it in plain english =]
  8. Thread: char problem

    by DirX
    Replies
    10
    Views
    2,595

    ehhhh..... no try something like this: ...

    ehhhh..... no try something like this:



    StudentGrade::StudentGrade(const int id, const char lname[], const double score, const double possPoints)
    {
    possible=possPoints;
    ...
  9. Thread: char problem

    by DirX
    Replies
    10
    Views
    2,595

    StudentGrade::StudentGrade(const int id, const...

    StudentGrade::StudentGrade(const int id, const char lname[], const int score, const int possPoints)
    {
    idNum=id;
    findGrade();

    }


    Not quite sure but don;t you wanna do something with the...
  10. Thread: Linked List

    by DirX
    Replies
    11
    Views
    985

    hmm ok well first of all i might have explained...

    hmm ok well first of all i might have explained this wrong but the way i want this is head->new element->old element or null....

    second of all i think the problem is with the functions and the...
  11. Thread: Linked List

    by DirX
    Replies
    11
    Views
    985

    Hmm ok but i do wanna change the memory that head...

    Hmm ok but i do wanna change the memory that head is pointing to, i wanna change it to the memory used by the new ListType that was initialized in InitializeList. Basically the problem is that when i...
  12. Thread: Linked List

    by DirX
    Replies
    11
    Views
    985

    Linked List

    I create a new element of a struct inside a function and then send a pointer to that new element into another function where it sets that equal to the head and links the previous link of the head to...
  13. Replies
    2
    Views
    1,315

    Shutting Down windows

    I looked in the forum and i found some code but i can;t get it to work =\. I am trying to write a program that will be able to shutdown a windows 98 computer, i tried using the ExitWindowsEx function...
  14. Replies
    10
    Views
    6,255

    Making the system use the ram improperly would...

    Making the system use the ram improperly would mean you reprogrammed the BIOS. Windows does not directly access the ram, all Ram operations go through the bios. Would be somewhat funny if you could...
  15. Thread: 0's

    by DirX
    Replies
    13
    Views
    1,545

    The official FSB of PC2100 DDR is 266 if i...

    The official FSB of PC2100 DDR is 266 if i remember right therefor it has a FSB of 133 and a multiplier of 2 to it adding up to 266.

    I doubt however that underclocking the RAM would remove any...
  16. Replies
    3
    Views
    2,154

    Yes i tried google but i am getting is short...

    Yes i tried google but i am getting is short articles... Plus i can't BS this one =] it is for my IB Diploma, Extended essay if you are fimialiar with the IB program...
  17. Replies
    3
    Views
    2,154

    Future Computer Design/Architecture

    I am writing a school essay on future computer design and architecture as in enhancedments to the current design, the limitations of electrical design, possible replacements for the electrical...
  18. Thread: Gas prices

    by DirX
    Replies
    30
    Views
    7,248

    The first cars that drive on hydrogen have...

    The first cars that drive on hydrogen have already been released in the past few months and they do not need any gasoline. All they need is hydrogen and oxygen (air). I beleive that is a major...
  19. Replies
    4
    Views
    1,158

    I have both Visual C++ 6.0 and Visual C++ 7...

    I have both Visual C++ 6.0 and Visual C++ 7 (.net) but for the programming i do i prefer to use 6.0. Atm .net is not yet widely in use and it is quite a lot different from (read a lot more confusing...
  20. Thread: goto

    by DirX
    Replies
    6
    Views
    1,828

    You have a base of truth there. Sometimes goto...

    You have a base of truth there. Sometimes goto statements are the only way to go (like there are those people who like to take the chewing gum from under chairs and stick it in ther mouths again...
  21. Replies
    6
    Views
    2,524

    Poll: The best way is to take a problem, then take a...

    The best way is to take a problem, then take a solution and start writing out all the different steps required to get to the solution. Then you divide those up again etc. You this until you can...
  22. Thread: goto

    by DirX
    Replies
    6
    Views
    1,828

    A Little example will probably help you best: ...

    A Little example will probably help you best:



    // This Code Comes Straight From:
    // Sams Teach Yourself C++ in 21 Days 3rd Edition
    // Jesse Liberty

    #include <iostream.h>
  23. Thread: arrays or vectors

    by DirX
    Replies
    26
    Views
    3,802

    Poll: darn...... thats not good :eek:

    darn...... thats not good :eek:
  24. Thread: arrays or vectors

    by DirX
    Replies
    26
    Views
    3,802

    Poll: Should i consider myself sociaal outcast upon...

    Should i consider myself sociaal outcast upon finding this discussion entertaining reading???
  25. Replies
    6
    Views
    1,284

    The linking error you got was because the...

    The linking error you got was because the prototype of the save function was different from it's initialization. You have to replace the initialization with:



    void save(int areacode[50], int...
Results 1 to 25 of 87
Page 1 of 4 1 2 3 4