Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
C
function program
function program
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
paqueress
New Member
Join Date:
Dec 2006
Posts:
5
#1
function program
Dec 1 '06, 07:24 AM
I want to know how I can write a function called print() which prints the following statement when called "Try try try again"
Pliz help....!!!!!!!
Thanx
DeMan
Top Contributor
Join Date:
Nov 2006
Posts:
1799
#2
Dec 1 '06, 07:35 AM
Odd request but make sure you #include <stdio.h>....
Code:
void print() { printf("Try try try again"); }
and in your main function you can call "print();"
Comment
Post
Cancel
r035198x
MVP
Join Date:
Sep 2006
Posts:
13225
#3
Dec 1 '06, 08:43 AM
Originally posted by
paqueress
I want to know how I can write a function called print() which prints the following statement when called "Try try try again"
Pliz help....!!!!!!!
Thanx
You should also make sure to read a tutorial on functions after this.
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment