Search:

Type: Posts; User: aditya_t90

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    1,365

    Maybe Borland c++ 5.02 on vista must be the...

    Maybe Borland c++ 5.02 on vista must be the issue.
    @rags_to_riches Are you sure that it counts the number of lines and the number of words?

    If thats the case then can someone suggest a good...
  2. Replies
    10
    Views
    1,365

    Writing to the file works perfectly.;) the file...

    Writing to the file works perfectly.;)
    the file is not read only.
    I checked and double checked`
    Its only reading the total number of words in the whole file that does not work:(
  3. Replies
    10
    Views
    1,365

    The problem is that only the last entered line...

    The problem is that only the last entered line words are counted.
    The other words are not counted


    #include<iostream>
    #include<fstream>
    #include<conio.h>
    void main()
    {
    char text[50];
  4. Replies
    10
    Views
    1,365

    Someone please help me out. I have to submit...

    Someone please help me out.
    I have to submit this tomorow.

    *BUMP*
  5. Replies
    10
    Views
    1,365

    I did check to see what happens. The file is...

    I did check to see what happens.
    The file is being opened.

    When i run it without the input text part(i.e. I comment it), the output is


    Display all records
    All the text from
    the file.
  6. Replies
    10
    Views
    1,365

    Need Help with reading file

    OK before anyone says that this is homework, let me say that this is homework.
    I understand the question and have even written the code.
    The question is.
    Write A Program to write to a file, read...
  7. Replies
    10
    Views
    1,206

    Thanks everyone. Vart could you please elaborate...

    Thanks everyone.
    Vart could you please elaborate on...



    what is pArr?
    is is a variable name or something or is is a keyword?

    Thanks
  8. Replies
    10
    Views
    1,206

    Yes "this" is a keyword in some languages like...

    Yes "this" is a keyword in some languages like ecmascript+html
    I removed the word "this" with something else.
    I seem to have finally got the program right.
    Anyone will check if this conforms to...
  9. Replies
    10
    Views
    1,206

    And how may I do that?

    And how may I do that?
  10. Replies
    10
    Views
    1,206

    Just check this if I am right please.

    #include <stdio.h>
    #include <conio.h>
    struct emp
    {
    char name[25];
    int age;
    int salary;
    };
    void fn1(char*,int,int);
    void main()
  11. Replies
    4
    Views
    55,959

    Yes I have never passed an array to a function :p...

    Yes I have never passed an array to a function :p

    Anyway thanks for all the help
  12. Replies
    4
    Views
    55,959

    Pass struct array to function

    How am I to pass an array struct to another function?
    Can someone give me an example.
    I do not want a ready-made program. Just some help.
    I do not really follow how to pass an array structure to a...
  13. Replies
    5
    Views
    1,772

    Yes, but it still does not indent

    Yes, but it still does not indent
  14. Replies
    5
    Views
    1,772

    I was working in Borland C++ They have no...

    I was working in Borland C++
    They have no indentation.
    Was tooo lazy to make everything indented.


    Anyways thanks,

    Man I cannot imagine that I did not see the obvious LOL

    Thanks a million
  15. Replies
    5
    Views
    1,772

    C Assignment help

    The output must be

    1
    01
    101
    0101
    10101

    If someone could point me in the right direction...
    I tried this but the result goes wrong at the third line and fourth line
Results 1 to 15 of 15