newStyled C (nSc)

Developers Apps

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

1
Become a Fan
5.0

Available as/for:
Description:
A C header file for your compiler. All you have to do to install is stick it wherever your compiler gets header files (usually /usr/include). Includes delay() function, vi the file for all functions.
Last changelog:

0.1 - 2 functions


Ratings & Comments

4 Comments

jel

To save people downloading this to see what it is... it provides two functions: delay(time) meltdown(n1, n2, n3, n4, n5) There is no API documentation, and the delay function (at least) is broken. To the author: this is a good thing to practice with, but it's not much use to others. Your delay() function will not work at the correct speed on any computer that is faster or slower than yours. Also, it is highly inefficient. The reason for both of these issues is that you can't just run a loop for a long time as a way of waiting on a multitasking computer, or a computer that's capabilities aren't fully known. Instead, you have to use higher-level computer parts, like the built in clock and alarm system, to wait for a specified period of time. Look up the sleep() function, which does what you want delay() to do.

dgrat

some years ago, when i was learning c++ ive built smaller programs like you too. but i never tried to waste the time of others by publishing them. i simply was to shy to do so. plz. post only a tool if they fulfill a specific task. an easy way is to write a template list-class with is dynamic. for example.

lavacano201014

whoop-de-do. im still trying to figure out c, ok? bear with me here

lavacano201014

dont have conio.h. delay() is magic number and therefore needs some work. whats api again? add more functions if you want. i don't care.

Pling
0 Affiliates
Details
license
version 0.1
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 1

Other Developers Apps:

Oo-mox
actionless
last update date: 8 years ago

Score 6.5

KEXI
jstaniek
last update date: 7 years ago

Score 6.5

BlackAdder
appy
last update date: 20 years ago

Score 5.0

Wing IDE Professional
sdeibel
last update date: 15 years ago

Score 5.0

Quanta Gold
appy
last update date: 20 years ago

Score 5.0

Codie
elgunvo
last update date: 15 years ago

Score 5.0



System Tags