Search:

Type: Posts; User: tudehopet

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds; generated 7 minute(s) ago.

  1. Thread: random

    by tudehopet
    Replies
    8
    Views
    1,072

    Here is a snippet of the code int ln;...

    Here is a snippet of the code

    int ln;
    srand(time(0));
    ln = rand()%100+200;
    goto ln;

    I think thats right.

    Just try it, you never know.
  2. Firstly, there is an error in your code, a tip:...

    Firstly, there is an error in your code, a tip: it is to do with something that you did which uses the StdAfx library. Secondly, Im not going to read through all that code to find it. Just look in...
  3. For the part in your main function where you try...

    For the part in your main function where you try to cin a users name, use a character array, and to cin in the whole thing just type this: cin.getline(myarray, '\n');

    Is loop1 a global?
    If it...
  4. Thread: strstr()

    by tudehopet
    Replies
    2
    Views
    1,368

    An less longer way: strstr(string1, string2);...

    An less longer way:

    strstr(string1, string2);

    you could also look at how the function is set up in the string.h file.
    That is the easiest method of figuring out how functions work and to learn...
  5. Replies
    5
    Views
    1,209

    It is a good idea to overload the constructor,...

    It is a good idea to overload the constructor, because if you create an instance of the class that doesn't need any arguments then there will be not constructor. Another way if you don't overload it...
  6. Replies
    0
    Views
    847

    Free COM guides

    Does anyone known any free COM guides or sites that deal with COM programming.

    Thankyou
  7. Thread: MDI msg proc

    by tudehopet
    Replies
    5
    Views
    1,360

    If you dont know how to use an MSG box then here...

    If you dont know how to use an MSG box then here is the solution:
    AfxMessageBox("string goes here");

    make sure StdAfx.h is include in the .cpp file.
  8. Thread: MDI msg proc

    by tudehopet
    Replies
    5
    Views
    1,360

    i think it is the same as an SDI, similar...

    i think it is the same as an SDI, similar procedures.
  9. Replies
    2
    Views
    1,689

    You could alternatively try the File I/O...

    You could alternatively try the File I/O functions provided by MFC
  10. Thread: Databases

    by tudehopet
    Replies
    2
    Views
    1,022

    You could use the file in and out functions...

    You could use the file in and out functions provided by MFC. Read up on it, I dont have my notes with me so I cant give you a detailed description on how to do that.

    Hope this helped you.
  11. Replies
    4
    Views
    6,782

    Thanks for the help guys.;)

    Thanks for the help guys.;)
  12. Replies
    5
    Views
    6,318

    try giving this limitation: min: 10000 max:...

    try giving this limitation:
    min: 10000
    max: 99999
  13. Replies
    4
    Views
    6,782

    toggle caps lock on or off

    How would I go about turning caps lock on or off in a dos program?

    Please help.
  14. Replies
    7
    Views
    22,925

    Nooitus my brueky

    Nooitus my brueky
  15. Replies
    4
    Views
    1,454

    try this: ifstream fin("filename.nam"); ...

    try this:
    ifstream fin("filename.nam");

    for example.
  16. Replies
    4
    Views
    1,395

    It does really depend on what you want to do with...

    It does really depend on what you want to do with the instance. If you only want to acces the memory location where an instance of the class is, then obviously you use a pointer.

    The second one,...
  17. Thread: Dos

    by tudehopet
    Replies
    6
    Views
    1,009

    well a version of borland which has a GUI,...

    well a version of borland which has a GUI, Borland 5.5 doesn't have that.
  18. Thread: hashing

    by tudehopet
    Replies
    1
    Views
    1,294

    aihorizon.com has alot of information on linked...

    aihorizon.com has alot of information on linked lists, hashing (I think) and sorting, everything is there.

    Hope it helps you.
  19. Replies
    1
    Views
    739

    where can i get a windows tutorial

    Where can I get a good windows programming tutorial from?
  20. Thread: Dos

    by tudehopet
    Replies
    6
    Views
    1,009

    Where can I get that version of Borland?

    Where can I get that version of Borland?
  21. Replies
    5
    Views
    3,048

    It is always a pleasure sharing any of my...

    It is always a pleasure sharing any of my knowledge with someone.
  22. Replies
    7
    Views
    8,450

    try using a character pointer and instatiating it...

    try using a character pointer and instatiating it to NULL or '\0'
  23. Thread: sorting...

    by tudehopet
    Replies
    8
    Views
    1,182

    Its always a pleasure sharing some of my...

    Its always a pleasure sharing some of my knowledge.
  24. Thread: sorting...

    by tudehopet
    Replies
    8
    Views
    1,182

    Do yourself a favor and have a look at the bubble...

    Do yourself a favor and have a look at the bubble sorting method, or another one.

    Just goto aihorizon.com and then click on Basic CS, there is a whole lot of algorithms for sorting.
  25. Replies
    12
    Views
    1,690

    True, True

    True, True
Results 1 to 25 of 63
Page 1 of 3 1 2 3