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'm a Java programmer making the switch to C++. Could someone enlighten me as to what's going wrong here: [B]g++ -o fermat.cc main.cc[/B] main.cc: In function `int main()': main.cc:8: error: `Fermat' was not declared in this scope main.cc:8: error: `f' was not declared in this scope main.cc:8: error: `Fermat' … |
|
Any good web resources out there for picking up C++ after already knowing Java? It's kind of a yawn to have to go back over concepts that are already familiar - functions, classes, polymorphism, recursion, etc. Really just looking for syntactic differences. Would be great to find some solid tutorials … |
|
I'm pretty proficient with Java but am not sure what's going on with pointers, classes, or imports/includes in C++. I originally had a size() function but I was getting error about it conflicting with my 'int size;' variable. Can functions not share the same name as variables? I renamed it … |