Hi, how can I make this work? Thanks
struct record {
int empID;
char first[15];
char last[12];
};
Type: Posts; User: Rob4226
Hi, how can I make this work? Thanks
struct record {
int empID;
char first[15];
char last[12];
};
Hi,
I constructed a Sardinas-Paterson graph for the code set {1, 00, 01, 010, 110, 0010}. I need to demonstrate that the set has a unbounded deciphering delay using a cycle from the graph. Can...
ahh, thank you. It was throwing me off that the first time the board printed fully but not after the first turn. Thanks again.
Hi, This an odd problem, I am making a connect 5 game with a 15x15 array but after a player enters a row and column the board doesn't print [13][14] or [14][0-6] for some reason. Run this code and...
Hi,
I just finished an assignment and after a week and countless hours
of working on it I had it working perfectly and commented perfectly. Before
I was just about to submit it I wanted to ftp...
I want to quit the inner loop so it goes back to the outer loop to decrease the row #. It does the same exact thing without the break statement, I thought it would fix it but I apparently it didn't.
Hi,
I am making a connect 5 program with a 15x15 array. I have have the check vertical and horizontal parts working but the diagonally is giving me a problem. Here is half the method, is suppose to...
Hi,
I'm making a connect 5 kind of game with a two-dimensional array. I have the board all set up but I'm trying to figure out the best way to check if there is 5 in a row up,down or diagonal. ...
The error seems to have gone a away but i need some help finding a way to print out the filenames in order from highest relavance to least relevant. I was using a map but I doesnt work because...
I don't understand what you guys mean...^^^
Never mind I just deleted the line and it works now but there is something odd that happens. When I put an even amount of text files in the program it produces a segmentation fault but when I put an...
This is what I have using i-1 but I still get this error:
expected primary-expression before ";" token line 18
#include <fstream>
#include <iostream>
#include <string>
#include <map>
...
isnt argc a constant?
It was a segmenation fault so I tried putting the code in red in but now I get error: expected primary-expression before ";" token line 18
even when I put i-1 there I get an error: expected primary-expression before ";" token line 18
Hi, for my last assignment I must make a program that takes in up to six files through the command line then print out the files in order of highest relavance depending on how many times the 2...
Got it. Thanks for your help
Right now I have vector<vector<string> > words; but how do I define it with the first dimesion using argc-1 and not define the second dimesion so I can use .push_back() Thanks for your help.
the error i get is: segmentation fault (core dumped)
I'm doing over a server but I checked and the text file is in the same directory as the program. I saved the file as test.txt and to run it I do ./execProg test
I need to read in up to six text files from command line agruments. This is the code I have but it exits at the if(!fin) exit(1); line and I don't know why.
#include <fstream>
#include...
Ok, I am getting very close. I get this input/output I get but its not exactly right I can't see where the error is.
input: 5 3 2 4 1 9 7 11 200
output: 1 2 5 4 7 9 11 3 200
#include...
Ok that makes sense. How do I update that variable? Thanks
Alright I got an extension of time from my professor and I think the problem is somewhere in the removeHeapRoot method. Anon what exactly do you mean the the loop guard update isnt doing what the...
Thanks for everyones help but I doubt I will ever get this program to work right its already 2 days late and I can't waste any more time on it because im falling behind in my other classes. My...