Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Witam
czy można samemu stworzyć lub najlepiej zmienić szablon odnoście c++ ?? chodzi mi o to co mi sie pokazuje
// This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, // MA 02110-1301, USA.
zaraz po wybraniu pliku c++ a na dodatek chciałbym odrazu aby mi wrzucał bibloteki
?
Offline
geany to wyśmienity edytor :]
zamiast tego rozwiązania o którym piszesz można zrobić coś innego mianowicie autouzupełnianie takie wypaśne
kopiujesz (lokalizacja może by inna)
cp /usr/share/geany/snippets.conf ~/.config/geany/snippets.conf
w sekcji dla C++ dopisz np coś takiego
mma=#include <pqxx/pqxx> \n#include <iostream> \n#include <string> \n#include <cstring> \n\nusing namespace std; \nusing namespace pqxx;\n\nint main(int argc, char* argv[]) %brace_open% %cursor% \n return 0;%brace_close%
i obejrzyj filmik jak to działa :]
http://biexi.eu/tmp/screen/2010-06-16-geany.mpeg
Offline
Rozejrzyj się po ~/.config/geany/templates.
Offline
chce zeby zaraz po wybraniu nowego pliku typu c++ mi pokazywało sie tylko to
#include <iostream>
#include <cstring>
#include <stdlib.h>
#include <cstdio>
#include <ctime>
using namespace std;
i nic więcej
w templates patrzyłem i niestety nie pomogło kombinowanie
Offline