Search:

Type: Posts; User: Divx

Page 1 of 2 1 2

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

  1. Thread: c/c++ and cgi

    by Divx
    Replies
    7
    Views
    2,167

    At the time of writing this, I didn't much care...

    At the time of writing this, I didn't much care for standards. It was more of learning. Appreciate the note though. I'm sure anyone that wishes to expand their knowledge on this topic would love...
  2. Thread: c/c++ and cgi

    by Divx
    Replies
    7
    Views
    2,167

    Something I wrote when I had curiosity with CGI...

    Something I wrote when I had curiosity with CGI and C/C++...

    http://www.digitalkeg.com/downloads/useful/cpp/cpp_cgi.zip

    Needs to be compiled on whatever system is supposed to run it. Also,...
  3. Thread: linked lists

    by Divx
    Replies
    4
    Views
    1,368

    "i am only used to writing linked lists so that...

    "i am only used to writing linked lists so that it actually reverses the data using a stack. any ideas on this?"

    First lets straighten out your terminology. A stack and a linked list are two...
  4. Replies
    5
    Views
    6,429

    I got it. :) There were a few other 'C++'...

    I got it. :)

    There were a few other 'C++' things in there.
  5. Replies
    5
    Views
    6,429

    Took out references and am still getting the same...

    Took out references and am still getting the same 'relative' error.



    // Declare NumberTracker //
    struct NumberTracker;
    // Function pointers for struct NumberTracker //
    typedef void (*...
  6. Replies
    5
    Views
    6,429

    Suppose that would be helpful. :) ...

    Suppose that would be helpful. :)



    --------------------Configuration: MinMax - Win32 Debug--------------------
    Compiling...
    minmax.c
    C:\Projects\School CSCI 223\MinMax\minmax.c(27) : error...
  7. Replies
    5
    Views
    6,429

    Couple C questions :)

    I'm taking a C class for the fun of it. I figured I wanted to learn a little more of the history of the C/C++ language. Anyways I've run into a bit of a compiling problem. I'm using MSVC++6 and...
  8. Replies
    29
    Views
    5,376

    It's simple, look at this as an "employee -...

    It's simple, look at this as an "employee - employer" relationship so to speak. Though we all know the usage of += works great and ISN'T bad form, your teacher (ie: employer) doesn't want it that...
  9. Replies
    29
    Views
    5,376

    wouldn't it be better to ask your teacher?

    wouldn't it be better to ask your teacher?
  10. Replies
    27
    Views
    4,284

    Every Deitel book I've read/glanced through I've...

    Every Deitel book I've read/glanced through I've found to be inadequate in material coverage and quality. Perhaps they wised up and fixed their crappy books with their newer editions.

    Since I...
  11. Thread: ImTotallyLOST!

    by Divx
    Replies
    20
    Views
    3,547

    Couple things, first get a good book (my...

    Couple things, first get a good book (my suggestion is O'Reillys Practical C++ Programming)...even if you don't have the money, save up a bit or see if your parents would be willing to buy you the...
  12. Replies
    7
    Views
    1,609

    windows programming and hungarian notation...is...

    windows programming and hungarian notation...is that supposed to be something odd to see together? When dealing with windows code you should know hungarian notation...even if it does spank.
  13. Replies
    27
    Views
    4,284

    Deitel books are about the most worthless books...

    Deitel books are about the most worthless books you could ever buy. Whoever in the CSUF computer science department decided Deitel & Deitel textbooks are the best choice should be shot.

    If you...
  14. ifstream fin("graphic.png", ios::in |...

    ifstream fin("graphic.png", ios::in | ios::binary);
    ofstream fout ("graphic2.png", ios::out | ios::binary);

    *edit* whoops, it appears you have figured out the flags...oh well. ;)
  15. Replies
    12
    Views
    4,353

    First, lose the barrier between the datatype you...

    First, lose the barrier between the datatype you created (rectangle) and any other datatype. They are all just datatypes and pointers work the same for all of them.

    int *intPtr = new int;
    char...
  16. sizeof () tells how you the byte size of a data...

    sizeof () tells how you the byte size of a data type.

    MrWizard posted what is needed.
  17. Thread: Making noise

    by Divx
    Replies
    8
    Views
    2,213

    Re: I can do it in BASIC... It must be possible!

    You are correct sir!
  18. Thread: Making noise

    by Divx
    Replies
    8
    Views
    2,213

    How about you do the next best thing...play any...

    How about you do the next best thing...play any wav you want.

    include the header file "mmsystem.h" and include the static library "winmm.lib" to your project.

    Here's an example of using the...
  19. Replies
    15
    Views
    4,948

    BURN Deitel & Deitel books...worst textbooks on...

    BURN Deitel & Deitel books...worst textbooks on the face of the planet.

    O'Reilly books are superb, though I'd call it a beginners to intermediate book, the O'Reilly title "Practical C++" is an...
  20. Replies
    9
    Views
    1,760

    "init()" - ya, it's pretty much universally known...

    "init()" - ya, it's pretty much universally known as an abreviation for ...*drum roll*... initialize.

    a void pointer really isn't anything and could be anything. Void pointers are really awesome...
  21. Replies
    1
    Views
    1,686

    Sure, look up "srand" to 'seed' the random number...

    Sure, look up "srand" to 'seed' the random number generator first...so you actually may get randomness. Secondly after seeding the random number generator, you'll be using "rand" to get your random...
  22. Replies
    9
    Views
    1,760

    Don't like windows because it's ugly. None of...

    Don't like windows because it's ugly. None of this iostream crap. So you're the type of person who likes to completely reinvent the wheel 10^x times over instead of building ontop of what someone...
  23. Replies
    38
    Views
    21,168

    if (KEY_DOWN(vk_code)) { while...

    if (KEY_DOWN(vk_code))
    {
    while (!KEY_UP(vk_code))
    {
    // do action while key is down and not up
    }
    // do whatever when key is let go

    // Suggest doing this to flush the standard input...
  24. Replies
    38
    Views
    135,892

    Sticky: if (KEY_DOWN(vk_code)) { while...

    if (KEY_DOWN(vk_code))
    {
    while (!KEY_UP(vk_code))
    {
    // do action while key is down and not up
    }
    // do whatever when key is let go

    // Suggest doing this to flush the standard input...
  25. Replies
    20
    Views
    3,627

    void smoid

    void smoid
Results 1 to 25 of 34
Page 1 of 2 1 2