10 More Discussions You Might Find Interesting
1. Programming
I have a uint8_t *C = malloc(24*sizeof(uint8_t));
I need to send some integers and this *C to another node(in ad hoc network). So I am going to use a struct
` struct fulMsg {
int msgType;
int msgCount;
//uint8_t *CC;
} fulMsg_t;
typedef struct fulMsg fulMsg_tt;`
there is a method... (1 Reply)
Discussion started by: chap
1 Replies
2. Shell Programming and Scripting
how can i declare variable in perl.
for BLOCK in /sys/block/emcpow* (3 Replies)
Discussion started by: learnbash
3 Replies
3. UNIX for Dummies Questions & Answers
Hello all,
I am trying to "make" a database system, VDB (Veritas Data Base), and when I run "make" I receive the following error:
VDBException.h:19: error: expected `)' before '*' token
VDBException.h:20: error: expected `)' before '*' token
VDBException.h:43: error: expected `)' before '*'... (4 Replies)
Discussion started by: Tyler_92
4 Replies
4. UNIX for Dummies Questions & Answers
hi to all,
i am trying to declare a variable as an integer in unix shell script. i search the web for a way to do it but it doesnt work.
i tried "define -i" and "declare" but that doesnt work.
if somebody knows another way to declare a variable as integer please help me.
thank you (2 Replies)
Discussion started by: omonoiatis9
2 Replies
5. Programming
i have created a script to insert 100K rows into mysql db.
But the forst line where i declare the variable is giving error. I am new to mysql. Can anyone help me in this?
the script is
======================================
DECLARE
c INT(10) := 54;
BEGIN
WHILE c <... (4 Replies)
Discussion started by: amitranjansahu
4 Replies
6. Shell Programming and Scripting
I have a config file that needs to be formatted before it's sourced to a script. I've been formatting it with sed and dropping it in /tmp then sourcing it from there.
I'd like to just format the config file with sed then declare the variables without having to create a temporary file in /tmp. So... (2 Replies)
Discussion started by: crs6785
2 Replies
7. Shell Programming and Scripting
Hi Guys
Need some help
I am reading the string values from the text files into the shell script and had them feed into array
I have declared an associative array as
TYPE t_user_id_tab IS TABLE OF VARCHAR2(3000);\n
my_user_id t_user_id_tab;\n
varchar2 is limiting me to take only... (0 Replies)
Discussion started by: pinky
0 Replies
8. Programming
Good morning,
I'm testing the use of ceilf:
/*Filename: str.c*/
#include <stdio.h>
#include <math.h>
int main (void)
{
float ceilf(float x);
int dev=3, result=0;
float tmp = 3.444f;
printf("Result: %f\n",ceilf(tmp));
return 0;
} (1 Reply)
Discussion started by: jonas.gabriel
1 Replies
9. UNIX for Dummies Questions & Answers
can unix program declare int??how to declare ?
if i want to declare int and using read command then compare which int is small...how to do this??can somebody help me? (1 Reply)
Discussion started by: yeah016
1 Replies
10. Programming
Dear all
I declare like this in my program :
int main(int argc ,char **argv)
{
FILE *ft;
char* ini_file;
char fbuf;
char sendbuf;
char strbuf;
}
When I compile
this is the error :
cc: "send.c", line 28: error 1588: "ft" undefined. (1 Reply)
Discussion started by: iwbasts
1 Replies