Coder Social home page Coder Social logo

dgets / mncurses Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 144 KB

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

C 100.00%

mncurses's People

Contributors

dgets avatar

Watchers

 avatar

mncurses's Issues

center_shit() needs work in the display while loop

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.

I need to brush up on C; can't compile the first test program

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.