Sponsored Content
Full Discussion: Why I don't get any output?
Top Forums Programming Why I don't get any output? Post 302089130 by Sharmin on Sunday 17th of September 2006 12:34:43 PM
Old 09-17-2006
Thank you

Quote:
Originally Posted by matrixmadhan
't' - mode specifier
to open the file in text mode and not in binary mode

default is 't' when it is not specified with fopen

default value is set in _fmode in /usr/include/stdio.h

Thank you a lot. Just to let you know, as I am learning Ansi C now, I will be coming here with questions. I hope that it is okay. I know that there are lots of manuels, but I hope that I could get a website with manpage details and also with more practical coding examples.
 

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Don't allow to editing !!!

Hi All, Assume that there is file1 file,userA and userB have got read,write and execute permission for file1. when userA open file1, userB cant change(write,editing file etc...) content of file1. after userA exit of file1 , userB can change(write, editing file etc..). Shortly i want... (1 Reply)
Discussion started by: temhem
1 Replies

2. Programming

std::cout and gfortran print*, don't output to the screen

I am not sure where to post this other than here. I am trying to figure out why an app gives different output when compiled under Ubuntu 10.10 and CentOS 5.5. I am pretty sure that the issue is that the Cent version has gcc 4.1 installed, while Ubuntu has gcc 4.4. I am trying to print from some... (20 Replies)
Discussion started by: LMHmedchem
20 Replies

3. Shell Programming and Scripting

AIX -/usr/bin/expect shows output Don't know why.

Hi, I have been programming with the expect program for a while now and have create a series of menu driven checks for the operations team. One thing I have noticed is that I call a remote script and pass parameters and this is display on the screen....for example. Within the script ... (0 Replies)
Discussion started by: yakky
0 Replies

4. Shell Programming and Scripting

Find command don't output anything, but file is there

Please if You can help me debug why nothing is found by this command? # echo "Zeus Robot" >> /home/vps/190/test # cat /home/vps/190/test Zeus Robot # find /home/vps -type f -mtime 2 -size -1000k -exec grep -l "Zeus Robot" {} \; >> out # cat out # cat /home/vps/190/test Zeus Robot Why... (6 Replies)
Discussion started by: postcd
6 Replies

5. Shell Programming and Scripting

A shell script to run a script which don't get terminated and send a pattern from the output by mail

Hi Guys, I am very new to shell script and I need your help here to write a script. Actually, I have a script abc.sh which don't get terminated itself. So I need to design a script to run this script, save the output to a file, search for a given string in the output and if it exists send those... (11 Replies)
Discussion started by: Sambit Sahu
11 Replies
textprintf_ex(3alleg4)						  Allegro manual					    textprintf_ex(3alleg4)

NAME
textprintf_ex - Formatted output of a string. Allegro game programming library. SYNOPSIS
#include <allegro.h> void textprintf_ex(BITMAP *bmp, const FONT *f, int x, int y, int color, int bg, const char *fmt, ...); DESCRIPTION
Formatted text output, using a printf() style format string. Due to an internal limitation, this function can't be used for extremely long texts. If you happen to reach this limit, you can work around it by using uszprintf() and textout_ex(), which don't have any. Example: int player_score; ... textprintf_ex(screen, font, 10, 10, makecol(255, 100, 200), -1, "Score: %d", player_score); SEE ALSO
font(3alleg4), textout_ex(3alleg4), textprintf_centre_ex(3alleg4), textprintf_right_ex(3alleg4), textprintf_justify_ex(3alleg4), text_height(3alleg4), text_length(3alleg4), uszprintf(3alleg4) Allegro version 4.4.2 textprintf_ex(3alleg4)
All times are GMT -4. The time now is 09:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy