Search:

Type: Posts; User: deleeuw

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    2,053

    Hey all, Thanks for everyone's help. I finally...

    Hey all,
    Thanks for everyone's help.
    I finally got the thing working:
    it reads and appends the list fine.

    Thanks again!
  2. Replies
    7
    Views
    2,053

    OK--Stupid Question: what is a "c_string"?

    OK--Stupid Question:
    what is a "c_string"?
  3. Replies
    4
    Views
    1,393

    BTW--Thanks for the code: the ios::app worked!

    BTW--Thanks for the code:
    the ios::app worked!
  4. Replies
    7
    Views
    2,053

    yes, I'm trying to compare x to sob. Thx`

    yes,
    I'm trying to compare x to sob.

    Thx`
  5. Replies
    7
    Views
    2,053

    converting char to string

    Hey all,
    I'm stumped! How do I convert
    char X to std::string sob (see below)?




    #include <iostream.h>
    #include <stdlib.h>
    #include <stdio.h>
  6. Replies
    4
    Views
    1,393

    writing new line at end of file

    Hey all,
    How does one append a new line to an existing text file?
    The text file is basically a list
    that gets items added to it on a regaular basis
  7. Replies
    20
    Views
    4,657

    Thanx all! the itoa ([int], [char], 10) worked!

    Thanx all!
    the itoa ([int], [char], 10) worked!
  8. Replies
    20
    Views
    4,657

    Hammer, is the file "out.txt" an ASCII file that...

    Hammer, is the file "out.txt" an ASCII file that one can read, or is it a binary?
    The file that I need must be ascii, like an ini file.

    THX
  9. Replies
    20
    Views
    4,657

    bennyandthejets is right. The integer (created by...

    bennyandthejets is right. The integer (created by a random number generator) is "50", to be written to a text file as
    "50"--in readable form.
  10. Replies
    20
    Views
    4,657

    char uq= int (u); char eq= int (e); ...

    char uq= int (u);
    char eq= int (e);
    char sq= int (s);


    Ok, my amateurness is showing through:
    I thought that is how one can type cast from int to char.
  11. Replies
    20
    Views
    4,657

    FILE *ci; ...

    FILE *ci;

    ci=fopen("c:\\vgastrat\\TESTcws.ini", "w");

    int cc=rand()%40;

    char ccq;
    ccq= int (cc);

    int u=rand()%500;
  12. Replies
    20
    Views
    4,657

    FILE *ci; ...

    FILE *ci;

    ci=fopen("c:\\vgastrat\\TESTcws.ini", "w");

    int cc=rand()%40;

    char ccq;
    ccq= int (cc);

    int u=rand()%500;
  13. Replies
    20
    Views
    4,657

    oops, forgot to add it: FILE *ci;...

    oops, forgot to add it:

    FILE *ci;
    ci=fopen("c:\\vgastrat\\TESTcws.ini", "w");
    int cc=rand()%40;
    char ccq;
    ccq= int (cc);
    int u=rand()%500;
    int e=rand()%4;
    int s=rand()%9;
  14. Replies
    20
    Views
    4,657

    writing strings chars from ints

    hey all,
    trying to do the following:
    Write a string that has a row of characters, but these characters are supposed to from integers (but must be written as characters), and I get the following...
  15. Replies
    24
    Views
    2,699

    Ashesh, just curious, what other includes do you...

    Ashesh, just curious, what other includes do you have besides
    <iostream>?
  16. Replies
    4
    Views
    1,193

    game

    Very cool! No bells and whistles, just a neat game. One question:
    where's the README?
  17. Replies
    5
    Views
    1,613

    forgot one thing

    forgot to add:
    The idea is that one can enter any html file to be searched, and that the links within may be of any number, and thus may not be known by the person doing the searching (hence, the...
  18. Replies
    5
    Views
    1,613

    clarification

    Sorry for the lack of examples.
    Suppose I have an html file that has two links:

    <img src="vacation.jpg">
    <a href="introduction.html">

    I need to be able to seach through that file to find both...
  19. Replies
    5
    Views
    995

    waant ik niet goed hollandse kan: mijn ouders...

    waant ik niet goed hollandse kan:
    mijn ouders kwam naar Amerika bevor ik was gebooren.
    Ik heb duits op universitijt, maar mien ouders praoten hollandse (op drentse dialekt) t'huus.
  20. Replies
    5
    Views
    995

    hartelijke bedankt mijnheer (Ik hope dat dat...

    hartelijke bedankt mijnheer
    (Ik hope dat dat richtig geschrieven is!)

    deleeuw
    (van Drenthe)
  21. Replies
    5
    Views
    995

    putw and doubles

    new-b question:
    what is the version of putw that is used for double
    (it seems that putw is only for int)

    Thx
  22. Replies
    6
    Views
    1,387

    Unregistered, thanks for the info. 777

    Unregistered, thanks for the info.

    777
  23. Replies
    1
    Views
    847

    converting int to arrays, more info

    hey all,

    how do one convert an integer that a user has entered into a location is an existing 2-d array?

    For example:

    #include <iostream.h>
    #include <stdlib.h>
    #include <stdio.h>
  24. Replies
    6
    Views
    1,387

    unknown values in arrays

    OK, got that.
    But, it gets a little more complicated.
    The array represents basically a game board. The comptuer "moves" 1 up, or 1 down, or 1 diagonally, etc. Obviously, the movement is based on...
  25. Replies
    6
    Views
    1,387

    converting ints to arrarys

    hey all,

    how do one convert an integer that a user has entered into a location is an existing 2-d array?



    #include <iostream.h>
    #include <stdlib.h>
    #include <stdio.h>
Results 1 to 25 of 31
Page 1 of 2 1 2