User Profile

Collapse

Profile Sidebar

Collapse
scorpio2002
scorpio2002
Last Activity: Nov 24 '06, 01:39 PM
Joined: Nov 3 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • scorpio2002
    started a topic extended ascii and ncurses
    in C

    extended ascii and ncurses

    Hi there! I'd like to know if there's a way to get ncurses to print extended ascii characters onto the screen. Apparently, it can't. When I use the printw() and I pass a wide character, it just doesn't print anything or it prints a question mark ghghgh

    p.s.: i'm using linux...
    See more | Go to post

  • scorpio2002
    started a topic scanf() driving me crazy
    in C

    scanf() driving me crazy

    Hi there. I'm new to the forum ;-)

    I'm having really a bad time with the scanf(9 function. Take a look at this:


    Code:
    #include <stdio.h>
    
    int main() {
    	char up_key,
    		down_key,
    		right_key,
    		left_key;
    			
    	int speed;	
    	printf("**** Configurazione delle opzioni ****\n");
    	printf("Immetti il valore up_key: ");
    	scanf("%c",
    ...
    See more | Go to post
No activity results to display
Show More
Working...