dgets / mncurses Goto Github PK
View Code? Open in Web Editor NEWAn attempt at reinventing parts of the ncurses wheel, along with some of my own functionality based on it, in order to practice C again and get more profient at maintainable code
An attempt at reinventing parts of the ncurses wheel, along with some of my own functionality based on it, in order to practice C again and get more profient at maintainable code
This algorithm was not completed, but also needs work on the structure that I was just fleshing out. It will not work appropriately the way it was constructed; I was confusing two different values. This needs to be handled with a 'for' loop and explicit checking for error codes prior to that.
So yeah...
In file included from ./nc_flashcard_test.c:16:
./my-nc_flashcard.h: In function 'center_shit':
./my-nc_flashcard.h:145: error: 'for' loop initial declaration used outside C99 mode
In file included from ./nc_flashcard_test.c:16:
./my-nc_flashcard.h:185:1: error: unterminated argument list invoking macro "mvaddstr"
./nc_flashcard_test.c:18: error: expected ';' before 'void'
./nc_flashcard_test.c:19: warning: initializer-string for array of chars is too long
./nc_flashcard_test.c:19: warning: (near initialization for 'testMsg[0]')
./nc_flashcard_test.c:20: warning: initializer-string for array of chars is too long
./nc_flashcard_test.c:20: warning: (near initialization for 'testMsg[1]')
./nc_flashcard_test.c:21: warning: initializer-string for array of chars is too long
./nc_flashcard_test.c:21: warning: (near initialization for 'testMsg[2]')
./nc_flashcard_test.c:23: error: 'mainWinder' undeclared (first use in this function)
./nc_flashcard_test.c:23: error: (Each undeclared identifier is reported only once
./nc_flashcard_test.c:23: error: for each function it appears in.)
./nc_flashcard_test.c:25: warning: incompatible implicit declaration of built-in function 'exit'
./nc_flashcard_test.c:28: warning: passing argument 1 of 'center_shit' from incompatible pointer type
./nc_flashcard_test.c:30: warning: incompatible implicit declaration of built-in function 'exit'
./nc_flashcard_test.c:32: warning: incompatible implicit declaration of built-in function 'exit'
./nc_flashcard_test.c:33: error: expected declaration or statement at end of input
./nc_flashcard_test.c:33: error: expected declaration or statement at end of input
Wed Jan 28 21:11
tinfoil:~/src/c/mncurses$
I've got some brushing up to do, though I expect most of this crap is due to the fact that I've tried to declare an array the wrong way. Heh.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.