Member Avatar

I'm in the process of designing a console personal/business finance package for Linux. It's easy to identify the advantages of data abstraction through classes, but I'm not inclined to become proficient with STL or containers. Exception handling may become a consideration, but definitely memory allocation via "new". My own implementation of a doubly linked list will also be part of this to facilitate my version of a relational database. Logic dictates as "C" is a subset of "C++" there won't be a problem, but I would appreciate any opinions where my rationale might be flawed. GUI is also of no …

Member Avatar
0
31
Member Avatar

I am trying to use the ncurses menu library to create a menu. I found some wonderful sample code online and it displays great on my screen, however I can't figure out how to select an option and have it go to a new menu or have it select a differen't function. I would like to select the Enter as a Student option and then have that bring up another menu and from that menu I would like to select "Create a new application" and have that navigate into creating a new application. I really don't understand how to navigate …

Member Avatar
0
3
Member Avatar

Hello I have wrote a c program to solve sudokus, and i would like to know if i can draw the grid and fill it using ncurses library. i just would like to know how to control the lines and borders of boxes in ncurses thank you very much

0
2
Member Avatar

Hello. I'm using ncurses with a side project I'm working on, and I'm using colored characters. To use colors, you have to wrap each mvprintw() function with some code to set the color. I thought I'd write a function that wraps mvprintw() so I could just specify the color whenever I print something. Here's what I've got: [CODE]void mvprintw_color(int y, int x, int color, char* fmt, ...) { /* This is for the variable length arguments */ va_list args; va_start(args, fmt); if (has_colors() == TRUE) { /* If colors are supported, set the fg and bg colors */ attron(COLOR_PAIR(color)); mvprintw(y, …

Member Avatar
0
5

The End.