- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 6
- Posts with Downvotes
- 1
- Downvoting Members
- 6
32 Posted Topics
Greetings: I have been struggling to clear this error I have in my code, but I cannot for the life of me find it. Error: End of File detected before Left Brace Attached is my code, appreciate any help. #include <stdio.h> #define SIZE 20 int i, j; int temp[SIZE], pressure[SIZE]; … | |
Greetings: I am having some errors on this code: Any ideas what is missing in the code? Thanks, Dani ` #include<stdio.h> void func_count(int); int main( ) { int i, num; for(i = 1; i < 21; i ++ ) { scanf(“%d”, &num); if(num < 1 || num > 6) printf(“Error: … | |
Greetings Team: This code looks pretty decent. The program runs but it is incomplete. I need help making the program below work better. I did a MAIN function and the following funcations to compute the stress and strain in a steel rod of diameter D (inches) and length L (inches) … | |
I am getting an error in the header file: class linkedStackType: public stackADT<Type> Can you see anything wrong with what I have, and why the compiler is complaining about "stackADT"? I would love it if you could give me some insight into this matter. Right now I'm only concerned about … | |
I have a question about classes and header files. As I see the trend of reusing classes, I would like to start building the classes in their own file, and be able to call it, and use(#include "class.h") to include them. I am a little bit confused because I understood … | |
I've attached below my codes. I'm stumped. The funny thing is, I think I can make this work with a vector instead of the arrayListType class. I cannot figure out how to load the objects into the array. I create an arrayListType object of type extPersonType, call it addressBookType, and … | |
Here are 6 files I've been beating my head against the floor for about 20 hours now. I know I am sooooo close, but I just can't seem to find much information about overloading operators in a derived class to perform arithmetic operations on objects created in the base class. … | |
I don't think I fully understand the concept of looping. Below is what I put into eclipse and the results I get, am I doing something wrong to get the correct results if you could help thanks /* Working with a sentinel value Anderson, Franceschi */ import java.util.Scanner; public class … | |
I have a question. I am trying to sere into my brain how pointers work and just when I think I got it a new problem arises. So I think I understand pointers pretty good when working with primitives and such. Now I am trying to understand working with objects … | |
I have uninstalled and reinstalled Microsoft Visual about 3 times. I am unable to link or locate the folder #include. This is preventing me from utilizing Visual because it keeps giving me errors and doesn't let me execute the program. I have researched online for various solutions and have re-downloaded … | |
Dear Friends: I am working on a prject and I am receiving these three errors: Warning 1 warning C4244: 'argument' : conversion from 'time_t' to 'unsigned int', possible loss of data F:\College Material\CS270\SourceCode\Exec11_14\Exec11_14\BST.cpp 18 1 Exec11_14 Error 2 error C2664: 'bSearchTreeType<elemType>::postorderInsert' : cannot convert parameter 2 from 'bSearchTreeType<elemType> **' to … | |
I want to share a rather what could be interesting discovery while on assignment. While monitoring various information of the following countries, a somewhat what could be cryptic message was revealed: Jerusalem, Egypt, Syria, United States. What do you get out of this, what could be, cryptic message (highlighted letters)? … | |
Dear Friends: I need some help to identify the error. When I compile my application I get the following error message: Error 1 error C2678: binary '==' : no operator found which takes a left-hand operand of type 'extPersonType' (or there is no acceptable conversion) f:\college material\cs270\sourcecode\addressbook\addressbook\arrayListType.h 251 1 AddressBook … | |
Im having a problem with the following exercise. I have the whole program working, however, the transaction time is not passing to the customer. The only element that this affects is the time that the customer leaves. Anny assistance would be greatly appreciated. Best, Dani Below are the 5 files … | |
I am wondering why the techniques do not transfer between VISUAL BASIC & C# programming languages Thoughts? Dani | |
The problem I am having is that it will not allow me to define a class without building a default constructor outside of the class. For instance if you comment out line 19 on the header file you will recieve an external linker error. The same will happen if you … | |
Dear Friends: I am struggling to overload the operators on this exercise. It was working fine when I just had the addition operator overloaded for the extRomanType but now I can't get them to work again. I have searched through the internet and I cannot figure out what I am … | |
Dear Friends: I have the following issue: when I am trying to use the member variables of my header/trailer linked list, they are apparently not initialized. I, of course, am initializing the pointers in the class' constructor, but nonetheless they appear to not be making it out of the constructor. … | |
I am having a hard time trying to run this excercise. This works great up until the direction to declare the member functions Once declaring romanType member functions protected: ___________________ class romanType class romanType { protected: void storeRomanInput(char RomanNum[25]); void convertToDecimal(char storage[25]); void printAsRoman(); void printAsDecimal(); }; I am unable … | |
Dear Friends: I m hung up in Mod3 Ch5 Exercise 1. On line 149 (visible on my wiki below), the Xcode compiler throws an error saying that I'm not passing a valid parameter. http://www.jeffgeiger.com/wiki/index.php/School/CS270Mod3Ch5ProgEx1 As I understand it, remove(elem) takes an element and deletes any matching elements in the list … | |
Web browsers use and store cookies in many different ways. First each browser stores the cookies differently. For example IE stores each cookie as a separate file in the cookies folder. Firefox stores the cookies saves all of the cookies within a single file in the users profile. Also each … | |
I am just curios if someone else has found the same issues I am having when compiling and running a simple C++ program in "codeblocks" everything is perfect but not successful when compiling and run the same program on Microsoft Visual Studio express. Is there any logic explanation here? Thanks, … | |
I am wondering if the algorithm is correct that it shows for the insertAt(int, const elemType&) function for an array-based list: template <class elemType> void arrayListType<elemType>::insertAt (int location, const elemType& insertItem) { if (location < 0 || location >= maxSize) cerr << "The position of the item to be inserted … | |
Would you help me with this question. Just using basic and easist language. Design a grade average program that will produce the numerical grade average of test scores input by a user. Your program should contain the following: • You must use an Array as your data structure to store … | |
Would you help me with this question. Please use basic and easist language. Design a grade average program that will produce the numerical grade average of test scores input by a user. Your program should contain the following: • You must use an Array as your data structure to store … | |
I know a FOR loop is for definite loops when you know the starting value and ending value. It use step value (number use to alter a loop control variable on each past of the loop) in which the control value changes after the body executes. A for statement is … | |
Dear Friends: I am having trouble with this exercise. I was able to compile and create the list 0-7 and reverse. I am not sure where I went wrong. Thanks Danni #include <stack> #include <iostream> using namespace std; template <class stackType> void reversedStack(const stackType & originalStack, stackType &reversedStack) { stackType … | |
Dear Friends: I have a few questions. First, I want to say I am using Microsoft Visual C++ 2010 Express. 1. When creating a class, should it be in the main file? I assumed it was in the header files folder of the project. Maybe I am making this process … | |
The class dateType in my program was designed to implement the date in a program. However, the function and constructor don’t check whether the date is valid before storing. … rewrite the definition of the function setDate and constructor so that the values for month, day, year are checked before … | |
Greetings Friends: I am stuck with a compilation error that I have not been able to resolve. I was able to duplicate this error with a test program so whatever I am doing (or not doing), it is the same. Please see the code below. The error is actually from … | |
Greetings friends: I have the following question: It looks like to use the "listcont.sort()" function of the list container I will obviously need to overload comparison operators. it uses the "<" operator. Will I need to overload any other operators for this to compile and run successfully? I am planning … | |
I need some help in tracking down a problem I am having. Attached is a zip file that has a bulk of the files used in this assignment. I am recieving a compiler error that I do not know where to look for the solution. The IDE shows the error: … |
The End.