C++ code completion for KDevelop 4 and Emacs

alternatively M-x hippie-expand

M-x load-library completion M-x global-set-key C-RET complete RET

When using source code tags (man etags), you can complete from the tags-table with C-x t.

more help with emacs:
To read about compiling with emacs: C-h C-f compile To read about debugging with emacs: M-x gdb, <enter> C-h m