Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~1K People Reached
Favorite Forums
Favorite Tags
c++ x 12
Member Avatar for scott6480

In my assignment I am supposed to use a pointer to create a 2-D array dynamically. Initialize each element in the array to the sum of its row and column. Then display each element of the array on the console. I have the program written and it works except for …

Member Avatar for vmanes
0
143
Member Avatar for scott6480

I am having trouble with myRectangle2 taking the values I am assigning to it. The myLine2 value works just fine. Can anyone spot what I am doing wrong? I have stared at this for too long and now I am second guessing everything I have already done. Any help is …

Member Avatar for WaltP
0
128
Member Avatar for scott6480

I am writing a program that will compare stings of data (true false answers) against an answer key which is another string. for example, the data for the students answers looks like this. tfttftttf so question 1 is true question 2 is false etc. Here is the code I have …

Member Avatar for mrnutty
0
149
Member Avatar for scott6480

Can anyone tell me why line 140-144 of this program does not do what it is supposed to do. Here is the output and you can see it is all blank? What am I missing? hit any letter keys to add items to the order and then = to stop …

Member Avatar for pecet
1
136
Member Avatar for scott6480

I get the following error when I try to compile this code. Can anyone help me make sense of this error? I have tried defining keystroke as a string and a char, I get the error either way. 1>------ Build started: Project: Register, Configuration: Debug Win32 ------ 1>Compiling... 1>Register.cpp 1>i:\c++\register\register\register.cpp(121) …

Member Avatar for kvprajapati
0
565
Member Avatar for scott6480

I have to write a program for class that will read a datafile into a structure. The data file is a menu of food items at a fast food restaurant. Basically simulate a cash register I created a structure menu[26] which includes the following elements key - a,b,c,d etc. item …

Member Avatar for jonsca
0
83
Member Avatar for scott6480

I am having a problem with my program. We are supposed to ask for two numbers as input then half the larger and double the smaller. If the larger is odd then the smaller is added to an accumulator. My problem lies (i'm guessing) somewhere in the functions. Here is …

Member Avatar for Dave Sinkula
0
204