This site works best with JavaScript enabled
Sign In
Discussions
Activity
Sign In
Previous Results
Introduction to Linux Mint and related Issues
How to remove build kernels in Linux mint
by
komalkashyap673
May 2021
000 Linux System Administration
permalink
Multiple Data Compression and Encryption using Iterative Technique, 120
[priyankagupta@localhost MDCPROJECT]$ ls
Compress.c,v Decompress.c,v exitfunc.c,v headers.h,v main.c mainMenu.c makefile testproject.sh
Compstatics.c,v DecompStatics.c,v headers.h init.c,v main.c,v mainMenu.c,v priy…
by
gupta1996riya
May 2021
001 C Programming, Data Structures
permalink
20.StructuredProgrammingUsingFunctionsAndPointers
rm -f FILE_NAME-f stands for forcefully and it wont give any warning so try to avoid this command if you dont know the exact path or file name.
You can remove the file by using rm FILE_NAME commands but it will ask you if you want to remove this fi…
by
deepak4u106
May 2021
001 C Programming, Data Structures
permalink
20.StructuredProgrammingUsingFunctionsAndPointers
In modular programming file 01directory is copy in file02 directory. I want to remove file 01directory from file 02directory which command is use to remove the file 01directory?
by
gupta1996riya
April 2021
001 C Programming, Data Structures
permalink
02.03.Character Device Registration Initialization
Character Device Registration & Initialization :1 : Register Device : Registering the new device means provide major no. to it .The major number is provided by kernel. There are basically two way of registering the new device to the system a.)St…
by
jyotipandey9813
April 2021
005 Character Device Drivers Development
permalink
02.03.Character Device Registration Initialization
CHARACTER DEVICE INITIALISATION ALGORITHM:
1. Registering the device driver.We generally register the device driver with device table in two methods:
a. register_chrdev( )This method was an old method and used till kernel 2.6.x. The arguments pass…
by
ayushhatwal7
April 2021
005 Character Device Drivers Development
permalink
01.Introduction To Linux
Yum Package Manager has been replaced by DNF Package Manager since many long-standing issues in Yum remain unresolved. Yum is a front-end tool for rpm that manages dependencies and repositories and then uses RPM to install, download and remove packa…
by
ritde1
April 2021
000 Linux System Administration
permalink
work on character device driver
RCS file: clean.c,vWorking file: clean.chead: 1.7branch:locks: strict root: 1.7access list:symbolic names:keyword substitution: kvtotal revisions: 7; selected revisions: 7description:This is the module cleanup func'nIt will be executed while re…
by
ritde1
April 2021
005 Character Device Drivers Development
permalink
Introduction to C programming
Build process in C program
There are mainly 4 steps in which the full build proccess occurs in the C program.
1. Pre-processor
2. Compiler
3. Assembly
4. Linking
1. Pre-processor
It include header file code in the source file.
a) It takes …
by
deepak4u106
March 2021
001 C Programming, Data Structures
permalink
Character Device Driver from Scratch
@adarshkr55yum install openssl-devel
above command will work.
If openssl of lowaer version is already installd. Then you may also find this error. Check first openssl version on your system. If you have openssl of lowaer version then remove it fi…
by
rahul
March 2021
005 Character Device Drivers Development
permalink
Introduction to C programming
16).Remove ( from main
function -
#include
int main(
{
printf(“hello
world \n”);
return 0 ;
}
Compiler Error :-
hello.c:2:9: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘)’ token
2 | int main)
…
by
tech.vijaykr
March 2021
001 C Programming, Data Structures
permalink
Introduction to C programming
11).Remove > from
Library function-#include character
1 |
#include
by
tech.vijaykr
March 2021
001 C Programming, Data Structures
permalink
Introduction to C programming
7).
Remove } in main
function-
#include
int main()
{
printf(“hello
world \n”);
return 0;
Compiler error -
hello.c: In function
‘main’:
hello.c:5:3: error:
expected declaration or statement at end of in…
by
tech.vijaykr
March 2021
001 C Programming, Data Structures
permalink
Introduction to C programming
Compiler error -
hello.c:1:9: fatal
error: stdioh: No such file or directory
1 |
#include
|
^~~~~~~~
compilation
terminated.
5).
Remove #from
preprocessor directive -
include
int main()
…
by
tech.vijaykr
March 2021
001 C Programming, Data Structures
permalink
Introduction to C programming
3).Remove () from main
function -
#include
int main{printf(“hello
world \n”);
return 0;
}
Compiler error -
hello.c:3:1: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘{’ token
3 | {
| ^
4).
Remove . f…
by
tech.vijaykr
March 2021
001 C Programming, Data Structures
permalink
Introduction to C programming
Find 20 compile error from above program.
1.
Removed semicolon
from return statement : -
#include
int main()
{
printf(“hello
world \n”);
return 0
}
Compiler error -
: In function
‘main’:
hello.c…
by
tech.vijaykr
March 2021
001 C Programming, Data Structures
permalink
02. gcc Compiler Errors
Error
17:-
Remove
‘ ’
[priyankagupta@localhost
~]$ vim hello.c
[priyankagupta@localhost
~]$ gcc hello.c
hello.c:3:1:
error: expected declaration specifiers or ‘...’ before ‘{’
token
3
| {
|
^
p { margin-botto…
by
gupta1996riya
January 2021
001 C Programming, Data Structures
permalink
02. gcc Compiler Errors
No
Error
15:-(After
removing printf program is compile and also given output why?)
[priyankagupta@localhost
~]$ vim hello.c
[priyankagupta@localhost
~]$ gcc hello.c
[priyankagupta@localhost
~]$ ls
a.out
Documents hello.c Musi…
by
gupta1996riya
January 2021
001 C Programming, Data Structures
permalink
02. gcc Compiler Errors
No
Error
14:-
Remove
return 0;
[priyankagupta@localhost
~]$ vim hello.c
[priyankagupta@localhost
~]$ gcc hello.c
[priyankagupta@localhost
~]$ ls
a.out
Documents hello.c Music priyanka Templates
Desktop
Downloads i…
by
gupta1996riya
January 2021
001 C Programming, Data Structures
permalink
02. gcc Compiler Errors
Error
13:-
Remove
semicolon
[priyankagupta@localhost
~]$ vim hello.c
[priyankagupta@localhost
~]$ gcc hello.c
hello.c:
In function ‘main’:
hello.c:4:24:
error: expected ‘;’ before ‘return’
4
| printf("Hello word\n&qu…
by
gupta1996riya
January 2021
001 C Programming, Data Structures
permalink
Powered by
Vanilla
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership