Search:

Type: Posts; User: sdchem

Search: Search took 0.01 seconds.

  1. Thread: Dev-C++4

    by sdchem
    Replies
    8
    Views
    1,318

    Thanks for all the help Salem. It turned out...

    Thanks for all the help Salem. It turned out that I needed to call the file "datafile.txt" instead of "datafile". This will really help lots of my applications--Best
  2. Thread: Dev-C++4

    by sdchem
    Replies
    8
    Views
    1,318

    getcwd() statement says cwd is file where program...

    getcwd() statement says cwd is file where program executable sits. "datafile" is in same folder but I still get "no such file or directory" when I try to get the data. I did find a forum for...
  3. Thread: Dev-C++4

    by sdchem
    Replies
    8
    Views
    1,318

    Sorry, yes. "No such file or directory".THX

    Sorry, yes. "No such file or directory".THX
  4. Thread: Dev-C++4

    by sdchem
    Replies
    8
    Views
    1,318

    >At the moment, I guess its trying to find the...

    >At the moment, I guess its trying to find the file in the same directory as the executable.

    Got that, but "datafile" is saved in the same folder as my program executable and it can't find it.
  5. Thread: Dev-C++4

    by sdchem
    Replies
    8
    Views
    1,318

    >Follow that with the following call perror(...

    >Follow that with the following call

    perror( "Reason for fault" );


    This gives me back an error at compiling of "implicit declaration of function `int perror(...)'
  6. Thread: Dev-C++4

    by sdchem
    Replies
    8
    Views
    1,318

    Dev-C++4

    Hi. I want to be able to get data from a file into my program so that the program can do work on the data set. I am using devc++4. This program should get data from file "datafile" and print it...
  7. Thread: fstream

    by sdchem
    Replies
    9
    Views
    1,963

    What compiler do you use? The backslash didn't...

    What compiler do you use? The backslash didn't work but thanks.
  8. Thread: fstream

    by sdchem
    Replies
    9
    Views
    1,963

    Don't know. Do you think that I need an...

    Don't know. Do you think that I need an additional #include<> statement?
  9. Thread: install borland

    by sdchem
    Replies
    10
    Views
    3,009

    The "path" in my environmental variables is ...

    The "path" in my environmental variables is
    c:\BORLAND\BCC55\BIN
    but when I type say bcc32 hello.cpp at the command prompt I get
    "bcc32 is not an internal/external command or operable program...
  10. Thread: install borland

    by sdchem
    Replies
    10
    Views
    3,009

    Do you know how to get bcc32 to run from th...

    Do you know how to get bcc32 to run from th command line?
  11. Thread: fstream

    by sdchem
    Replies
    9
    Views
    1,963

    I put the data file in the same folder where the...

    I put the data file in the same folder where the program file is saved, but it just returns (1) with the "Can' open data file." function that is built into the program.
  12. Thread: install borland

    by sdchem
    Replies
    10
    Views
    3,009

    When I pasted the new path into the environment...

    When I pasted the new path into the environment variables, I did paste over the old path. Any ideas what it could have been so that I could replace it by adding with a semicolon?
  13. Thread: fstream

    by sdchem
    Replies
    9
    Views
    1,963

    fstream

    What I'd really like to be able to do is import data from text files into my programs. I am able to do this on Sun terminals at school, but not with Dev-Bloodshed at home. This is an example of a...
  14. Thread: install borland

    by sdchem
    Replies
    10
    Views
    3,009

    install borland

    Hi. I'm trying to run the Borland c++ compiler from my DOS command line, but I keep getting the statement that bcc32 is not recognized as internal/external command or operable program or batch file. ...
  15. Thread: sort data

    by sdchem
    Replies
    7
    Views
    1,539

    I was able to get the sorting to work after...

    I was able to get the sorting to work after rewriting the program from scratch. I think it helped to organize it on paper first. Thanks...
  16. Thread: sort data

    by sdchem
    Replies
    7
    Views
    1,539

    Like I said, the program is able to open up a...

    Like I said, the program is able to open up a text file that contains numerical data and print it as it is in the text file. But the program should then sort the data by value and reprint it. It...
  17. Thread: sort data

    by sdchem
    Replies
    7
    Views
    1,539

    It reads in these data and prints them out. It...

    It reads in these data and prints them out. It then should sort the data by value and then reprint it out sorted. Thanks for sticking to helping me...
  18. Thread: sort data

    by sdchem
    Replies
    7
    Views
    1,539

    file4.dat is a text file that has numbers like...

    file4.dat is a text file that has numbers like
    2002 2006 2001 2005 2009 2010 2015 2103...
    if that helps.
  19. Thread: sort data

    by sdchem
    Replies
    7
    Views
    1,539

    sort data

    Hi. I have written a program to import a data file and print out the data set. The program should then sort the data by value, reprint it and find mean, stdev and create a histogram. The problem...
  20. Thread: adding vectors

    by sdchem
    Replies
    2
    Views
    1,313

    Thanks, that did it. Now I will look through the...

    Thanks, that did it. Now I will look through the program next time I get that error.
  21. Thread: adding vectors

    by sdchem
    Replies
    2
    Views
    1,313

    adding vectors

    Hi. I have written a bit of code to sum the components of vectors F=ai+bj+ck and compiled the code with Devc++4. The compiler keeps giving me parse error at the end of input. It's not the first...
  22. Replies
    3
    Views
    2,172

    parse error before else

    Hi. I am trying to program a short algebra routine to give me the answers to a quadratic function. The compiler says there are "parse errors before 'else'" on lines 35, 41 and 45. Somebody...
Results 1 to 22 of 22