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

Search:

Type: Posts; User: jedipenguin

Page 1 of 3 1 2 3

Search: Search took 0.04 seconds.

  1. Re: Am needing help, perhaps, with an easy, hopefully, OpenGL Assignment.

    I've gotten much further along yet am running into a mysterious "external compiler error" as it's an external error being flagged yet my code has no compiler errors.
    I'm thinking it's because I...
  2. Am needing help, perhaps, with an easy, hopefully, OpenGL Assignment.

    Basically I have a turtle, not a visible one, but it's called "Turtle Graphics" and it draws, based on stuff from the input files, or it doesn't draw but moves.

    move() moves but doesn't draw.
    ...
  3. Re: Having trouble using setText() for RichTextField and other GUI issues.

    I'm using forms as I don't know how to work the visual C++ part for the other things and also, I suppose I could use it for the Win 32 API, but the problem is that I could only add what they have and...
  4. Re: Having trouble using setText() for RichTextField and other GUI issues.

    What about the text thing? How do I handle that? I need to know how to handle it if the text is being set from text being read in from a file.

    What is C#? I never coded in C#. The best I...
  5. Having trouble using setText() for RichTextField and other GUI issues.

    I'm having trouble with two things of immediate concern

    1.) I cannot figure out how to read in text from a file, at least to able to read in line breaks like

    "bla bla bla bal

    bla bla bla...
  6. Replies
    20
    Views
    6,783

    Re: Want to do C++ GUI.

    What's the difference between "Managed C++" and native C++?

    I'm not sure how to do the editor with drag and drop like I can for forms.

    How do I register the thing so that it won't expire?
    ...
  7. Replies
    20
    Views
    6,783

    Re: Want to do C++ GUI.

    Register, doesn't that cost money?

    Also, every time I try to get the toolbox that has all the components that I can add, it shows up for only 1 second, or less, and then hides. It's very irking. ...
  8. Replies
    20
    Views
    6,783

    Re: Want to do C++ GUI.

    The terrible thing I guess is that it seems to not have a GUI API, or I can't find it.

    Also, it's in part because my school now has an easier introdcutory course to C++ that they didn't have and I...
  9. Replies
    20
    Views
    6,783

    Re: Want to do C++ GUI.

    So how do I get most of the libraries then if they don't come with the compiler or IDE?

    I'm confused.
  10. Replies
    20
    Views
    6,783

    Re: Want to do C++ GUI.

    I just downloaded the microsoft one. However, if I ever made a commercial product with it, would I get sued? Dev at least says I can do that without being sued.

    However, I can't find a C++...
  11. Replies
    20
    Views
    6,783

    Want to do C++ GUI.

    I think I kind of get the basics. However, I hate the Win 32 API as it appears to be more C, hence procedural, and less C++ object based.

    I have Dev C++, as I heard the Visiual C++ is only like...
  12. Re: Segmentation fault in bounded buffer problem

    Also, and this one if for processes, I'm getting a seg fault here too. I'm trying to make it do the fib sequence. However, what's causing the segmentation fault?



    #include <stdio.h>
    #include...
  13. Re: Segmentation fault in bounded buffer problem

    Changed it to casting the variable item to buffer_item instead.

    Segmentation fault still there. Perhaps I can't think of what I should be casting.
  14. Segmentation fault in bounded buffer problem

    buffer.h


    #ifndef BUFFER_H
    #define BUFFER_H

    typedef int buffer_item;
    class Buffer
    {
  15. Re: Not sure how to get started on threading with matrixes in PThreads

    Never mind for that. I think I got it. I told it to use -lpthread after both definitions in the makefile and it worked.

    However, I tried joining threads and it's joining before all of them have...
  16. Re: Not sure how to get started on threading with matrixes in PThreads

    Now I'm getting an error that I have an undefined reference to pthread_create(). I think I need to type cast something, but what? I already have all the imports I should need.



    #include...
  17. Re: Not sure how to get started on threading with matrixes in PThreads

    I added a statement to tell it not to add any empty vectors. However, when I told it to print out nums[2].size(), despite there not even being such a vector, well there was one that had nothing in...
  18. Re: Not sure how to get started on threading with matrixes in PThreads

    I'm afraid I don't have that luxury. I did have one C++ course before, though it was taught rather fast pace and now the university is making there be a prerequisite that goes over C++ more, but...
  19. Re: Having trouble with a readin. Can't read in a matrix into vector of vector of int

    Thanks. Now it seems to work. So getline reads just one line until it runs out of lines?

    Also, it's not quite working as planned. My vector of vectors should be having a size of 2 yet it's...
  20. Re: Having trouble with a readin. Can't read in a matrix into vector of vector of int

    What outer while loop?

    Also, it's reading in a string. It won't like it if it push a string onto an int vector. What was the function again? atoi()? stoi()?

    Do you mean the

    while (fin...
  21. Re: Having trouble with a readin. Can't read in a matrix into vector of vector of int

    This is an assignment but this isn't a C++ class. It's more an operating systems class.

    Also, I've never heard of istringstream before. I was able to read in one line as I said, but it can't...
  22. Re: Having trouble with a readin. Can't read in a matrix into vector of vector of int

    Because I'm reading in a matrix and I want it to have both rows and columns but don't know the size ahead of time, and ain't allowed to assume the size ahead of time either. It would be far easier...
  23. Re: Having trouble with a readin. Can't read in a matrix into vector of vector of int

    I fixed that. I had assumed that it would auto initialize like primitives do in java.

    Even still, I fixed that but that's not it.

    I was trying to get it to stop adding to the first vector of...
  24. Re: Having trouble with a readin. Can't read in a matrix into vector of vector of int

    I've no clue how to work GDB. I didn't even know it existed until now.

    Also, I know what's going wrong, it's not adding numbers to the vector of vectors. What I don't know is, why isn't it...
  25. Re: Having trouble with a readin. Can't read in a matrix into vector of vector of int

    I don't have an IDE. I do have Netbeams but it somehow doesn't have the required C files or something. A Linux thing called Exceed On Demand 8 is all I have. Linux emacs and stuff like that.
    ...
Results 1 to 25 of 72
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured