- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
15 Posted Topics
Hi , I have one buffer size is 50 bytes and reading 50 byte data from file unsigned char bufffer[50]; read(fd,buffer,50); // Consider each byte numerical is value is zero. printf("@@%s@@",buffer); // Here i will get @@@@ only. But I want @@(50 zero)@@ as output(i have to use %c or …
Hi i am new I have two c prgorams as yuva.c & raj.c For this how i create make file please help me Thanks Yuvaraj R
Hi I have doubt . Can we return the some data from boolean Function in C For Example [code=c] bool add( int a, int b) { int C; C = a + b; return C; } [/code] Is it possible in C
Hi friends i am doing the snake game program for Set top Box . I am Facing problem when i get the remote control keys. if i press the up,down,right,left keys when program is running ,program does not response .once game is over then it is taking the values from …
for(i=0;i<5;i++) { for(j=0;j<=i;j++) { printf("*\n"); } }
hi gues am new to embedded c,i wrote programm to addition of two numbers but i didn't get the result.... I don't what is the wrong in my code my code is: include <reg51.h> #include <stdio.h> extern unsigned int getnumber (void); extern void output (unsigned int); void main (void) { …
Hi i am also new to C I think ans may be X=2, Y=8,z=61
movi a ,#2 ; immediately move 2 to accumulator mov b,a ; move accumulator to b Reg mvi a, #4 :immediately move 4 to accumulator add b ; add a & b
Above answer is exactly correct ............ please follow that one...........
hi try this one #include<iostream> using namespace std; class employee { int Id_no,No_days,age; float salary; char first_name[5],depat[5],gen[4],material[6]; public: void capturenewemployee(); void employeedetails(); void searchemployee(); }; void employee :: capturenewemployee(void) { cout << "enter the firstname" << "\n" ; cin >> first_name ; cout << " enter age " << "\n" …
#include<stdio.h> main() { int nu,i; printf("enter the number"); scanf("%d",&nu); for(i=0;i<=nu;i++) { printf("* \t"); } printf("\n"); } ~
int sec_code; printf("enter the sec_code"); scanf("%d",&sec_code); while(sec_ocde < 0 && sec_code > 4 ) { printf("invalid Sec_code \n please enter between 1 to 4 "); }
Hi friends i am new to embedded domain. I would like to learn embedded C ,.. Where i get free books to learn embedded C.......... and whre i get free compilers to execute embedded c programms.......... I am using linux os.............. please help me................. Advance Thanks for helping
The End.
yuvaraj.tr