Type: Posts; User: jedipenguin
Search took 0.01 seconds.
September 14th, 2012, 09:48 PM
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...
September 14th, 2012, 12:24 AM
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.
June 12th, 2012, 11:18 PM
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...
June 11th, 2012, 11:30 PM
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...
June 10th, 2012, 11:30 PM
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...
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?
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. ...
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...
So how do I get most of the libraries then if they don't come with the compiler or IDE?
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++...
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...
March 30th, 2012, 07:26 PM
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?
March 30th, 2012, 06:52 PM
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.
March 30th, 2012, 05:01 PM
typedef int buffer_item;
March 30th, 2012, 08:46 AM
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...
March 30th, 2012, 12:25 AM
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.
March 26th, 2012, 05:13 PM
I added a statement to tell it not to add any empty vectors. However, when I told it to print out nums.size(), despite there not even being such a vector, well there was one that had nothing in...
March 26th, 2012, 02:22 PM
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...
March 26th, 2012, 01:51 PM
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...
March 24th, 2012, 11:33 PM
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
March 24th, 2012, 11:21 PM
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...
March 24th, 2012, 10:03 PM
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...
March 24th, 2012, 09:51 PM
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...
March 24th, 2012, 09:41 PM
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...
March 24th, 2012, 09:32 PM
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.
Click Here to Expand Forum to Full Width