seek() and tell()
You don't have to bother with positioning in the file.
The header file for random functions ( like rand(), srand() ) is stdlib.h in C and cstdlib in C++.
You have to include the library into your assembled code by using an #include pre-processing directive. (It is the header file what you include, not the library.)Further, the author of the library functions would have had to set the accessibility of the functions to public.
A header file is used in some languages to declare functions that will be used but are not yet defined in the current source code. This is primarily used by C and C++, and usually for library functions and user-defined functions that are stored in separate files and folders than the main source code file.
Header File in C/C++ are the files which contains the definition of the pre-defined functions, data-types & constants, etc. By adding the header file you reduce your job of defining the same functions which are defined earlier by someone else & you can use those functions/data-types easily.
They are very important. The most commonly used functions are the string and file handling ones.
could you be clear? what kind of functions you are asking? functions available in C, C++, java ? in C you can use mod() function or "%" operator to find the parities.
You can use functions fgets and strtok.
Header files allow a C source file to use functions in other C files or library files. The linker ignores the fact that these functions are not defined in C source code, assuming that they'll be defined somewhere else. "stdlib" offers prototypes for many functions that deal with string conversion, pseudo-random number generation, dynamic memory management, program environment, integer math and other functions not available within the C standard. See the related link below for a list of function prototypes offered by stdlib.h.
When declared as static, the variable has internal linkage and its scope is restricted to the *.c file in which it is declared. It becomes visible to all functions within the file where it is declared and not to functions in other files.
conio.h is a header file used in C and C++ programming, particularly in DOS-based systems. It provides functions for console input and output, such as gotoxy() for cursor positioning and clrscr() for clearing the screen. Although it was widely used in older compilers like Turbo C++, it is not part of the standard C library and is largely considered obsolete in modern programming environments.
Search for a file, or search in a file?The former is OS-dependent, for Windows use functions FindFirstFile and FindNextFile.