Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #3K
~1K People Reached
Favorite Forums
Favorite Tags
Member Avatar for altXerror

i have a Header file that i will be using for multiple programs. this file specifies integers (its for my calculator programs). is it possible to have an integer value represented as AB if the two other integers are represented as A & B without getting a compiling error? EX. …

Member Avatar for mrnutty
0
154
Member Avatar for pistol-pete

This is a conceptual question to help with a program I am developing. It takes two lists from a file and compares them in parallel to see if they are anagrams. My question is how do I store these strings in a one dimensional array mapped to ASCII codes. I …

Member Avatar for jonsca
0
193
Member Avatar for macobex

I've just learned how to use vectors. I'm thinking about, what is the best way to create a vector, IF you do not know its initial size. Here are some of my options. 1.) This is the simplest I think, but is there any memory issue about this technique? [CODE] …

Member Avatar for n.utiu
0
133
Member Avatar for tjlee87

Hi, I have trouble with the "enqueue" section of this code, can anyone here find the fault within my code. I've been working on this for over 15+ hrs and I can't not find what I am doing wrong here. If there is anything else I need to provide, I'll …

Member Avatar for tjlee87
0
108
Member Avatar for Asheem

The program needs to read a file, in which position are mentioned in form of 0 and 1, and location (i,j), of the robot, who has to go the end point has to, generate numbers, randomly, BUT ALSO STORE THOSE LOCATIONS SO THAT THE ROBOT DON'T GOES TO THE SAME …

Member Avatar for WaltP
0
123
Member Avatar for timbomo

how do i return to another part of the program like the begining [CODE] if ( letter=='y') { return letter; }[/CODE] i want it to return back to a prototype [CODE] int roll_hold( char answer1, char answer2)[/CODE]

Member Avatar for Sumyungi
0
106
Member Avatar for Alicito

Hello Friends I'm facing a problem and I can't figure out what is the wrong ( it is [COLOR="Red"]a Run~Time~Error[/COLOR]) I have these two classes [CODE] // singly-linked list class to store integers #ifndef INT_LINKED_LIST #define INT_LINKED_LIST class IntSLLNode { public: int info; class IntSLLNode *next; IntSLLNode(int el, IntSLLNode *ptr …

Member Avatar for Alicito
0
97
Member Avatar for allaboutdrew

Hi all Could someone please explain this program to me, especially lines 25 and 30. I understand that line 30 is a for loop and I understand how it works. However, I am unclear why it is minusing 3 from n and is n the variable passed from line 14? …

Member Avatar for allaboutdrew
0
197
Member Avatar for PTRMAN1

This exercise had me build on an earlier program - first ask user if wants to compute, then (if yes) choose circle or rectangle, then prompt for appropriate inputs, calculate, and run again. I had a major brain freeze, such that this has taken me many hours just to get …

Member Avatar for PTRMAN1
0
94
Member Avatar for misterjay3

Can someone help me with this???? [CODE]/****************************************************/ /* File: name of your file with the source code */ /* */ /* Created by: give your name */ /* Date: give the date */ /* */ /* Program to find the maximum of three */ /* floating point numbers */ /* …

Member Avatar for Sumyungi
0
114
Member Avatar for Sumyungi

Is there a way in C++ to handle unexpected errors? Other languanges I have learned tend to allow this but for some reason I cannot get the try/catch solution to work in all cases. Take the following example: [CODE] int main(){ vector<int> v; try{ //next line should cause an assertion …

0
55