473,408 Members | 2,087 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

how to printf the results on screen without using printf?

how to print the result on screen without using printf in C...?
Jun 26 '13 #1
6 3275
Rabbit
12,516 Expert Mod 8TB
Why would you need to do this?
Jun 26 '13 #2
weaknessforcats
9,208 Expert Mod 8TB
Most compilers come with the source code for the C library as part of the install.

You could look in there and see how printf does it.
Jun 26 '13 #3
convert to all data into string. and use the puts()
Jul 20 '13 #4
Its very interesting..
And i also want to know that. If u find it plz tell me.
But why would you need to this?
Jul 20 '13 #5
donbock
2,426 Expert 2GB
What exactly are your limitations?
OK, you can't use printf.
Can you use other print functions (like putc, puts, etc)?
Can you use file output functions (like fprintf, fputc, fputs, etc)?
Jul 22 '13 #6
#include<stdio.h>
#include<string.h>
int main()
{
write(1, "Hello World", strlen("Hello World"));
return 0;
}
Nov 17 '13 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

11
by: Mark Schneider | last post by:
I'm trying to avoid using <table> for formatting purposes where other, reasonable means exist. I'm stuck trying to find a way to find an equivalent for the code below. <table align="center">...
3
by: Yammy Hung | last post by:
How to print out an integer (int) in C language without using printf()? Thanks in advance!
49
by: raju | last post by:
hi can we compare two integers without using relational operators (== != < <= > >=) thanks rajesh s
5
by: John Dumais | last post by:
Hello, I have been trying to figure out how to write an array of doubles (in this specific case) to a binary stream without using a loop. What I have been doing is... foreach(double d in...
30
by: ceeques | last post by:
Hi I am a novice in C. Could you guys help me solve this problem - I need to convert integer(and /short) to string without using sprintf (I dont have standard libray stdio.h). for...
13
by: ragav | last post by:
How can i print anything without using printf( ) or anyother inbuilt function calls??
0
by: brainfulkale | last post by:
My question is that "How to print on VDU without using printf statement in unix" In DOS i use far pointer as cls { char far *s; s=0xB8000000; *s='A'; } But if i wanted to print in unix jow...
1
by: thiago777 | last post by:
Hello.. I would like to know if there is a good way (in a technical point of view) to implement a splash screen without using multithreading. I think multithreading could be too complicated for...
6
by: cthoes | last post by:
following program does the display of student details but i want to search for the particular student name from the added list of student. so it would be great any one can help me without using...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.