Page 1 of 2 12 LastLast
Results 1 to 12 of 13

Thread: c++ help needed

  1. #1
    ahmad_IT is offline Senior Member+
    Last Online
    10th July 2011 @ 10:52 PM
    Join Date
    05 Apr 2009
    Posts
    36
    Threads
    8
    Credits
    0
    Thanked
    0

    Default c++ help needed



    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....


  2. #2
    Imran Latif Mcs is offline Junior Member
    Last Online
    5th August 2009 @ 07:54 AM
    Join Date
    06 May 2009
    Age
    37
    Posts
    3
    Threads
    1
    Credits
    726
    Thanked
    0

    Default

    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.

  3. #3
    asnmsn is offline Junior Member
    Last Online
    21st December 2009 @ 01:33 PM
    Join Date
    06 May 2009
    Age
    36
    Posts
    28
    Threads
    1
    Credits
    0
    Thanked
    0

    Default

    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?

  4. #4
    sahil_cu is offline Junior Member
    Last Online
    25th April 2011 @ 11:25 PM
    Join Date
    25 May 2009
    Age
    38
    Posts
    15
    Threads
    1
    Credits
    960
    Thanked: 1

    Default

    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++.

  5. #5
    vicky28 is offline Junior Member
    Last Online
    21st June 2010 @ 12:17 PM
    Join Date
    08 Jun 2009
    Posts
    17
    Threads
    3
    Credits
    822
    Thanked
    0

    Default

    Quote sahil_cu said: View Post
    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();

  6. #6
    vicky28 is offline Junior Member
    Last Online
    21st June 2010 @ 12:17 PM
    Join Date
    08 Jun 2009
    Posts
    17
    Threads
    3
    Credits
    822
    Thanked
    0

    Default

    Quote Imran Latif Mcs said: View Post
    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.

    dear circle draw graphics mode may hota hy aur link list 1 data structure hy jiss may ap data store kar saktay hoo yeh koi algo nai hy

  7. #7
    sahil_cu is offline Junior Member
    Last Online
    25th April 2011 @ 11:25 PM
    Join Date
    25 May 2009
    Age
    38
    Posts
    15
    Threads
    1
    Credits
    960
    Thanked: 1

    Default

    ::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

  8. #8
    BSCS is offline Junior Member
    Last Online
    5th April 2012 @ 11:22 AM
    Join Date
    01 Jul 2009
    Age
    34
    Posts
    15
    Threads
    3
    Credits
    0
    Thanked
    0

    Default

    #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();
    }

  9. #9
    Join Date
    11 Jul 2008
    Location
    Faisalabad
    Age
    34
    Gender
    Male
    Posts
    369
    Threads
    38
    Credits
    945
    Thanked
    0

    Default

    Nice jnab

  10. #10
    Ganxtr's Avatar
    Ganxtr is offline Advance Member
    Last Online
    5th July 2019 @ 09:15 AM
    Join Date
    15 Nov 2009
    Location
    CRIME CITY
    Posts
    1,740
    Threads
    18
    Credits
    83
    Thanked
    100

    Default

    Great
    your thread is very nice, thanks 4 sharing with us!

  11. #11
    Naeem Akbar is offline Senior Member+
    Last Online
    19th May 2012 @ 08:51 PM
    Join Date
    20 Dec 2009
    Age
    34
    Posts
    64
    Threads
    11
    Credits
    0
    Thanked
    0

    Default

    #include<constream.h>
    main()
    {
    cout<<"Yaro Mujhe Help Ki Zarorat hai";
    cout<<endl<<"Koi Bhai madad karna chai ga";
    getch();
    }

  12. #12
    *Tamraiz*'s Avatar
    *Tamraiz* is offline Advance Member+
    Last Online
    29th August 2022 @ 08:08 AM
    Join Date
    26 Nov 2010
    Location
    Sialkot
    Gender
    Male
    Posts
    16,583
    Threads
    1051
    Credits
    1,207
    Thanked
    1738

    Default

    great

Page 1 of 2 12 LastLast

Similar Threads

  1. help needed
    By wasifazhar in forum Ask an Expert
    Replies: 2
    Last Post: 14th February 2014, 03:33 PM
  2. HELP NEEDED (FROM DESIGNERS) , Broucher Template Needed
    By SarangKhan in forum Ask an Expert
    Replies: 0
    Last Post: 10th July 2013, 07:59 AM
  3. Answered help needed
    By junaid90 in forum Mobile phones problems and Help Zone
    Replies: 1
    Last Post: 11th July 2011, 12:46 AM
  4. help needed
    By mudassirjaved in forum Ask an Expert
    Replies: 9
    Last Post: 23rd February 2010, 01:27 PM
  5. Help Needed
    By Danish Aslam in forum Ask an Expert
    Replies: 6
    Last Post: 5th June 2009, 06:51 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •