Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~5K People Reached
Favorite Forums
Favorite Tags
c++ x 26
java x 6
Member Avatar for coveredinflies

Hi, I am sure this question must have been asked before but I can't find it anyway. I have initialised an array of strings [CODE]char names[][90][/CODE] I don't understand why [CODE]char names[2] = "Bert" [/CODE] doesn't work (incompatible assignment error), even so I have tried [code] dir[2][90] = "Bert" and …

Member Avatar for nmaillet
0
101
Member Avatar for coveredinflies

Hi, Basically I want to simulate lots of circles bouncing off of each other in a box. My current plan is to form a grid with lots of points and give each particle a position and speed which is a multiple of the grid spacings. Then at each time move …

Member Avatar for Ezzaral
0
129
Member Avatar for coveredinflies

Hi I am outputting data to a spreadsheet and have looped through one set of values. Later on I want to put some more values in the next column, I can move across to the next column but don't know how to get back to the top. Is this possible …

Member Avatar for coveredinflies
0
84
Member Avatar for coveredinflies

Hello, my understanding is 'this' is a pointer to the current class you are working in. Is this right? For example in my textbook it has [code] class ThreeD { int x,y,z; public: ThreeD() {x=y=z=0;} ThreeD(int i, int j, int k) {x=i; this ->y =j; z=k;} ThreeD operator+(ThreeD op2); ThreeD …

Member Avatar for vijayan121
0
183
Member Avatar for coveredinflies

Hi! I know alot of people try and learn C++ by themselves,and I am just interested to know how many people here have managed to become [B]good[/B] by learning themselves. Also would be interesting to know the general perception of self-taught programmers by profesionals is? Just for the record I …

Member Avatar for William Hemsworth
0
158
Member Avatar for coveredinflies

Hi, I have copied the quicksort algorithm out of my text book, but it isn't working properly and there are no compiler errors so I am struggling to debug. it is partially sorting so I think it must be one of the conditional statements or something not declared how I …

Member Avatar for Sky Diploma
0
121
Member Avatar for coveredinflies

Hi, I am sure you have all seen the recursive factorial program. [code] int factorial(int number) { int temp; if(number <= 1) return 1; temp = number * factorial(number - 1); return temp; } [/code] " Once at 1, the values are returned to the previous factorial call and multiplied …

Member Avatar for coveredinflies
0
147
Member Avatar for coveredinflies

Hi, I have got to the section on command line arguments on my online textbook. All the information I can find on it seems to assume that I know how to put command lines into my program but I don't have a clue :$ Can anyone help?

Member Avatar for coveredinflies
0
105
Member Avatar for coveredinflies

Hi, sorry if this has been asked before I did a search but couldn't find it. How do I define a pointer to a 2D array? (I am trying to pass it into a function). Thanks.

Member Avatar for ArkM
0
419
Member Avatar for coveredinflies

Hi, just came across character escape sequences e.g '\a' The "alert" character, ` `\b' Backspace, `\f' Formfeed, `\n' Newline, `\r' Carriage return, `\t' Horizontal tab, `\v' Vertical tab, ` I can only get some of them (new line and horizontal tab) to work. Do you have to do something special, …

Member Avatar for Duoas
0
116
Member Avatar for coveredinflies

Quick Question. For some reason I can't figure out how to get an array of structures if I am defining the size dynamically. I can do it for a pointer i.e [CODE] struct DB { string name; int age; string ice; }; //some lines DB* data1p; data1p= new DB[no1]; [/CODE] …

Member Avatar for coveredinflies
0
171
Member Avatar for coveredinflies

Hi :) I am fairly new to programming and am trying to error check the user input. I stumbled upon the 'isalpha' etc functions and so my plan is to loop through the array checking everything is a number or (the one) decimal point. However I am using getline for …

Member Avatar for CoolGamer48
0
4K