No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
My code complies fine but freezes when i try to run it. I Believe the error is somewhere between lines 82-115 [CODE]#include <iostream> #include <fstream> #include <string> #include <iomanip> #include <cmath> using namespace std; struct domList { string domName; string ipAddress; int counter; }; void insertOne(domList list[], ifstream& inFile, int … |
|
I have a error with a nodeType. I believe it is just one line. The error says "[Linker error] undefined reference to `insert(nodeType*,std::basic_ifstream<char,std::char_traits" and "Id returned 1 exit status" This line is the part of code that i believe is wrong. [CODE]nodeType *insert(nodeType *list, ifstream& inFile);[/CODE] [CODE]#include <iostream> #include <string> … |
|
The void and Output file will not work for my code and I don't know why. [CODE]#include <iostream> #include <string> #include <istream> #include <fstream> #include <cstdlib> #include<iomanip> using namespace std; #define MAX_ENTRIES 50 struct internet { string internetDomain; string ipNumber; int counter; }; // declare the array of structs - … |
|
I need some help my code repeats the add new employee and is not asking for index. What I was supposed to do. Write a function name hireOne whose parameters are the array of structs, and the size of the list; the function should prompt the user to input a … |
|
I am trying to get my code below to display what high school the students are from from the .txt file the text file below will work but i want to add school to txt file and confused on what to change in my code [QUOTE]Alphy Beta 85 83 77 … |