Devc++ Derleyicisi İle İlgili Ufaaak Bi Soruu
-
devc++ derleyicisine yeni bir keyword nasıl ekleyebilirim çok acil bu arada hemen öğrenmem lazım :)
-
DevC++'a değil de yazdığın uygulamaya ekleyebilirsin define ile. (ya da var olanları değiştirebilirsin)
#define PI 3.14
#define Integer int
.. gibi
-
peki define ile ekleyeceğim keyword mesela .keyword şeklinde olsa sorun çıkar mı ?
-
IDENTIFIERS
Identifiers are the name of functions, variables, classes, arrays etc. which you create while writing your programs. Identifiers are just like names in any language. There are certain rules to name identifiers in C++. They are:-
- Identifiers must contain combinations of digits, characters and underscore (_).
- Identifier names cannot start with digit.
- Keyword cannot be used as an identifier name and upper case and lower case are distinct.
Identifier names can contain any combination of characters as opposed to the restriction of 31 letters in C.
----------------------------------------------------
Böyle yazmışlar.
-
Evet bu kuralları biliyorum ama ,yazacağımız dosya formatı gereği .keyword şeklinde kullanmamız gerekiyor ,define de yazınca hata veriyor,ne yapıcam bilmiyorum.
-
Acaba soruyu yanlış anlamış olabilir misin?
-
Aslında evet çok yüksek ihtimal konudan pek bişey anlamadım da bi yerden başlamaya çalışıyodum,eğer sana zahmet olmazsa konuyu sana atsam olur mu,pek anlatamadım bu şekilde çünkü
