hi dear friends ..........
i need to creat a program to draw a circle in c++ langauge using link list algorithem..........
please any body help me....
hi dear friends ..........
i need to creat a program to draw a circle in c++ langauge using link list algorithem..........
please any body help me....
Asslam-O-Alaikum
How are you. I hope that you will be fine with the grace of ALLAH ALMIGHTY. May you always enjoys a good and fine health (Aamin).
Ahmad aap apna problem sahi tareeqy sy explain karein. Aap ka problem sahi tareeqy sy samjh nhn aaya. Kyoun k aap kehtay hain k aap ny Circle Draw krna hy Link List Algorithm use krty huey.
Link List tou ek Data Structure hy jou k aap ka data store krny k kaam aata hy jaisay k Array hy.
Tou aap apna probelm sahi tareeqy sy likh kr send karein. INSHA ALLAH main aap ko solution bata doon ga.
ALLAH HAFIZ.
Yaar bhai jaan problem to sahe hai aur tarka bhe sahe hai. Ek baat batao k aap turbo c++ ka 6.0 version use kr rahay ho na?
hi friends i need help in file handling in c++... if any body know then please help me.. i need he way to store data in a file and then to search data in the created file.. tell me the best and easy way in c++.
hi dear i can help u but after 3 days bcoz i m busy in my papers
in short to open and close a file follow these steps
#include<iostream.h>
#include<conio.h>
#include<stdio.h>
#include<fstream.h>
void main()
{
clrscr();
// making variables for file read and write
ofstream outfile; // file to write in
// setting path of file and name of file & opening the file
outfile.open("filename.txt");
// now u can write to the file through outfile.put(char);
// like this
outfile.put(ch);
hope u could understand
dont forget to close the file at the end by outfile.close();
::sallam::
dear thanx for help
hope k ap k exams ache huay
well meri taraf se best wishes for rezlt
i have a problem in reading the file. my program code can only read the last record in the file..
to ap bata sakte hain k me is k liay kia karun..
mene file reading k liay jo statements use ki hain vo ye hain
file.open("sahil.txt");
file.read(reinterpret_cast<char*>(&objectname), sizeof(classname));
please help me out dear
#include<conio.h>
#include<stdio.h>
#include<graphics.h>
void main()
{
int a,b;
a=DETECT;
initgraph(&a,&b,"c:\\tc\\bgi");
rectangle(250,90,350,300);
rectangle(255,110,345,205);
rectangle(250,90,350,210);
rectangle(250,210,285,240);
rectangle(285,210,315,240);
rectangle(315,210,350,240);
rectangle(250,240,260,270);
rectangle(250,270,260,300);
rectangle(340,240,350,270);
rectangle(340,270,350,300);
line(287,240,287,300);
line(313,240,313,300);
line(250,225,285,225);
line(315,225,350,225);
line(260,255,340,255);
line(260,270,340,270);
line(260,285,340,285);
rectangle(330,95,340,105);
circle(335,100,3);
rectangle(260,97,265,103);
setcolor(2);
circle(300,225,6);
setfillstyle(1,2);
floodfill(301,226,2);
rectangle(295,100,305,105);
rectangle(255,110,345,205);
getch();
}
Nice jnab
Great
your thread is very nice, thanks 4 sharing with us!
#include<constream.h>
main()
{
cout<<"Yaro Mujhe Help Ki Zarorat hai";
cout<<endl<<"Koi Bhai madad karna chai ga";
getch();
}
great
Bookmarks