Search:

Type: Posts; User: mhenderson

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    2,099

    yeah, i give up, i emailed the dba

    yeah, i give up, i emailed the dba
  2. Replies
    11
    Views
    2,099

    No had a much larger program and received the...

    No had a much larger program and received the same error, so then I wrote this simple sample and that didn't work either.....
  3. Replies
    11
    Views
    2,099

    Thanks for your help, not sure what u mean about...

    Thanks for your help, not sure what u mean about calling, this is our work server I'm sure if they changed something they would let us know, can't I copy these missing libraries somewhere, or find...
  4. Replies
    11
    Views
    2,099

    ksh: g++.exe: command not found

    ksh: g++.exe: command not found
  5. Replies
    11
    Views
    2,099

    really strange, its driving me nutz! I did try...

    really strange, its driving me nutz!
    I did try to compile :
    gcc -Wall test.cc
    gcc -o test test.cc
    g++ -Wall test.cc
    g++ -o test test.cc

    Not sure what u mean about the linking? Where would...
  6. Replies
    11
    Views
    2,099

    No, I directly log into our unix server and from...

    No, I directly log into our unix server and from the command line, I used to be able to compile c++ programs. Now I am receiving the error, like I am not including my libraries?
  7. Replies
    11
    Views
    2,099

    Missing library?

    Hi all,
    Trying to compile a simple c++ program: sparc - sun - solaris2.8



    #include<iostream>
    #include<string>

    using namespace std;
  8. Thread: string help

    by mhenderson
    Replies
    3
    Views
    879

    tytytytytytyty..

    tytytytytytyty..
  9. Thread: string help

    by mhenderson
    Replies
    3
    Views
    879

    string help

    Hello all,

    I am taking a line of text (lineOfText) and trying to insert and email address at a specific location (locationFound). I make a copy of the line of text, add the email address and...
  10. Replies
    4
    Views
    1,189

    thanks, I just wanted to make sure... lol I'm...

    thanks, I just wanted to make sure...

    lol I'm not suite sure what I'm doing either :)

    thanks for all your help!!
  11. Thread: Substr

    by mhenderson
    Replies
    4
    Views
    12,490

    Substr

    Is there no equivalent to the substr function in c++ in c???
  12. Replies
    4
    Views
    1,189

    That was my original idea...I ran into some...

    That was my original idea...I ran into some trouble with that,

    User Salem suggested:

    In-place edits on text files isn't really the thing to do.

    Read a line from the input file
    Modify the...
  13. Replies
    10
    Views
    1,259

    yes, this sounds much better, if I use write...

    yes, this sounds much better, if I use write ,will it just write an entire line over current line?

    How do I go to the next line, and the next, etc.

    Thanks again...I've been looking at this too...
  14. Replies
    10
    Views
    1,259

    One more question :) Once I've written that...

    One more question :)

    Once I've written that email address, is there an easy way to skip to the beginning of the next line ?

    thanks in advance :))))
  15. Replies
    10
    Views
    1,259

    Wow, I had that all wrong.... thank you so...

    Wow, I had that all wrong....

    thank you so much!!
  16. Replies
    10
    Views
    1,259

    sorry for that confusion, that's what I meant...

    sorry for that confusion,

    that's what I meant by e_loc being set to 98 above, i just didn't want to copy in my parseGorseveRecord function. But I test the value of e_loc here:

    ...
  17. Replies
    10
    Views
    1,259

    should I be using fgetpos and fsetpos instead? ...

    should I be using fgetpos and fsetpos instead?

    Thanks in advance !
  18. Replies
    10
    Views
    1,259

    fseek - need some info please

    I have read the boards, and It seems I am doing this right, but I am receiving garbage in my file:

    I want to open a file, move to the 98th byte and write an email address:


    define...
  19. Replies
    4
    Views
    1,189

    Question regarding File I/O

    Hello all,

    What I would like to do is read from a file, one line at a time. I parse through each line to find the byte position that I need to enter text into.

    My question is:

    Would it be...
  20. Replies
    7
    Views
    1,591

    FYI : for anyone else with this problem, The...

    FYI : for anyone else with this problem,

    The code below takes this line:

    "campusId","Adm_Id",DepartmentOwnerId

    And outputs this:

    Word: campusId
    Word: Adm_Id
  21. Replies
    7
    Views
    1,591

    ahhhh...I think what I'm looking for is token,...

    ahhhh...I think what I'm looking for is token, these are all words delimited by commas, so looks like I can pull them out with that, I'll be back if it doesn't work :)

    thanks for the replies!
  22. Replies
    7
    Views
    1,591

    char getCampusId(char lineOfText[]) { ...

    char getCampusId(char lineOfText[])
    {
    char campusId[8] ;
    int i=0;

    while(lineOfText[i] != ',')
    {
    printf("%c\n",lineOfText[i]);
    ...
  23. Replies
    7
    Views
    1,591

    trouble with strings and characters

    Hello All,

    I am not new to this, just rusty...

    I am reading in a line of text from a file.

    I would like to parse through this line until I find the first ',' and take the characters before...
Results 1 to 23 of 23