CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: G Squared

Page 1 of 2 1 2

Search: Search took 0.06 seconds.

  1. Replies
    8
    Views
    1,135

    Re: String Class - easy question

    I realized this right about the time you posted - great answer. Thanks.

    -Greg
  2. Replies
    8
    Views
    1,135

    String Class - easy question

    I need some help on this one. I can made a simple program such as:

    #include <string>
    #include <stdlib.h>
    #include <stdio.h>
    #include <iostream.h>
    void main()
    {
    string test("test");
    ...
  3. Need help getting pixels from screen or camera

    I am developing software to test some image recognition systems. I plan on the software having the ability to read a character that is held up to a digital camera attached to my computer. This will...
  4. Replies
    0
    Views
    466

    Highlighting text

    Ive noticed that in netscape and maybe IE, as you type the url into the text field, it guesses what the rest of the text is for you constantly re-highlighting(for lack of a more technical word) the...
  5. Replies
    12
    Views
    3,297

    Re: Travelling Salesman Problem

    One thing I've noticed with This problem is that if 2 of your paths cross then your system is not maximized....that is to say that by switching these paths so that there is no crossing space your...
  6. Replies
    0
    Views
    440

    Hiding programs from ctrl-alt-delete

    How would one remove a running program from the list of programs when the user hits ctrl-alt-delete?
  7. Re: How to protect against reverse engineering?

    In fact I ran across a program right after I posted it called AsPack. This little program takes all win32 exe's and compresses them up to 70%. It decompresses in memory every time it runs, and is...
  8. Re: How to protect against reverse engineering?

    Ok, I really dont know alot, but If I were going to reverse engineer stuff, I would run the program and notice static text that would probably be near the code Im looking for, instead of trying to...
  9. Thread: Project idea

    by G Squared
    Replies
    24
    Views
    1,984

    Re: Project idea

    I had the same type of problem a while ago, although it was only for a high school IB Comp Sci project. I could have done a console app like most people, but I chose to put in the extra effort and...
  10. Replies
    2
    Views
    606

    Re: Reducing Memory Usage

    Post the troublesome code and maybe someone can help from there.
  11. Thread: sockets

    by G Squared
    Replies
    1
    Views
    503

    Re: sockets

    I can send you some sample code if you would post your email address, or send me an email to ggrot@aol.com
    ~G²
  12. Thread: Dreaming

    by G Squared
    Replies
    4
    Views
    652

    Re: Dreaming

    One way that you could make a simple representation of 3d lettering is to print the letter(or phrase) once in a dark color shade, then again, one pixel to the right( or left, up, down...) a little...
  13. Re: Need sample small Client\Server Application.

    I could probably help you out on this one, except for the fact that sending code to an anonymous person without an email addres is seemingly difficult.
  14. Replies
    2
    Views
    494

    Re: How to disable the mouse?

    I doubt this is what you are looking for:
    You can edit win.ini as a CFile and remove the mouse drivers.
    Then reboot windows and no more mouse. That would effectively disable the mouse.
    ~G²
  15. Thread: Learn C++

    by G Squared
    Replies
    5
    Views
    724

    Re: Learn C++

    All those replies that say C++ is so hard might scare you. You said you learned VB in a year and are very good at it. I learned QB in about the same time period and Im guessing that you can...
  16. Replies
    4
    Views
    640

    Re: URGENT: Cryptation

    Ok, if you want simple(and i mean 1st grade simple) try this, its called mushroom encryption:
    add a constant to every character...a becomes b, b->c
    and use modulus to loop it: z->a
    ~G²
  17. Replies
    4
    Views
    695

    Re: How to convert int to a String object?

    Yep, and if you want you can put numbers and text in the same string like so:
    CString str;
    str.Format("The number is: %d", num);
  18. Re: PLEASE! code for phone book by tomorrow! HELP!!!

    send me the code at ggrot@aol.com
    No promises, but I will try to fix the errors
  19. Replies
    2
    Views
    985

    Re: Converting 123.4567 to 123.45

    I dont know the command to set the precision to 2 decimal places, but you can always use an algorithm:
    variable*=100;
    variable=floor(variable); //or to round-variable=floor(variable+.5);...
  20. Replies
    6
    Views
    1,051

    Re: Convertion of hex string to integer...

    Of course, Its more fun to write your own function to convert the string into hex.
    ~G²
  21. Replies
    1
    Views
    614

    Re: find web sites

    Well, it is probably not what you are looking for, but maybe it will give you some ideas...check out:
    www.andyart.com
    it is pretty nice
    ~G²
  22. Replies
    8
    Views
    820

    Re: the game of life

    A friend of mine recently wrote this program in pure assembly language. Definitely a fun program. To speed things up some, you can make things a little complicated and only use 1 array. Each value...
  23. Replies
    4
    Views
    554

    Re: Make a file that can not be deleted

    There is a really interesting trick in DOS where you make a file start with the ascii character 0255, by holding down alt and typing 0255. The command would look like this:
    rename original.cpp...
  24. Replies
    4
    Views
    2,690

    Re: How to traverse a matrix within itself?

    You say that creating the square would be larger than having 2 arrays. This means that one of your 2 dimensions is relatively small in proportion. If you can find a syntax that will allow you to...
  25. Thread: Matrix

    by G Squared
    Replies
    2
    Views
    539

    Re: Matrix

    oops...change i-2 and j-2 to i-1 and j-1

    sorry about that
    ~G²
Results 1 to 25 of 33
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured