Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Skywise

    How to find total memory requirements?

    How can I find out how much memory my program needs (or is using) at a given time (without using sizeof on every single varible?). I would like to display the total memory used at a given time by the program. How can I do that?
  2. Skywise

    Small prog crashes with no ERRORS LISTED?!?! Why?

    My last post was wrong... I changed the function part to this: Dice (int numDie, int numSides, int numAdd) and not Dice (int numDie = 1, int numSides = 6, int numAdd = 0) But, I still get same error.
  3. Skywise

    Small prog crashes with no ERRORS LISTED?!?! Why?

    Ok... I inserted this at the top of the header... int Dice(int numDie = 1, int numSides = 6, int numAdd = 0); and changed the function to int Dice(int numDie = 1, int numSides = 6, int numAdd = 0) and I am still getting the same error... How do I change it to make default values?
  4. Skywise

    Small prog crashes with no ERRORS LISTED?!?! Why?

    I have a small program that causes the "This program has performed an illegal operation and will be shut down." box to pop up everytime I run it. Also, the program doesn't show any output so I dont think it even ran. MSVC++ 6.0 does not show any errors or warnings (I have the warning...
  5. Skywise

    Program crashes but no errors appear... (small prog)

    I have a small program that causes the "This program has performed an illegal operation and will be shut down." box to pop up everytime I run it. Also, the program doesn't show any output so I dont think it even ran. MSVC++ 6.0 does not show any errors or warnings (I have the warning...
  6. Skywise

    Using Resources (Version Editor) Help for Newbie

    Okay, how can I read the version info in my program? I am clueless. Heres what I got so far... The prog is a Win32 Application program. The resource.rc file IS part of the workshop and seems to be setup fine. I haven't a clue how to access the version info resource yet... could someone give...
  7. Skywise

    A question about strings... (Beginner)

    How can I reassign a string? Everytime I try to, I get a "char to *char" error (or something like that). I think its trying to tell me something about pointers, but all I want to do is to change the string's content all at once (for example, change it from "Hello World" to...
  8. Skywise

    A question about strings... (Beginner)

    My question about strings is this: How the heck do you make them? I have tried everything I can think of... I am using Borland's 5.02 c++ complier. Everything I try doesn't seem to work. Can someone show me a way to make a simple string without getting errors galore? Thanks.
  9. Skywise

    Help a beginner with unresolved error problem (windows prog)

    Ok, I have searched and read the posts about running a windows program using borlands c++ (I use version 5.02). The post are a little beyond me... Here is my program: #define WIN32_LEAN_AND_MEAN #include <windows.h> #include <windowsx.h> int WINAPI WinMain(HINSTANCE hinstance, HINSTANCE...

Part and Inventory Search

Back
Top