Search:

Type: Posts; User: jsrig88

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    2,859

    I think the difference between building and...

    I think the difference between building and rebuilding your stuff is that rebuilding will clear some sorts of things that are no longer relevant from the project folder. Try doing that on each of...
  2. Replies
    2
    Views
    1,866

    For future reference, you might want to post your...

    For future reference, you might want to post your code for questions like this. That being said I think I can probably guess what your problem is.

    If the same five randomly-selected cards keep...
  3. They are double-null-terminated.

    They are double-null-terminated.
  4. What permission issues in 64-bit Windows 7 might be causing 124 from SHFileOperation?

    Take the following code:



    SHFileOp.hwnd = NULL;
    SHFileOp.wFunc = FO_COPY;
    SHFileOp.pFrom = szDisFileLst;
    SHFileOp.pTo = szFileLst;
    SHFileOp.fFlags = FOF_SIMPLEPROGRESS | FOF_SILENT |...
  5. Replies
    3
    Views
    1,042

    An example, by the way, would be the following: ...

    An example, by the way, would be the following:

    Hey, whenever I run this program, it freezes up and crashes. The whole program isn't very big, but this didn't start happening until I added this...
  6. Replies
    3
    Views
    1,042

    Tima92, basically you usually post the question...

    Tima92, basically you usually post the question on the thread itself when using a forum like this. You'll want to reply on this thread and copy and paste your code in the reply, surround it with...
  7. Hi, I haven't read your code yet, but I have read...

    Hi, I haven't read your code yet, but I have read the rest of the question. Basically you just want to research pointers. Then references, but mostly pointers. In newer languages, such as Java,...
  8. Replies
    5
    Views
    1,876

    Think of something inside of curly braces as like...

    Think of something inside of curly braces as like a smaller program. It's generally roughly referred to by names such as "block" and "scope" (roughly), but code inside a pair of curly braces is kind...
  9. Thanks. I'm kind of surprised it wasn't a more...

    Thanks. I'm kind of surprised it wasn't a more minor, technical detail about overloading syntax or typecasting.
  10. Question about operator overloading and hard-coded strings.

    Hello. I'm trying to review operator overloading in C++, and I've run into a problem that involves both it and typecasting. This line of code is giving me issues:



    Integer integer = "34";

    ...
  11. Replies
    9
    Views
    3,417

    Glad y'all corrected me on that. It would've...

    Glad y'all corrected me on that. It would've been stupid for C++ to not have something like that.
  12. Replies
    9
    Views
    3,417

    Just took a look into a couple of things about...

    Just took a look into a couple of things about the third point. In C++ you apparently cannot do something like:



    new hell().hot();


    It has to be:
  13. Replies
    9
    Views
    3,417

    It's not clear what point you're making or what...

    It's not clear what point you're making or what question you're asking. If you're wanting a critique, keep the following in mind:

    #1. Be very careful about using system(). It's very...
  14. Replies
    3
    Views
    1,215

    You're on the right track, but there are two...

    You're on the right track, but there are two problems at the moment:

    #1: The functions getName() and getid() each need to return something. In this case it's Name and id, respectively. Since...
  15. Replies
    3
    Views
    726

    Those folders shouldn't get in your way at all. ...

    Those folders shouldn't get in your way at all. The Header/Resource/Source thing is one of probably two common ways to organize a C++ project. Header files end with ".h" and go into Headers folder....
  16. Replies
    2
    Views
    939

    Try putting together what you can first. Then...

    Try putting together what you can first. Then look for problem areas inside your code and post questions specifically about those.
  17. Replies
    2
    Views
    1,600

    Can you isolate which function's messing it up?

    Can you isolate which function's messing it up?
  18. Thread: Nested class

    by jsrig88
    Replies
    4
    Views
    1,129

    I haven't heard of nested classes being available...

    I haven't heard of nested classes being available in C++, and my understanding until now is that they aren't; but even if they are, it's a very weird thing to do in that language and something that...
  19. Try using strtok(). In more recent C-style...

    Try using strtok(). In more recent C-style languages, you'll usually have a String.split() function, which without doing anything to the original string, will return an array of strings that were...
  20. Replies
    16
    Views
    2,083

    You said your grasp of linked lists, binary...

    You said your grasp of linked lists, binary trees, and recursion is a little weaker. You might try coming up with your own projects that center around creating different sorts of ADTs; in college...
  21. There are several grammatical issues. One thing...

    There are several grammatical issues. One thing is that the second constructor should use
    {} around its definition, just like any other function. Also you have to define the size of arrays at...
  22. Remember that the old-school way of dealing with...

    Remember that the old-school way of dealing with strings is to use char arrays, as in C. And underlying string types in modern languages, that's often still what's going on. In C++, there's a...
  23. Thread: Open file?

    by jsrig88
    Replies
    6
    Views
    1,301

    Well, technically, it'll probably give you a...

    Well, technically, it'll probably give you a slightly different error if it's just the types that are wrong.
  24. Thread: Open file?

    by jsrig88
    Replies
    6
    Views
    1,301

    It looks like you're still new to programming, so...

    It looks like you're still new to programming, so here's a tip about error messages that talk about overloads with x number of arguments: Essentially you can have multiple functions defined in your...
  25. Replies
    5
    Views
    2,287

    Think about how to initialize a three-element...

    Think about how to initialize a three-element array without using random numbers. Like if you wanted the array to be set equal to 1, 2, 3.
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4