jak zrobić aby ten program wyświetlał tekst na ekranie w czcionce Courier New func…
- User
jak zrobić aby ten program wyświetlał tekst na ekranie w czcionce Courier New
func printHelp() { fmt.Println()
fmt.Println(" // //_/ // _/ _/ _/ / /// ") fmt.Println(" _/ _/ _/ _/ _/ // _/ _/ _/ _/ ") fmt.Println(" _/ _/ _/ // _/ _/ _/ _/ _/ // / ") fmt.Println("/ _/ _/ _/ _/ _/ _/ // _/ _/ / ")
fmt.Println(" // /// // _/ _/ _/ / /// ")
fmt.Println() fmt.Println("OGONKI v1.0 (c) by Łukasz Wójcik") fmt.Println("Program do zamiany 'ogonków' w plikach tekstowych niesformatowanych") fmt.Println() fmt.Println("Obsluguje jezyki: Polski, Hiszpanski, Niemiecki, Francuski") fmt.Println() fmt.Println("Uzycie: ogonki [-help] [-lang jezyk] [plik1.txt plik2.txt ...]") fmt.Println("Flagi: [pl] [es] [fr] [de]") fmt.Println("Przyklad uzycia: ogonki -lang fr file.txt") fmt.Println() flag.PrintDefaults() fmt.Println() fmt.Println("Site:") fmt.Println("https://github.com/lukaszwojcikdev/ogonki.git") - Assistant
Aby ten program wyświetlał tekst na ekranie w czcionce Courier New, musisz wprowadzić pewne zmiany w kodzie.
- Na początku programu, po pakiecie "fmt", dodaj pakiet "golang.org/x/image/font"
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.