Ok, i found
if ((i!=5) && (i!=7) && (i!=9))
Type: Posts; User: merafiq
Ok, i found
if ((i!=5) && (i!=7) && (i!=9))
How to one variable against multiple condition ?
if x != 4 OR 6 OR 7 OR 13
printf ("x")
I presume you wish if press Y / N it will get back the menu without pressing Return.
system ("cls");
shows, you probably trying on windows.
Maybe below code would help you a little, but its...
that's right.
Basically, it need one clock running and a time variable to compare with file time.
Hi,
I've a file as
[time[sec.usec],X,Y]
0.707834,1111,750
0.715809,1109,750
0.723797,1107,749
I'm intended to include a feature to take input for one of my program as voice (pocketsphinx), where manual input is already exist.
How am I able to sense both program (manual / voice) at same...
Many thanks for your suggestion. However, as return header is always constant, I decide to count the string for my value.
I've a little program to get IP address by sending http request to api.ipify.org. Its working, but returning some HTTP header along.
However, I'd like to get only the ip address in a char array,...
Hi,
Thanks for your advise.
But my requirement is quite little [extracting, and generating with only required value] (I'm also concern of broken xml).
Includes very less chance of using library....
Hi,
Many thanks for your reply.
I've count alike, lat + lon both taken 8 character = 16 + 1 NULL = 17.
[not sure whether its correct]
Now, I endup as below ->
int main()
Hi,
With concern of buffer overflow, memory leaks and/or having invalid pointer issue, change of pointer to garbage etc.
I didn't use realloc & strcat to avoid such problem in this program.
...
Hello,
Which serves best to write multiple lines XML file, fprintf() or fputs()
?
consideration -
1. New Line / Next line
2. multiple elements
3. Later will parse as general xml structure.
I've got segmentation fault.
How to assign next value to array after initialization.
char *states[] = {
"California", "Oregon",
"Washington", "Texas"
};
No help for here now. Gave here, if anybody make search as topic, maybe help them.
I was in need of reading a file between two given lines.
Google brings me,
http://rosettacode.org/wiki/Read_a_specific_line_from_a_file
which reading specific line.
Later, I gave two mug...
WoW - many thanks phantomotap that work as blitz.
My Telnet query to api.ipify.org ->
Escape character is '^]'.
GET / HTTP/1.1
HOST: api.ipify.org
HTTP/1.1 200 OK
Server: Cowboy
Connection: keep-alive