No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi I am new to Fortran and am getting the below error when I try and compile using ifort 100.f90 [QUOTE] /tmp/ifortN2Zshv.o: In function `MAIN__': 100.f90:(.text+0x25a2): undefined reference to `zgesv_'[/QUOTE] I am not sure how to correct this and cannot find anything in my searches so any help would be … |
|
Apologies if this is in the wrong section. I'm trying to create a batch file to run on a PC for setup purposes. It needs to set the IP and Computer and Workgroup. So far IP and Computer name work until a restart when the IP settings appear to drop … |
|
int main( int argc, char *argv[] ) { ==> This function has over 60 lines. You need to split it into smaller functions Everytime I try to split it up I just cause errors (it compiles but locks up when I run it through the test system so I think … |
|
Hey can anyone help me with the below errors please? vector.cpp: In function 'void printEmployees(const std::vector<employee, std::allocator<employee> >&)': vector.cpp:104: error: passing 'const employee' as 'this' argument of 'void employee::printEmployee()' discards qualifiers [code=cpp] #include <iostream> #include <iomanip> #include <string> #include <vector> #include <fstream> #include <stdlib.h> using namespace std; class employee { … |
|
So I have the below code to check the input, I'm just having trouble because apparently flushing the input causes the tests (its an assignment) to lock up and I need to manually break out of it. The problem is that if I remove the flushing of the input it … |
|
So having some trouble with the error checking in the below function. Currently if you enter something wrong like r it returns "Pleae Enter next move" which is correct. My problem is that if I enter rrr it will repeat "Please enter..." 3 times instead of just once. I hope … |
|
Can someone help me with what I've done wrong with the character count function? it should be returning abcdefghijklmnopqrstuvwxyz ABVDEFGHIJKLMNOPQRSTUVWXYZ as 52 but it is coming back as 136088??? [code] #include <iostream> #include <cctype> using namespace std; const int STRINGSIZE = 100; void getString(char string[]); void reverseCase(char string[]); int numGraph(char … |
|
Reverse the case of all alphabetic characters in the string. That is, all upper case characters become lower case and all lower case become upper case. Hello World becomes hELLO wORLD. So I figured I need to use the toupper and tolower commands. I'm just not to sure how to … |
|
Hey, Ive got a program I'm try to work on that the user enters the number and then it reports back if the number is prime or not. So far my calculations are completely off and I have no idea how to fix them or what they should be. Any … |