I would like to know the Tools and Approach to be used to complete the following task.
Task
Build a Windows Application which connects to a webpage asynchronously and fetches 10 lines of...
Type: Posts; User: seemaxie
I would like to know the Tools and Approach to be used to complete the following task.
Task
Build a Windows Application which connects to a webpage asynchronously and fetches 10 lines of...
@shurik thanks a ton . That really works in my case. It actually works this way
int i;
int task1done = 0;
int task2done = 0;
/* i dont have to use while(1) as controller takes care of...
The controller which i am using executes code in terms of tasks (Round- robin fashion). It does not got any main function. for example:
int i ; // getting the i value over serial interface
...
I m really happy to come out of ignorance.. Glad to meet you n thanks again for such a wonderful explanation . I will mark this thread for my future reference too . I do not know whether i can find...
Thank you for your time .. :) It seems to be optimized to the core ..:) Great touch..
q1) The below is not needed anymore..??
#define PARITY_ID (1U << PARITY_ID_SHIFT)
#define ...
Can someone help me to optimize this code.. With the above inputs i have come up with this... I am setting a partiy for every 8 bits in P_parity but for 16 bits variables i have broken them twice n ...
@std i think array should be size 6 . No place for '\0'
b = a ;
Thanks a ton Guys... n Spl thanks to Nominal for such a clean explanation. :)Your inputs were really helpful ... :)
what is happening here ..?? you got to loop size times with scanf if you want user to fill the array
edit : on line 8 u declared array to random size as variable i is not initialized
Hello Folks,
I have this structure
typedef struct {
char transLen;
unsigned short transType; // 8bit
unsigned short Pparity;
} Buf;
Hi salem, Thank you for the response.... can you please shed some more light.. still i got few questions....
Q1)
if this the case
typedef struct {
char transLen;
int transType;
...
Looks like in flipstring
while(i != -1)
is always true....
N this declaration is i = nextword(NULL); is keeping it true.....
Guys,
(slaveIdent*) (SPIBuff.data);
Could not able to figure out how i am able to assign a struct member to an another structure in the main function... can someone explain the above...
@ledow looks like you got to interchange the positions of str2 and str1 in this paragraph
Thank you laserlight ..!! Enlightened ..!! :)
I have made few changes to program and could able to print the values in a struct . Someone please help me out..
#include<stdio.h>
#include<assert.h>
#include<stdlib.h>
#include<string.h>
...
Thanks all , special thanks to subsonics .. i lacked the understanding of "returning a pointer to an another pointer" for example
int m = 30,*j,*g;
m= &j;
g = m; (i have no idea that doing...
Im breaking my head to get this concept :( but if i want 1000 struct person i would do this
struct person profile[1000];
Hi Subsonics,
I dont understand how the function Person_create creates a new struct person with the arguments passed to the function and why malloc is used to allocate memory .... And i forgot to...
Could not able to understand in line 13 that how a pointer function is assigned to a struct . And on line 15 *who is allocated with some memory space . normally a pointer is assigned to an address...
PD.PDR.BIT.P7DT =0;/* Buzzer */
place this above while n leave while empty...
Here you are inputting into 4*5 array
amp[column][row] = Y * sqrt((1 + ((2 * zeta * r) * (2 * zeta * r))) / (((1 - (r * r)) * (1 - (r * r)) + (( 2 * zeta * r) * (2 * zeta * r)))));
Here you...
While i was finding a solutions i had these two questions ... so i found it is appropriate to ask it right away .. i would soon leave the control when i get the answers ..
How do i achieve this..??
The following code executes as many times as CAPS are entered . how to restrict that without using BREAK;.. And also user should be asked to re-enter is there no CAPS entered .. how these can be...