by: Prashanth Badabagni |
last post by:
Hi ,
I'm Prashanth Badabagni .. I have and idea how a program prints
it's own source code ..
void main()
{
FILE *P;
char *file,c;
strcpy(file,__FILE__);
p=fopen(file,"r");
|
by: gg |
last post by:
If somebody asks me to write a program that prints itself ( quine ) can
I write the following program as an answer -
#include <iostream>
#include <fstream>
using namespace std;
int main (...
|
by: Unebrion |
last post by:
Alright im working on a program that prints out user imput in a frame, along with a barcode.. it is like the front of an envelope. Here is the description for the program.
This...
|
by: Frank |
last post by:
My program gets a WM_QUERYENDSESSION message and asks the user if it is OK
to shutdown.
While he's thinking about it, Windows displays a box saying the program is
not responding.
If the user...
|
by: khajeddin |
last post by:
hi :i have to write a program which should print its "source code" for output.how to do this.please make me a example of "source code" and make a definition of "source code".program shouldn't contain...
|
by: Blackout |
last post by:
Hi, I'm new to c and need to write a program that prints the numerical value of eof but the problem is I don't even know what the numerical value of eof is or how im supposed to find it!!! I've...
|
by: destination |
last post by:
I want to know how a C program gets executed. I mean what happens when we compile.
What steps compiler follow for successful execution of a program?
What happens at compile time and run time?...
|
by: miroku800 |
last post by:
the resulting printout looks like this
1,blue,12345678,54
2,red,00001234,6
3,blue,12345678,63
4,blue,12345678,65
5,red,00001234,17
Is there any way to format it into columns and then print it...
|
by: sandeep kaur |
last post by:
how the program gets executed by the c++ compiler?
i mean what steps are follwed by the compiler to execute the program.whic statement is executed first and so on? and suggest me some sites related...
|
by: supraja P |
last post by:
I need to write program to print the frequency of words in that file.
for example i ahve text file with the following string:
"Given a text file name as command line argument, write a program that...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|