yeah, i give up, i emailed the dba
Type: Posts; User: mhenderson
yeah, i give up, i emailed the dba
No had a much larger program and received the same error, so then I wrote this simple sample and that didn't work either.....
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...
ksh: g++.exe: command not found
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...
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?
Hi all,
Trying to compile a simple c++ program: sparc - sun - solaris2.8
#include<iostream>
#include<string>
using namespace std;
tytytytytytyty..
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...
thanks, I just wanted to make sure...
lol I'm not suite sure what I'm doing either :)
thanks for all your help!!
Is there no equivalent to the substr function in c++ in c???
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...
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...
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 :))))
Wow, I had that all wrong....
thank you so much!!
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:
...
should I be using fgetpos and fsetpos instead?
Thanks in advance !
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...
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...
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
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!
char getCampusId(char lineOfText[])
{
char campusId[8] ;
int i=0;
while(lineOfText[i] != ',')
{
printf("%c\n",lineOfText[i]);
...
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...