Friday, June 2, 2023

Stand alone progs

[b]Git Hub[/b]
[b]Standalone[/b]
[b]pointer variable[/b]
[b]main tests[/b]
[b]variable names[/b]
[b]learn[/b]


- Adding updates to git hub, organizing is a bit confusing. (the code update from the books is still on working...)
https://github.com/saintsoftware/the-box

- all programs will be in a stand alone format, so its easy to to work on them it out affecting all other programs.  Now we can start using them as soon as some code is in there.
 ---- standalone/links.c ; etc...

- A update on the pointer definition
[code]type define * ptr.[/code]
 The pointer abbreviation already exist is [u]ptr[/u], defining pointers as a asterisk : " * " ; look a bit weird. and most if not all languages have adopted the "int" "char" 3 letter abbreviations for variables types.

[code]int ptr integer1
char ptr character1[/code]

on --- includes/macros.h

- separating main for tests and for code.
main_ut, main, main_help_info. (maybe only 1 main for tests will see lather)

- adding a bit updates also do function names.
 maybe adopting C abbreviations for them. (will see how it goes)

[code]f_count_chars();
f_count_lines();[/code]

f -> file
c -> character
i -> integer

etc...

used in C as "uint" -> unsigned int

- Also adding a learn folder
A folder width all the examples we can find or are relevant to work and develop width C.
some stuff is in Portuguese if have any problems use google translate.

No comments:

Post a Comment

hi

Media Fire

 Xml file for macros now at Media fire.