Search:
Type: Posts; User: gloin
Search:
Search took 0.04 seconds.
-
April 28th, 2016, 12:18 PM
Same thread but similar question...hope its ok.
So I created a plane which is 250 x 250. Im trying to draw a line at an angle. So lets say for example I want to draw a 45 degree angle from center...
-
April 28th, 2016, 08:58 AM
-
April 27th, 2016, 12:51 PM
Hello all,
So im trying to figure out how to draw a line on a form that will lay over top a picture box. Im using an image
in a picture box and want to draw a line which will go over the top. ...
-
April 25th, 2016, 07:11 AM
Yeah its getting more clear. I created a class with all my crap and an object in main to access that class.
thanks much!
-
April 24th, 2016, 06:51 AM
Ahh ok...this makes it more clear to me. If i really wanted to access that data from another class I could create a public function to do that and call that function from another class. But like you...
-
April 23rd, 2016, 05:50 PM
Thanks for the reply and help. Im still having a difficult time understanding some things...
for ex: in this code im making a class that is holding an array. I cant seem to figure out
how to get...
-
April 23rd, 2016, 11:49 AM
Sorry for the incoherent example. I am very new to c++ and trying to understand when to use a class vs a function. I used a very basic example just for discussion purpose.
I still am trying to...
-
April 22nd, 2016, 02:35 PM
Just a follow up if thats ok..
so im trying to make the array from Class A available to Class B to read from. I guess I could make if global but would like to make it available to class b from...
-
April 21st, 2016, 03:17 PM
aahhh ok! now i got it..thanks much
-
April 21st, 2016, 04:33 AM
Not sure what you mean...
-
April 20th, 2016, 06:50 PM
Hello all,
So Im working with classes and am wondering how to access a public function from one class to another. Basically I have a function in class A that I want to access the value from in...
-
April 7th, 2016, 09:56 AM
Sorry for the psudo code...
so when I run this I get the correct answers...if you remove the remarks it doesn't work correctly. Im not sure why when I add the brackets it wont work... :)
...
-
April 7th, 2016, 08:38 AM
Hello,
Tying to understand using a for without brackets...not sure why they are used. This example A executes differently than b. Thanks much :)
ex a
for (j=0;j<3;j++)
if...
-
March 23rd, 2016, 08:16 AM
Ahhh ok...light bulb turned on!
thanks for the clarity!! :)
-
March 23rd, 2016, 07:42 AM
Still confused I think....
So if a function is called within main, in this case data_out, since data out uses the returned values of suma and sumb they don't need to be called in the main function?
-
March 23rd, 2016, 06:59 AM
Hello,
Question about the main function.
Its my understanding that when you call functions from main, that is the only time the function will be executed. I was messing around with using...
-
March 23rd, 2016, 06:19 AM
Thanks so much for the help! :)
-
March 22nd, 2016, 01:23 PM
Sorry for delay response,
So this I what code I was using...
#include <iostream>
#include <fstream>
using namespace std;
-
March 21st, 2016, 10:54 AM
Hello All,
I am working some code that will read a file and put values into a matrix. Keep in mind I am very new to programming and were told to use loops to do it.
The format of the data will...
-
February 24th, 2016, 02:36 PM
-
February 24th, 2016, 11:54 AM
Hello all,
Was wondering if anyone could give some pointers for reading a comma delimited file. I created something that works for reading a file with spaces....
basically im reading it and...
-
February 9th, 2016, 02:20 PM
Thanks for pointing me in the right direction. I certainly have a long way to go :)
-
February 9th, 2016, 11:24 AM
Thanks for the help. Much appreciated.
Not trying to reinvent the wheel...im just a noob.
-
February 9th, 2016, 10:30 AM
Hello all,
I am trying to validate a float entered by a user. I think im on the right track with the code below.
When I run the program I basically made a function that returns the bool goodnum...
-
February 9th, 2016, 10:15 AM
thanks again for the great help.
|
Click Here to Expand Forum to Full Width
|