i know what is the use of atoi function....
converts string to int.
but whenever i use that it gives me 0....
could any one help in this issue..
eg.
int i;
char str;
str="name";
i=atoi(str);
i gives me 0. why? (3 Replies)
Hello,everyone here.
I'm coding with KSH to achieve exploring the disk space and judging whether it closes to overflow.But It seems that no one way to convert a string variable to integer.
df | read A B C D E F G H I J K L
print ${L}
Can I convert L to integer type?
Thanks for... (2 Replies)
Dear colleagues,
One of my friend have a problem with c code. While compiling a c program it displays a message like
"array type has incomplete element type". Any body can provide a solution for it.
Jaganadh.G (1 Reply)
Hi,
I have a requirement to capture file time stamp and compare with current system time. I am using HP-AUX K-shell.
Below is what i have done
Getting current date into myfile2
---------------------------------
date +%Y%m%d%H%M%S > myfile2
20091110132800
Getting the file date into... (5 Replies)
Hi all,
I have one libxxx.so file ( which I got from a third party ). We use shared library libxxx.sl . Is there any way to convert the .so file to .sl file ?
Thanks in advance
- M (3 Replies)
I have a PORT_NUM macro (10 digits long number)
in a server file, if i do
htons(PORT_NUM)
i get
warning: this decimal constant is unsigned only in ISO C90
warning: large integer implicitly truncated to unsigned type
whats wrong with this? (2 Replies)
Hello All,
I have a requirement to convert a 12 hour format to 24 hour time format and the sample input /out put is below
Input Time format : Nov 2 2011 12:16AM
Out Put Format : Nov 2 2011 0:16
Input : Nov 2 2011 4:16PM
Out Put: Nov 2 2011 16:16
I have done this using a... (6 Replies)
So, I'm into about 650 lines of some code I'm working on. So I'll try to explain instead of flooding this post. Say I have some code like this:
int main() {
int i, j;
char data;
printf("Gimme something: ");
fgets(data, INPUT_BUFF, stdin);
for (j = 0; j < data; j++){... (6 Replies)
Discussion started by: Azrael
6 Replies
LEARN ABOUT DEBIAN
vpl2mod.1
VPL2MOD.1(1) Sword Module Utilities VPL2MOD.1(1)NAME
vpl2mod - tool to convert verse per line source to SWORD module
SYNOPSIS
vpl2mod SOURCE PATH [0|1] [0|1]
DESCRIPTION
This utility is used to create SWORD module from the verse per line formated source. The resulting module will be saved in the path
specified.
OPTIONS
[0|1] [0|1]
The first option indicates whether to prepend verse references or not. The second option is to indicate whether module is NT only or
not.
NOTE
With no verse references source file must contain exactly 31102 lines. This is KJV verse count plus heading for the module, testament, book
and chapter. An example snippet follows:
MODULE HEADER
OLD TESTAMENT HEADER
GENESIS HEADER
CHAPTER 1 HEADER
In the beginning...
This example implies there must also be a chapter 2 header, Exodus header, New Testament header, etc. If there is no text for the header, a
black line must, at least, hold place.
With verse references, source file must simply contain any number of lines, that begin with the verse reference for which it is an entry,
e.g.:
gen 1:0 CHPATER 1 HEADER
get 1:1 In the beginning...
Authors
This manual page was written by Dmitrijs Ledkovs <dmitrij.ledkov@gmail.com> for Debian project but may be used by others.
SEE ALSO SWORD 1.6.2+dfsg 2012-02-22 VPL2MOD.1(1)