Jump to content

djacobs

Members
  • Content count

    4
  • Joined

  • Last visited

About djacobs

  • Rank
    InsanelyMac Protégé
  1. Hi, I've always used Unix and linux terminals (bash), but i'm used to do so without running x. For linux i know a "shortcut" which consists out of 3 keys, "crtl+alt+F1-F6", but has anyone came across a similar shortcut or even a way to open a terminal without running x? With kind regards, Djacobs.
  2. Hi Airr, I've just wanted to thank you to solve this issue. It seems like i have to deepen myself into using the standard namespacing. Once again thanks for the help. With kind regards, DJacobs.
  3. I assume you mean "int main(int argc, char *argv[])", but no i've allready tried that.
  4. Hi, First of all i am new to developing under mac through use of xcode 4.0. I've had experience coding for linux using emacs and gcc, and microsoft visual studio (for windows). The problem that i'm facing now is the following, whenever i try to run the code below i get the following warning and error. I kind of have a feeling xcode doesnt accept my main() function or so. Can anyone shine some light upon this dark mystery? With kind regards, Djacobs. ***Code*** // // main.cpp // #include <iostream> #include "genlib.h" int main() { cout << "Hello, World!\n" << endl; return 0; } ***Warning*** warning: no previous prototype for function 'Main' [-Wmissing-prototypes,3] int main () ***Error*** Undefined symbols for architecture x86_64: "_main", referenced from: start in crt1.10.6.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
×