Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
27% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
1 Commented Post
0 Endorsements
Ranked #4K
~5K People Reached
Favorite Tags

16 Posted Topics

Member Avatar for venkat arun

I am a recent immigrant from c++ to Java. I have this problem: I have an array of objects (not yet initialized using the new operator), that I need to pass to a member function of another class for storage. In c++ I would have made a pointer to the …

Member Avatar for sbp94
0
164
Member Avatar for WASDted

Does he have any plans toad some of the libraries from the Boost collection of libraries to STL? Why is giving code hints (in IDE's) more difficult in c++, is it a design problem? What does he think about using interpreters for debugging? While strings are very important in high-level …

Member Avatar for AuburnMathTutor
2
714
Member Avatar for venkat arun

Hello, I am trying to calculate the value of pi (just for fun, I know it's already done for millions of decimal places), the program I made works fine, but the problem is that, it is constrained by the accuracy of [I]double[/I] values. Is there anyway to create 'extendable' floating …

Member Avatar for venkat arun
0
154
Member Avatar for avarionist

That, and you should loop till loop = 0, not till "\n", because it will take it as the ASCII value of \n (which is 10 I guess). And to tackle the problem of getting the string size, you could get the string class to return the character array of …

Member Avatar for avarionist
0
243
Member Avatar for tennis

1) Must be, depending on the compiler 2) I don't think functions occupy memory (they occupy it only once, and not everytime you create an object. Again this depends on the compiler.

Member Avatar for Radical Edward
0
140
Member Avatar for lich

I won't tell you the answer, but think on this line: There is a difference in the accessing time of registers and memory

Member Avatar for venkat arun
-1
301
Member Avatar for MTW1989

Same as VernonDozier said. Also you are printing within the loop itself, so everytimethe user enters the scores, you print all three messages (even when the user has not entered the other ones). So you should print after the second nested loop (the one with i as counter). Also after …

Member Avatar for venkat arun
0
118
Member Avatar for venkat arun

Hello, I have made a program in C++ for which I am making the GUI in C#. I want to run the C++ program as a process from C#. The program loads and runs fine, but due to some reason it is not able to access the files. When I …

Member Avatar for venkat arun
0
300
Member Avatar for hondros

Look up the functions atoi and itoa available in the math.h header file. However if you want to do it on your own. The to convert string to int, take the last character (one's place) and multiply it by 10 raised to 0, then add it to the the second …

Member Avatar for venkat arun
0
405
Member Avatar for nats01282

C++, Java, C#, C all are very similar and have their own characteristic differences. It is better to get a strong hold of all the concepts first, and the learning most other languages will be just learning the points of differences between them.

Member Avatar for venkat arun
0
160
Member Avatar for gnarlyskim

Maybe you should have a class/struct that has the coefficient and the power as their properties (that way you can store just the expressions instead of having a 0 coefficient). You can then use the 'vector' array (search google for "vector c++"), which is a dynamic array, to store all …

Member Avatar for venkat arun
0
103
Member Avatar for venkat arun

Hello, I am trying to make a compiler. Don't ask me why because I am making it for fun and experience. I have made a lexical analyser in c++ (I didn't use flex). I now want to make the parser for which I want to use Bison. But I am …

Member Avatar for Nick Evan
0
130
Member Avatar for luskbo

You must make a pointer that points to the first node (I think a card means a node). And traverse, means to simply go through the linked list, by going through each node one by one. Hope this helps

Member Avatar for luskbo
1
257
Member Avatar for Wolf CCMLG

While defining a function there needs to be a type with the variable name. So you need to put it as string line instead of just line. PS: are you trying to make a string class? If yes then some of the global variables should be inside the class, so …

Member Avatar for Wolf CCMLG
0
156
Member Avatar for NICEGUY123

Maybe you can get the first two numbers(the ones that specify the size and multiply value) using the [CODE]getline ()[/CODE] function. After that you can get the other numbers using the same function, and start placing them in the table

Member Avatar for NICEGUY123
-1
206
Member Avatar for dmmckelv

[QUOTE=dmmckelv;273951] perfect = perfect(number); //here is where I call the function [/QUOTE] Well, the problem is that you have a variable (int perfect), as well as a function named perfect, which is not allowed, so you can either change the variable name, or the function name

Member Avatar for Nick Evan
0
1K

The End.