User Profile

Collapse

Profile Sidebar

Collapse
mohsin
mohsin
Last Activity: Oct 18 '07, 09:21 PM
Joined: Nov 19 '06
Location: pakistan
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • mohsin
    replied to Producing Sound wit C++
    in C
    if u r using turbo c++ compiler then y dont u use
    # include <dos.h>
    void main ()
    {
    sound (7);
    delay (1000);
    nosound();
    }
    i dont know if ur PC emit 7 hz frequency...
    See more | Go to post

    Leave a comment:


  • mohsin
    replied to Formatting output text file
    in C
    look all u need to so is to write
    outfile<<endl;
    after cout<<endl;


    given below
    for (d1 = 0; d1 <= 9; d1++)
    {
    for (d2 = 0; d2 <= 9; d2++)
    {
    cout << setw(5) << firstArray[(d1 * 10) + d2];//write to screen
    outfile << setw(4) << firstArray[(d1 * 10) + d2];//write to file
    }//close nested for
    ...
    See more | Go to post

    Leave a comment:


  • mohsin
    replied to what are void,null and dangling pointers?
    in C
    yes thats right "a pointer which does not point to anything is called null pointer"
    secondly if more than one pointer pointing to one memory location and you delete one of these pointers then other pointing pointing to a memory which does not exist.this is called dangling pointer...
    See more | Go to post

    Leave a comment:


  • mohsin
    replied to Linked lists vs. arrays in C++
    in C
    i have different opinion from gnanapoongothai size of arrays can be increased or decreased through pointers (ie dynamic array)
    phiefer3 is right that major difference between array and link list is accessibility of array and link list
    another thing you have to make alink between previous and next index of link list while in case of arrays no such process...
    See more | Go to post

    Leave a comment:


  • mohsin
    replied to Open file fopen() and print values
    in C
    yes u can do so in order to open a file
    "r" for read
    for writing you can use "w"
    for reading and writing you can use "w+"...
    See more | Go to post

    Leave a comment:


  • mohsin
    started a topic pointers
    in C

    pointers

    someone knows how to relate pointers and multidimension array
    See more | Go to post

  • mohsin
    started a topic Difference between bollean lgebra and calculus
    in C

    Difference between bollean lgebra and calculus

    Can Anyone Tell Me That What Is The Relation Between Bollean Algebra Or Binary Digits And Calculus Help Me Plzzzz
    See more | Go to post

  • mohsin
    started a topic delay
    in C

    delay

    hi
    can anyone plz tell me that DELAY ( ) function is in which header file plz
    thanx
    See more | Go to post

  • mohsin
    started a topic Gotoxy
    in C

    Gotoxy

    hi
    can anyone tell me the name of the header file for gotoxy function in visual c++
    i know k turbo c main iss ki header file dos.h hootee hai but i dontknow in vc++
    See more | Go to post

  • mohsin
    replied to Syntax Problems
    in C
    also
    in every case youy terminate the statement with } rather than ;
    you must have to use ; before } remove these error it will work
    inshaallah
    See more | Go to post

    Leave a comment:


  • mohsin
    replied to Syntax Problems
    in C
    HI
    well paranthieses of main function is missing '}'
    after when you return 0 to maion function
    See more | Go to post

    Leave a comment:


  • mohsin
    replied to C++ Output
    in C
    hi
    well would u like to tell me that what do u want from this code i mean i m still doubtfull about your code
    thanks
    See more | Go to post

    Leave a comment:


  • mohsin
    started a topic pre increment and post increment please help me out
    in C

    pre increment and post increment please help me out

    hi everyone well i m little bit confused about the use of pre an post increment infact my thinking contradict with the logic of programe
    lets consider an example
    x=5;
    y=x++;
    z=x;
    after the execution of these statments value of y will b 5 while value of z will be 6
    WHY?
    value of x++ and x=x+1is equal it first assign a value of x to y then increment in x. why?
    expression on the right must be...
    See more | Go to post

  • mohsin
    replied to building an exe file for a c++ program.
    in C
    HI would u like to tell me the name of editor u r using....
    See more | Go to post

    Leave a comment:


  • mohsin
    replied to function to reformat a text (get rid of spaces)
    in C
    well i can help you just give some xplzination about ur programe or xample and what do u mean about deblank do u want to remove a printed word during execution reply i will check tomorrow...
    See more | Go to post

    Leave a comment:


  • mohsin
    started a topic Help Crazy
    in C

    Help Crazy

    i m begginer here i dont know how to post a question or how to answer a question plz help me.
    See more | Go to post
No activity results to display
Show More
Working...